Перейти к содержимому
Experience revisions

Список своих неизменяемых ревизий, новые первыми

GET
/experiences/{experience_id}/revisions

Авторизация

cookie__Secure-avatarstudio.session_token<token>

Авторизованная сессия Студии. Каждая операция проверяет права на ресурс и роль пользователя.

Параметры пути

experience_idобязательноstring
Шаблон^exp_[1-9]\d{0,9}$

Параметры запроса

afterstring
Шаблон^rev_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
limitinteger
Диапазон1 <= value <= 100
По умолчанию20
Список своих неизменяемых ревизий, новые первыми
curl -X GET 'https://example.com/v1/experiences/string/revisions'
{
  "object": "list",
  "data": [
    {
      "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
    }
  ],
  "has_more": true,
  "first_id": "string",
  "last_id": "string"
}

Тело ответа

Успешно

application/json
  1. response
objectобязательноunknown
dataобязательноarray<>
has_moreобязательноboolean
first_idобязательно|null
last_idобязательно|null