Skip to main content
POST
Queue an agent publish
Requires agent:publish. Send the current staging version, a stable operationKey, and confirmation: "publish_to_production" only after the user explicitly approves that exact version. Hobbes runs the existing conversation tests before changing production and returns 202 Accepted with a job to poll.

Authorizations

Authorization
string
header
required

Hobbes API key with the hb_live_ prefix.

Body

application/json
version
integer
required
Required range: x >= 1
operationKey
string
required
Required string length: 1 - 255
confirmation
string
required
Allowed value: "publish_to_production"

Response

Successful Response

jobId
string<uuid>
required
status
enum<string>
required
Available options:
queued,
running,
succeeded,
failed
requestedVersion
integer
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
errorCode
string | null
errorMessage
string | null
completedAt
string<date-time> | null