Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Foundation Models
    • Обзор
    • Аутентификация в API
        • Overview
          • Overview
            • Overview
            • Create
            • Listen
            • Get
            • GetLastByThread
            • List
            • Submit
  • Yandex Cloud ML SDK
  • Совместимость с OpenAI
  • Управление доступом
  • Правила тарификации
  • Публичные материалы
  • История изменений

В этой статье:

  • HTTP request
  • Body parameters
  • ToolResultList
  • ToolResult
  • FunctionResult
  • Response
  1. Справочники API
  2. AI Assistant API (англ.)
  3. REST
  4. Runs
  5. Run
  6. Submit

Runs, REST: Run.Submit

Статья создана
Yandex Cloud
Обновлена 24 апреля 2025 г.
  • HTTP request
  • Body parameters
  • ToolResultList
  • ToolResult
  • FunctionResult
  • Response

Submit event to run
For example, submit function call results when the run is waiting for user input.

HTTP requestHTTP request

PATCH https://rest-assistant.api.cloud.yandex.net/assistants/v1/runs/submit

Body parametersBody parameters

{
  "runId": "string",
  // Includes only one of the fields `toolResultList`
  "toolResultList": {
    "toolResults": [
      {
        // Includes only one of the fields `functionResult`
        "functionResult": {
          "name": "string",
          // Includes only one of the fields `content`
          "content": "string"
          // end of the list of possible fields
        }
        // end of the list of possible fields
      }
    ]
  }
  // end of the list of possible fields
}

Field

Description

runId

string

Required field. ID of the run to submit to.

toolResultList

ToolResultList

A list of tool results to submit to the run, such as the output of a function call.

Includes only one of the fields toolResultList.

Event to submit to the run.

ToolResultListToolResultList

Represents a list of tool results.

Field

Description

toolResults[]

ToolResult

A list of tool results.

ToolResultToolResult

Represents the result of a tool call.

Field

Description

functionResult

FunctionResult

Represents the result of a function call.

Includes only one of the fields functionResult.

FunctionResultFunctionResult

Represents the result of a function call.

Field

Description

name

string

The name of the function that was executed.

content

string

The result of the function call, represented as a string.
This field can be used to store the output of the function.

Includes only one of the fields content.

ResponseResponse

HTTP Code: 200 - OK

Была ли статья полезна?

Предыдущая
List
Следующая
Overview
Проект Яндекса
© 2025 ООО «Яндекс.Облако»