Skip to main content
GET
Get publish status
Use the poll_url that Publish an agent returned, as it is. Call it every few seconds and decide on status: When a publish fails, error gives a short reason. Decide on status, not on its wording, but read it before you try again:
  • A knowledge base linked to the agent is being deleted or no longer exists. The message doesn’t say which one, so check the agent’s knowledge base in Studio and remove it from the agent before you publish again.
  • The live version changed while the publish was running. Someone made another version live in Studio. Check Get live version and the draft before you publish again, because a publish puts the whole draft live over their choice.
  • Anything else. Publish again.
A publish that makes no progress for about 15 minutes is ended and reads failed, so you can stop polling then.

Authorizations

X-API-Key
string
header
required

An API key from Manage → API Keys in Studio. See Authentication.

Path Parameters

assistantId
string<uuid>
required

The agent's ID. Open the agent in Studio and select Copy ID in its header.

jobId
string<uuid>
required

The job_id returned when you started the publish.

Response

Where the publish is.

success
boolean
required
data
object
required