Skip to main content
POST
Publish agent

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Path Parameters

id
string
required
Example:

"6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10"

Response

The new immutable version, copied from the draft

version
object

The published version. version_number is 1 higher than the last publish, and prompt-block references are now pinned to the block versions live at this moment. Publishing does NOT activate it — POST /v1/agents/{id}/activate does.