Skip to main content
POST
Promote an agent prompt version

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Identifier of the agent to promote a version for.

vid
string
required

Identifier of the version to make live.

Body

application/json
confirm
boolean
default:false

Records whether the operator confirmed the promotion in the UI diff dialog.

note
string

Optional note describing why the version was promoted.

Maximum string length: 1000

Response

200 - application/json

The version was promoted and a new live version minted.

data
object
meta
object