Agent Versioning - Drafts

Create a draft

Create a new draft from an existing published version or another draft. Exactly one of sourceVersionId or sourceDraftId is required.

post/agent/{id}/drafts

Path parameters

idstring required
Example:60d0fe4f5311236168a109ca

The agent ID

Request body

sourceVersionIdstring

ID of a published version to branch from

sourceDraftIdstring

ID of an existing draft to branch from

draftNamestring

Optional name for the draft

Response

Draft created successfully

statusboolean

Example response

{
  "status": true
}

Changes