Publish Agent Flow

Publish the agent's draft graph as a new active flow version.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired

Request

This endpoint expects an object.
notesstringOptional
Optional changelog note recorded on the published version.

Response

The newly published flow version.
idstring
Flow version id. A raw UUID, not a prefixed external id.
agent_idstring
versioninteger
Monotonic revision number within the agent.
is_activeboolean
is_draftboolean
parent_version_idstring or null
namestring
notesstring
published_bystring
published_atdatetime or null
updated_atdatetime

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error