Agent Versioning - Branches
Write to draft
Upsert the open draft on this branch. If no draft is open, one is created automatically. The request body is an agent config partial in the same camelCase shape as GET /agent/{id} (globalPrompt, firstMessage, synthesizer, language, voiceDetectionConfig, smartTurnConfig, ...) and must contain at least one recognized field; the server merges it into the existing draft and returns the resulting draft as a revision-shaped snapshot.
put/agent/{id}/branches/{branchId}/draft
Path parameters
idstring required
The agent ID.
branchIdstring required
The branch ID.
Request body
Response
Draft updated.
Example response
{
"status": true
}