Agent Versioning - Drafts

Publish a draft

Publish a draft as a new versioned release. Optionally activate it immediately.

post/agent/{id}/drafts/{draftId}/publish

Path parameters

idstring required
Example:60d0fe4f5311236168a109ca

The agent ID

draftIdstring required

The draft ID

Request body

labelstring nullable

Label for the published version

descriptionstring nullable

Description of the published version

activateboolean

Whether to immediately activate the version after publishing

Response

Draft published as a new version

statusboolean

Example response

{
  "status": true
}

Changes