Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Foundation Models
    • Overview
    • API authentication
        • Overview
          • Overview
            • Overview
            • Create
            • Listen
            • Get
            • GetLastByThread
            • List
            • Submit
  • Yandex Cloud ML SDK
  • Compatibility with OpenAI
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • HTTP request
  • Body parameters
  • ToolResultList
  • ToolResult
  • FunctionResult
  • Response
  1. API references
  2. AI Assistant API
  3. REST
  4. Runs
  5. Run
  6. Submit

Runs, REST: Run.Submit

Written by
Yandex Cloud
Updated at April 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

Was the article helpful?

Previous
List
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC