Чаты · Чтение
Чаты · Flow · Просмотр · Операция
chat_flows_get_operation
Попробуйте три запроса
Получить данные
- Вы указываетеЧат
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Чаты / Flow / Просмотр / Операция» выполни чтение по выбранной записи (чат). Выведи кратко: operationId, чат.
- operationId
- Поле ответа
- chatId
- Чат
- sessionId
- Сессия
Задать параметры
- Вы указываетеЧат
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Чаты / Flow / Просмотр / Операция» на учебном примере с chatId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- chatId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Чаты / Flow / Просмотр / Операция» объясни operationId, чат. Отметь отсутствующие значения.
- operationId
- Поле ответа
- chatId
- Чат
- sessionId
- Сессия
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read asynchronous native Chat Flow progress and created Flow IDs, without prompts, provider responses, auth URLs or secrets.
Параметры запроса
- chatId
- Native Chat. обязательно по схеме · string
- operationId
- Protected operation ID returned by chat_flows_respond. обязательно по схеме · string
Что вернёт команда
- operationId
- Protected operation identifier, not a credential. обязательно по схеме · string
- chatId
- Native Chat. обязательно по схеме · string
- sessionId
- Native operation session shared by all messages. обязательно по схеме · string
- status
- Current asynchronous operation state. обязательно по схеме · string · варианты queued, running, waiting_setup, waiting_user, ready, failed
- flowIds
- Native disabled Flows created or edited by this operation. обязательно по схеме · array · до элементов 30
- errorCode
- Sanitized failure code, never provider errors or secrets. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"chatId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native Chat."
},
"operationId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Protected operation ID returned by chat_flows_respond."
}
},
"required": [
"chatId",
"operationId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"operationId": {
"type": "string",
"description": "Protected operation identifier, not a credential."
},
"chatId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native Chat."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native operation session shared by all messages."
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_setup",
"waiting_user",
"ready",
"failed"
],
"description": "Current asynchronous operation state."
},
"flowIds": {
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"description": "Native disabled Flows created or edited by this operation."
},
"errorCode": {
"description": "Sanitized failure code, never provider errors or secrets.",
"type": [
"string",
"null"
]
}
},
"required": [
"operationId",
"chatId",
"sessionId",
"status",
"flowIds",
"errorCode"
],
"additionalProperties": false
}