Experience revisions
Capture an immutable revision of the draft you own
POST
cookie
__Secure-avatarstudio.session_token<token>An authenticated Studio session. Each operation enforces its resource and role permissions.
experience_idrequiredstringif-matchrequiredstringOne strong ETag from the latest read of this resource or publication collection. Weak validators, wildcard and tag lists are not supported.
Capture an immutable revision of the draft you own
curl -X POST 'https://example.com/v1/experiences/string/revisions' \
-H 'if-match: string' \
-H 'Content-Type: application/json' \
-d '{}'{
"id": "string",
"object": "experience.revision",
"experience_id": "string",
"source_revision": 0,
"document": {
"schemaVersion": 1,
"title": "string",
"summary": "",
"domain": "sales",
"domainPackId": "core.ru.v1",
"locale": "ru-RU",
"instructions": "string",
"variables": [
{
"name": "string",
"value": "string"
}
],
"welcomeMessage": {
"enabled": true,
"allowInterruptions": true
},
"callEnding": {
"enabled": false,
"conditions": "",
"finalResponse": "Поблагодари пользователя за разговор и попрощайся.",
"deleteRoom": false,
"endpointUrl": "",
"headers": [],
"summary": {
"enabled": false,
"instructions": "",
"providerId": "gemini",
"modelId": "string"
}
},
"character": {
"displayName": "string",
"role": "",
"background": "",
"personality": [],
"speakingStyle": "",
"greeting": "",
"values": [
"string"
],
"stance": "string",
"avatarId": "string"
},
"scenario": {
"title": "",
"participantRole": "",
"context": "",
"goals": [],
"stages": [],
"guardrails": [],
"completionCriteria": []
},
"knowledge": {
"facts": [],
"provider": "none"
},
"tools": {
"version": 2,
"source": "string",
"functionDeclarations": [],
"httpTools": [],
"mcpServers": []
},
"runtime": {
"voiceId": "",
"voiceLanguage": "ru-RU",
"environmentPresetId": ""
},
"provenance": {
"type": "blank"
},
"extensions": {
"property1": "string",
"property2": "string"
}
},
"created_at": -9007199254740991
}OK
idrequiredstringobjectrequiredunknownexperience_idrequiredstringsource_revisionrequiredintegerdocumentrequiredcreated_atrequiredinteger