Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex AI Studio
  • О сервисе Yandex AI Studio
  • Начало работы с Model Gallery
  • Yandex Workflows
  • Переход с AI Assistant API на Responses API
  • Совместимость с OpenAI
    • Обзор
    • Аутентификация в API
          • Overview
          • realtime.session.update
          • realtime.input_audio_buffer.append
          • realtime.input_audio_buffer.commit
          • realtime.input_audio_buffer.clear
          • realtime.conversation.item.create
          • realtime.conversation.item.retrieve
          • realtime.conversation.item.truncate
          • realtime.conversation.item.delete
          • realtime.response.create
          • realtime.response.cancel
          • realtime.output_audio_buffer.clear
  • Квоты и лимиты
  • Правила тарификации
  • Управление доступом
  • Аудитные логи Audit Trails
  • Публичные материалы
  • История изменений
  • Термины и определения

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

  • HTTP request
  • Body parameters
  • RealtimeConversationItem
  • Response
  1. Справочники API
  2. OpenAI-совместимые API (англ.)
  3. Realtime
  4. Client events
  5. realtime.conversation.item.create

REST: conversation.item.create

Статья создана
Yandex Cloud
Обновлена 30 декабря 2025 г.
  • HTTP request
  • Body parameters
  • RealtimeConversationItem
  • Response

HTTP requestHTTP request

POST https://ai.api.cloud.yandex.net/v1/realtime/client-events/conversation.item.create

Body parametersBody parameters

Request schema: application/json

{
  "type": "string",
  "event_id": "string",
  "previous_item_id": "string",
  "item": {
    "id": "string",
    "object": "string",
    "type": "string",
    "role": "string | null",
    "status": "string | null",
    "content": "array | null",
    "call_id": "string | null",
    "name": "string | null",
    "arguments": "string | null",
    "output": "string | null",
    "metadata": "object | null"
  }
}

Add a new item to the conversation context (messages, tool results, function calls, etc.). If successful, the server responds with conversation item events.

Field

Description

type

enum

Required field. The event type, must be conversation.item.create.

  • conversation.item.create

event_id

string

Optional client-generated ID used to identify this event.

previous_item_id

string

The ID of the preceding item after which the new item will be inserted. If omitted, the item is appended. Use root to insert at the beginning.

item

RealtimeConversationItem

Required field. A single item within a Realtime conversation.

RealtimeConversationItemRealtimeConversationItem

A single item within a Realtime conversation.

Field

Description

id

string

Item ID.

object

string

Object type identifier (e.g., realtime.item).

type

string

Required field. Item type (message, function_call, function_call_output, mcp_call, etc.).

role

string | null

Role for message items (user, assistant, system).

status

string | null

Item status, if applicable.

content

array | null

Item content parts.

call_id

string | null

Call ID for tool/function call items.

name

string | null

Tool/function name for call items.

arguments

string | null

Tool/function call arguments as JSON string.

output

string | null

Tool/function output as string or JSON-encoded string.

metadata

object | null

Developer-defined metadata.

ResponseResponse

HTTP Code: 200

OK

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

Предыдущая
realtime.input_audio_buffer.clear
Следующая
realtime.conversation.item.retrieve
Проект Яндекса
© 2026 ООО «Яндекс.Облако»