Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex AI Studio
  • About Yandex AI Studio
  • Getting started with Model Gallery
  • Yandex Workflows
  • Switching from the AI Assistant API to Responses API
  • Compatibility with OpenAI
    • Overview
    • API authentication
          • 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
  • Quotas and limits
  • Pricing policy
  • Access management
  • Audit Trails events
  • Public materials
  • Release notes
  • Terms and definitions

In this article:

  • HTTP request
  • Body parameters
  • Response
  1. API references
  2. OpenAI-compatible APIs
  3. Realtime
  4. Client events
  5. realtime.conversation.item.truncate

REST: conversation.item.truncate

Written by
Yandex Cloud
Updated at December 30, 2025
  • HTTP request
  • Body parameters
  • Response

HTTP requestHTTP request

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

Body parametersBody parameters

Request schema: application/json

{
  "type": "string",
  "event_id": "string",
  "item_id": "string",
  "content_index": "integer",
  "audio_end_ms": "integer"
}

Truncate an earlier assistant audio message item to synchronize server context with what the user actually heard. The server responds with conversation.item.truncated.

Field

Description

type

enum

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

  • conversation.item.truncate

event_id

string

Optional client-generated ID used to identify this event.

item_id

string

Required field. The ID of the assistant message item that was truncated.

content_index

integer

Required field. The index of the content part that was truncated.

audio_end_ms

integer

Required field. The duration up to which the audio was truncated, in milliseconds.

ResponseResponse

HTTP Code: 200

OK

Was the article helpful?

Previous
realtime.conversation.item.retrieve
Next
realtime.conversation.item.delete
© 2026 Direct Cursus Technology L.L.C.