Create a draft
Create a new draft from an existing published version or another draft. Exactly one of sourceVersionId or sourceDraftId is required.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Path parameters
id
The agent ID
Request
This endpoint expects an object.
sourceVersionId
ID of a published version to branch from
sourceDraftId
ID of an existing draft to branch from
draftName
Optional name for the draft
Response
Draft created successfully
status
data
Represents either a draft revision or a published version of an agent's configuration.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error

