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
id
Request
This endpoint expects an object.
notes
Optional changelog note recorded on the published version.
Response
The newly published flow version.
id
Flow version id. A raw UUID, not a prefixed external id.
agent_id
version
Monotonic revision number within the agent.
is_active
is_draft
parent_version_id
name
notes
published_by
published_at
updated_at
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error