Agent Versioning - Drafts
Create a draft
Deprecated on the v2 branch model. Migrate to PUT /agent/{id}/branches/{branchId}/draft. When ENABLE_BRANCH_MODEL is on, this endpoint returns 409 versioning_v2_migration_required with the Deprecation: true header. See the migration guide.
Create a new draft from an existing published version or another draft. At least one of sourceVersionId or sourceDraftId is required (both may be sent simultaneously).
post/agent/{id}/drafts
Path parameters
idstring required
The agent ID.
Request body
Response
Draft created successfully
Example response
{
"status": true
}