Publish an agent
Publishing
Publish an agent
Snapshot the agent’s current runtime fields into published_config,
flip status to published, and set the visibility (default public).
POST
Publish an agent
Authorizations
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
Maximum string length:
64Body
application/json
Rotate (regenerate) an agent API key secretDiscard draft changes and revert to the published snapshot