Skip to main content

Publish the latest saved agent spec

POST 

https://platform.docana.com/api/v1/agents/:agentId/publish/

Promotes the most recently saved spec artifact to be the published version. Accepts an optional JSON body { name?, description? } with version metadata. Idempotent: republishing the already-live version answers alreadyPublished: true.

Request

Responses

The published (or already published) version