Коммуникации · Чтение
Голос · Агенты · Результат операции «подключения»
voice_agent_get_connection_result
Попробуйте три запроса
Получить данные
- Вы указываетеAgentid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Голос / Агенты / Результат операции «подключения»» выполни чтение по выбранной записи (agentId). Выведи кратко: статус, результат.
- status
- Статус
- result
- Результат
После обрыва
- Вы указываетеПервоначальный ключ
- ПомощникПоиск квитанции
- Вы получаетеСостояние операции
Запрос в чат
Найди результат «Голос / Агенты / Результат операции «подключения»» по ключу первоначальной попытки. Покажи состояние операции и раздели подтверждённые и пока неизвестные данные.
- 1
- Взять исходный ключ
- 2
- Проверить квитанцию
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Голос / Агенты / Результат операции «подключения»» объясни статус, результат. Отметь отсутствующие значения.
- status
- Статус
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Для поиска результата возьмите идентификатор из первоначальной попытки. Сохраните исходные аргументы. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Read the immutable result of voice_agent_set_connection using its exact original request and arguments. Does not repeat provider checks or changes.
Параметры запроса
- agentId
- Existing company voice agent document ID. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · string
- values
- Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- status
- Whether the exact request has a committed receipt. обязательно по схеме · string · варианты committed, not_recorded
- result
- Saved result when committed; otherwise null. обязательно по схеме · object / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"agentId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Existing company voice agent document ID."
},
"expectedRevision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact revision returned by the most recent voice agent read."
},
"values": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether the saved voice agent is enabled."
},
"voiceId": {
"type": "string",
"pattern": "^[A-Za-z0-9]{10,64}$",
"description": "Verified platform-library voice ID."
},
"fromNumber": {
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$",
"description": "Company source telephone in E.164 format."
}
},
"additionalProperties": false,
"description": "Connection fields to change; omitted fields remain unchanged."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable unique request ID; reuse only with identical arguments."
}
},
"required": [
"agentId",
"expectedRevision",
"values",
"requestId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"committed",
"not_recorded"
],
"description": "Whether the exact request has a committed receipt."
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"agentId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Existing company voice agent document ID."
},
"enabled": {
"type": "boolean",
"description": "Saved enabled state."
},
"voiceId": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9]{10,64}$",
"description": "Verified platform-library voice ID."
},
{
"type": "null"
}
],
"description": "Current voice ID, or null when unconfigured."
},
"fromNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$",
"description": "Company source telephone in E.164 format."
},
{
"type": "null"
}
],
"description": "Current source telephone, or null when unconfigured."
},
"appliedFromRevision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact revision returned by the most recent voice agent read."
},
"changed": {
"type": "boolean",
"description": "Whether any native setting changed."
},
"operation": {
"type": "string",
"const": "connection_updated",
"description": "Completed connection operation."
}
},
"required": [
"agentId",
"enabled",
"voiceId",
"fromNumber",
"appliedFromRevision",
"changed",
"operation"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Saved result when committed; otherwise null."
}
},
"required": [
"status",
"result"
],
"additionalProperties": false
}