> This is a page from the ElevenLabs documentation. For a complete page index, fetch https://elevenlabs.io/docs/llms.txt. For the full documentation in a single file, fetch https://elevenlabs.io/docs/llms-full.txt.

# बातचीत का विवरण पाएं

GET https://api.elevenlabs.io/v1/convai/conversations/{conversation_id}

किसी खास बातचीत का विवरण पाएं

Reference: https://elevenlabs.io/docs/eleven-agents/api-reference/conversations/get

## Servers

- `https://api.elevenlabs.io` (Production, default)
- `https://api.us.elevenlabs.io` (Production US)
- `https://api.eu.residency.elevenlabs.io` (Production EU)
- `https://api.in.residency.elevenlabs.io` (Production India)
- `https://api.sg.residency.elevenlabs.io` (Production Singapore)

## Request

### Path parameters

- `conversation_id` (string, required) — उस बातचीत की id जिस पर आप कार्रवाई कर रहे हैं।

### Query parameters

- `format` (enum, optional, default: json) — रिस्पॉन्स फ़ॉर्मैट। डिफ़ॉल्ट रूप से 'json' है। पोस्ट-कॉल वेबहुक जैसी ही संरचना वाला OTLP-संगत ट्रेस पेलोड पाने के लिए इसे 'opentelemetry' पर सेट करें।
  - Allowed values: `json`, `opentelemetry`

## Response

### 200

सफल रिस्पॉन्स

- `agent_id` (string, required)
- `status` (enum, required)
  - Allowed values: `initiated`, `in-progress`, `processing`, `done`, `failed`
- `metadata` (ConversationHistoryMetadataCommonModel, required)
- `conversation_id` (string, required)
- `has_audio` (boolean, required)
- `has_user_audio` (boolean, required)
- `has_response_audio` (boolean, required)
- `has_auxiliary_audio` (boolean, required)
- `transcript` (list of ConversationHistoryTranscriptResponseModel, required)
- `agent_name` (string, optional)
- `conversation_product` (string, optional, default: agent)
- `user_id` (string, optional)
- `branch_id` (string, optional)
- `version_id` (string, optional) — इस बातचीत के लिए उपयोग किए गए एजेंट वर्ज़न की ID
- `analysis` (ConversationHistoryAnalysisCommonModel, optional)
- `visited_agents` (list of VisitedAgentRef, optional)
- `conversation_initiation_client_data` (ConversationInitiationClientDataRequestOutput, optional)
- `environment` (string, optional, default: production)
- `tag_ids` (list of string, optional) — इस बातचीत को असाइन किए गए बातचीत टैग IDs।
- `otlp_traces` (map from string to any, optional) — request में format=opentelemetry इस्तेमाल होने पर OpenTelemetry trace payload; अन्यथा छोड़ दिया जाता है।

## Errors

### 422 Conversations Get Request Unprocessable Entity Error

वैलिडेशन एरर

- `detail` (list of ValidationError, optional)

## Types

### ConversationHistoryMetadataCommonModel

- `start_time_unix_secs` (integer, required)
- `call_duration_secs` (integer, required)
- `accepted_time_unix_secs` (integer, optional)
- `queue_wait_secs` (double, optional) — वह समय, seconds में, जिसके लिए caller concurrency wait queue में रुका था। call_duration_secs और billed time में शामिल नहीं है। conversation कभी queue में न होने पर None।
- `cost` (integer, optional)
- `deletion_settings` (ConversationDeletionSettings, optional)
- `feedback` (ConversationHistoryFeedbackCommonModel, optional)
- `authorization_method` (enum, optional, default: public)
  - Allowed values: `invalid`, `public`, `authorization_header`, `signed_url`, `shareable_link`, `livekit_token`, `livekit_token_website`, `genesys_api_key`, `avaya_api_key`, `audiocodes_api_key`, `whatsapp`, `sms`
- `charging` (ConversationChargingCommonModel, optional)
- `phone_call` (ConversationHistoryMetadataCommonModelPhoneCall, optional)
- `batch_call` (ConversationHistoryBatchCallModel, optional)
- `termination_reason` (string, optional, default: )
- `error` (ConversationHistoryErrorCommonModel, optional)
- `warnings` (list of string, optional)
- `main_language` (string, optional)
- `rag_usage` (ConversationHistoryRagUsageCommonModel, optional)
- `text_only` (boolean, optional, default: false)
- `features_usage` (FeaturesUsageCommonModel, optional)
- `eleven_assistant` (ConversationHistoryElevenAssistantCommonModel, optional)
- `initiator_id` (string, optional)
- `conversation_initiation_source` (enum, optional, default: unknown) — बातचीत शुरू होने के संभावित स्रोतों को दर्शाने वाला enum।
  - Allowed values: `unknown`, `android_sdk`, `node_js_sdk`, `react_native_sdk`, `react_sdk`, `js_sdk`, `python_sdk`, `widget`, `sip_trunk`, `twilio`, `exotel`, `genesys`, `avaya`, `audiocodes`, `swift_sdk`, `whatsapp`, `twilio_sms`, `flutter_sdk`, `zendesk_integration`, `slack_integration`, `telegram_integration`, `intercom_integration`, `freshdesk_integration`, `salesforce_integration`, `template_preview`, `genesys_bot_connector`, `subagent_tool`
- `conversation_initiation_source_version` (string, optional)
- `timezone` (string, optional)
- `async_metadata` (AsyncConversationMetadata, optional) — असिंक्रोनस बातचीत डिलीवरी (Zendesk, Slack आदि) का मेटाडेटा।
- `whatsapp` (WhatsAppConversationInfo, optional)
- `sms` (SmsConversationInfo, optional)
- `agent_created_from` (enum, optional, default: unknown)
  - Allowed values: `cli`, `ui`, `api`, `template`, `unknown`
- `agent_last_updated_from` (enum, optional, default: unknown)
  - Allowed values: `cli`, `ui`, `api`, `template`, `unknown`
- `voice_rewards` (list of ConversationVoiceRewardModel, optional)
- `cost_fiat` (double, optional) — बातचीत की कुल फ़िएट लागत, USD में, यानी LLM कीमत और गैर-LLM प्लैटफ़ॉर्म कीमत का योग (``cost`` का फ़िएट समकक्ष)। जब दोनों में से कोई सेट न हो, तो ``None`` (जैसे वे बातचीत जो फ़िएट लागत ट्रैकिंग से पहले की हैं)।

### ConversationHistoryTranscriptResponseModel

- `role` (enum, required)
  - Allowed values: `user`, `agent`
- `time_in_call_secs` (integer, required)
- `agent_metadata` (AgentMetadata, optional)
- `message` (string, optional)
- `multivoice_message` (ConversationHistoryMultivoiceMessageModel, optional) — मल्टी-वॉइस एजेंट के संदेश को दर्शाता है।
- `tool_calls` (list of ConversationHistoryTranscriptToolCallCommonModelOutput, optional)
- `tool_results` (list of ConversationHistoryTranscriptResponseModelToolResultsItem, optional)
- `feedback` (UserFeedback, optional)
- `llm_override` (string, optional)
- `producing_llm` (string, optional)
- `conversation_turn_metrics` (ConversationTurnMetrics, optional)
- `rag_retrieval_info` (RagRetrievalInfo, optional)
- `llm_usage` (LlmUsageOutput, optional)
- `interrupted` (boolean, optional, default: false)
- `ignored_as_backchannel` (boolean, optional, default: false)
- `platform_event` (enum, optional)
  - Allowed values: `user_turn_timeout`, `skip_turn_wait_elapsed`
- `original_message` (string, optional)
- `reasoning` (list of ConversationReasoningModel, optional)
- `source_medium` (enum, optional)
  - Allowed values: `audio`, `dtmf`, `text`, `image`, `file`
- `source_event_id` (integer, optional)
- `used_static_kb_document_ids` (list of string, optional)
- `user_identifier` (string, optional)
- `id` (string, optional)
- `triggered_guardrails` (list of TriggeredGuardrailCommonModel, optional)
- `file_input` (ConversationHistoryTranscriptFileInputResponseModel, optional) — डीप्रिकेटेड: इस टर्न में पहला अटैचमेंट। सभी अटैचमेंट देखने के लिए `file_inputs` इस्तेमाल करें।
- `file_inputs` (list of ConversationHistoryTranscriptFileInputResponseModel, optional) — इस टर्न से जुड़ी सभी फ़ाइलें, उसी क्रम में जिसमें यूज़र ने उन्हें जोड़ा था।
- `contextual_update_info` (ContextualUpdateInfo, optional)
- `reasoned` (boolean, optional, default: false)

### ConversationHistoryAnalysisCommonModel

- `call_successful` (enum, required)
  - Allowed values: `success`, `failure`, `unknown`
- `transcript_summary` (string, required)
- `evaluation_criteria_results` (map from string to ConversationHistoryEvaluationCriteriaResultCommonModel, optional)
- `data_collection_results` (map from string to DataCollectionResultCommonModel, optional)
- `evaluation_criteria_results_list` (list of ConversationHistoryEvaluationCriteriaResultCommonModel, optional)
- `data_collection_results_list` (list of DataCollectionResultCommonModel, optional)
- `call_success_score` (double, optional)
- `call_summary_title` (string, optional)
- `scoped` (list of ScopedAnalysisResult, optional)

### VisitedAgentRef

कॉल में शामिल एजेंट (और वैकल्पिक ब्रांच), ट्रांसक्रिप्ट में पहली बार दिखने के क्रम में।

- `agent_id` (string, required)
- `branch_id` (string, optional)

### ConversationInitiationClientDataRequestOutput

- `conversation_config_override` (ConversationConfigClientOverrideOutput, optional)
- `custom_llm_extra_body` (map from string to any, optional)
- `user_id` (string, optional) — इस बातचीत में भाग लेने वाले अंतिम यूज़र की ID (एजेंट के मालिक द्वारा यूज़र की पहचान के लिए)
- `source_info` (ConversationInitiationSourceInfo, optional) — बातचीत शुरू होने के स्रोत की जानकारी
- `branch_id` (string, optional) — इस बातचीत के लिए इस्तेमाल की जाने वाली एजेंट ब्रांच की ID
- `environment` (string, optional) — environment variables को resolve करने के लिए इस्तेमाल होने वाला environment
- `starting_workflow_node_id` (string, optional) — सेट होने पर, डिफ़ॉल्ट एंट्री के बजाय इस node id से workflow शुरू करें
- `procedure_ids` (list of string, optional) — सेट होने पर, शुरुआत करने वाले एजेंट के लिए केवल ये प्रक्रियाएं उपलब्ध होंगी। हर ID उस एजेंट से जुड़ी होनी चाहिए; अज्ञात ID होने पर बातचीत शुरू नहीं होगी। खाली सूची उस एजेंट की सभी प्रक्रियाएं अक्षम कर देती है। एजेंट ट्रांसफ़र के बाद लागू नहीं होता। enable_procedure_ids_from_client आवश्यक है।
- `dynamic_variables` (map from string to any, optional)

### ValidationError

- `loc` (list of ValidationErrorLocItem, required)
- `msg` (string, required)
- `type` (string, required)

### ConversationDeletionSettings

- `deletion_time_unix_secs` (integer, optional)
- `deleted_logs_at_time_unix_secs` (integer, optional)
- `deleted_audio_at_time_unix_secs` (integer, optional)
- `deleted_transcript_at_time_unix_secs` (integer, optional)
- `delete_transcript_and_pii` (boolean, optional, default: false)
- `delete_audio` (boolean, optional, default: false)

### ConversationHistoryFeedbackCommonModel

- `type` (enum, optional)
  - Allowed values: `thumbs`, `rating`
- `overall_score` (enum, optional)
  - Allowed values: `like`, `dislike`
- `likes` (integer, optional, default: 0)
- `dislikes` (integer, optional, default: 0)
- `rating` (integer, optional)
- `comment` (string, optional)

### ConversationChargingCommonModel

- `dev_discount` (boolean, optional, default: false)
- `is_burst` (boolean, optional, default: false)
- `tier` (string, optional)
- `llm_usage` (LlmCategoryUsage, optional)
- `llm_price` (double, optional)
- `llm_charge` (integer, optional)
- `call_charge` (integer, optional)
- `platform_charge` (integer, optional)
- `platform_usage` (PlatformUsage, optional) — ``platform_charge`` का प्रति-category breakdown (``llm_usage`` के समकक्ष)।
- `platform_price` (double, optional)
- `free_minutes_consumed` (double, optional, default: 0)
- `free_llm_dollars_consumed` (double, optional, default: 0)
- `tts_usage` (ConversationTtsUsageModel, optional) — किसी बातचीत के लिए कुल TTS उपयोग (केवल एनालिटिक्स, बिलिंग नहीं)।
- `asr_usage` (ConversationAsrUsageModel, optional) — किसी बातचीत के लिए कुल ASR उपयोग (केवल एनालिटिक्स, बिलिंग नहीं)।
- `analysis` (AnalysisCharging, optional) — इस बातचीत पर कॉल के बाद का विश्लेषण चलाने की लागत। विश्लेषण रन होने के बाद मौजूद होती है, चाहे बिल किया गया हो या नहीं।

### ConversationHistoryMetadataCommonModelPhoneCall

- `type`: `exotel`
  - `agent_number` (string, required)
  - `call_sid` (string, required)
  - `direction` (enum, required, default: inbound)
    - Allowed values: `inbound`, `outbound`
  - `external_number` (string, required)
  - `phone_number_id` (string, required)
  - `stream_sid` (string, required)
  - `call_result` (enum, optional)
    - Allowed values: `answered`, `voicemail`, `busy`, `no_answer`, `failed`
- `type`: `sip_trunking`
  - `agent_number` (string, required)
  - `call_sid` (string, required)
  - `direction` (enum, required, default: inbound)
    - Allowed values: `inbound`, `outbound`
  - `external_number` (string, required)
  - `phone_number_id` (string, required)
  - `call_id` (string, optional)
  - `call_result` (enum, optional)
    - Allowed values: `answered`, `voicemail`, `busy`, `no_answer`, `failed`
  - `sip_header_dynamic_variables` (map from string to string, optional)
- `type`: `twilio`
  - `agent_number` (string, required)
  - `call_sid` (string, required)
  - `direction` (enum, required, default: inbound)
    - Allowed values: `inbound`, `outbound`
  - `external_number` (string, required)
  - `phone_number_id` (string, required)
  - `stream_sid` (string, required)
  - `call_result` (enum, optional)
    - Allowed values: `answered`, `voicemail`, `busy`, `no_answer`, `failed`

### ConversationHistoryBatchCallModel

- `batch_call_id` (string, required)
- `batch_call_recipient_id` (string, required)
- `campaign` (BatchCallingCampaignInformation, optional)

### ConversationHistoryErrorCommonModel

- `code` (integer, required)
- `reason` (string, optional)

### ConversationHistoryRagUsageCommonModel

- `usage_count` (integer, required)
- `embedding_model` (string, required)

### FeaturesUsageCommonModel

- `language_detection` (FeatureStatusCommonModel, optional)
- `transfer_to_agent` (FeatureStatusCommonModel, optional)
- `transfer_to_number` (FeatureStatusCommonModel, optional)
- `multivoice` (FeatureStatusCommonModel, optional)
- `dtmf_tones` (FeatureStatusCommonModel, optional)
- `external_mcp_servers` (FeatureStatusCommonModel, optional)
- `pii_zrm_workspace` (boolean, optional, default: false)
- `pii_zrm_agent` (boolean, optional, default: false)
- `tool_dynamic_variable_updates` (FeatureStatusCommonModel, optional)
- `is_livekit` (boolean, optional, default: false)
- `voicemail_detection` (FeatureStatusCommonModel, optional)
- `dtmf_input` (FeatureStatusCommonModel, optional)
- `workflow` (WorkflowFeaturesUsageCommonModel, optional)
- `agent_testing` (TestsFeatureUsageCommonModel, optional)
- `versioning` (FeatureStatusCommonModel, optional)
- `file_input` (FeatureStatusCommonModel, optional)
- `freeform_procedure` (FeatureStatusCommonModel, optional)
- `structured_procedure` (FeatureStatusCommonModel, optional)

### ConversationHistoryElevenAssistantCommonModel

- `is_eleven_assistant` (boolean, optional, default: false)

### AsyncConversationMetadata

असिंक्रोनस बातचीत डिलीवरी (Zendesk, Slack आदि) का मेटाडेटा।

- `delivery_status` (enum, required)
  - Allowed values: `pending`, `success`, `failed`
- `delivery_timestamp` (integer, required)
- `external_system` (string, required)
- `external_id` (string, required)
- `delivery_error` (string, optional)
- `external_link` (string, optional)
- `retry_count` (integer, optional, default: 0)
- `last_retry_timestamp` (integer, optional)
- `last_processed_external_message_id` (string, optional)

### WhatsAppConversationInfo

- `whatsapp_user_id` (string, required)
- `direction` (enum, optional, default: unknown)
  - Allowed values: `inbound`, `outbound`, `unknown`
- `whatsapp_phone_number_id` (string, optional)
- `awaiting_first_user_message` (boolean, optional)
- `recipient` (WhatsAppRecipient, optional) — फ़ोन नंबर और/या BSUID वाला WhatsApp यूज़र; जहाँ किसी एक की ज़रूरत हो, वहाँ फ़ोन नंबर को प्राथमिकता दी जाती है।
- `call_permission_request` (WhatsAppCallPermissionRequest, optional)

### SmsConversationInfo

- `direction` (enum, required)
  - Allowed values: `inbound`, `outbound`
- `sms_user_phone_number` (string, required)
- `phone_number_id` (string, optional)
- `agent_phone_number` (string, optional)

### ConversationVoiceRewardModel

- `voice_id` (string, required)
- `reward_usd_cents` (double, required)

### AgentMetadata

- `agent_id` (string, required)
- `branch_id` (string, optional)
- `workflow_node_id` (string, optional)
- `version_id` (string, optional)

### ConversationHistoryMultivoiceMessageModel

मल्टी-वॉइस एजेंट के संदेश को दर्शाता है।

- `parts` (list of ConversationHistoryMultivoiceMessagePartModel, required)

### ConversationHistoryTranscriptToolCallCommonModelOutput

- `request_id` (string, required)
- `tool_name` (string, required)
- `params_as_json` (string, required)
- `tool_has_been_called` (boolean, required)
- `type` (enum, optional)
  - Allowed values: `system`, `webhook`, `client`, `mcp`, `workflow`, `api_integration_webhook`, `api_integration_mcp`, `smb`
- `tool_id` (string, optional) — कॉल किए गए टूल का ID। बिना ID वाले टूल, जैसे सिस्टम टूल, के लिए सेट नहीं होता।
- `tool_details` (ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails, optional)

### ConversationHistoryTranscriptResponseModelToolResultsItem

### UserFeedback

- `score` (enum, required)
  - Allowed values: `like`, `dislike`
- `time_in_call_secs` (integer, required)

### ConversationTurnMetrics

- `metrics` (map from string to MetricRecord, optional)
- `convai_asr_provider` (string, optional)
- `convai_tts_model` (string, optional)
- `convai_tts_cascade` (string, optional)
- `voice_id` (string, optional)

### RagRetrievalInfo

- `chunks` (list of RagChunkMetadata, required)
- `embedding_model` (enum, required, default: e5_mistral_7b_instruct)
  - Allowed values: `e5_mistral_7b_instruct`, `multilingual_e5_large_instruct`
- `retrieval_query` (string, required)
- `rag_latency_secs` (double, required)
- `used_chunk_ids` (list of string, optional)

### LlmUsageOutput

- `model_usage` (map from string to LlmInputOutputTokensUsage, optional)

### ConversationReasoningModel

- `summary` (string, optional)
- `provider_redact` (boolean, optional, default: false)

### TriggeredGuardrailCommonModel

- `guardrail_type` (enum, required)
  - Allowed values: `custom`, `prompt_injection`, `self_harm_intent`, `violence_graphic`, `sexual`, `violence`, `harassment`, `sexual_minors`, `self_harm`, `self_harm_instructions`, `harassment_threatening`, `hate`, `hate_threatening`, `profanity`, `religion_or_politics`, `medical_and_legal`, `guardrail`
- `guardrail_name` (string, optional)

### ConversationHistoryTranscriptFileInputResponseModel

- `file_id` (string, required)
- `original_filename` (string, required)
- `mime_type` (string, required)
- `file_url` (string, required)

### ContextualUpdateInfo

- `context_id` (string, required) — संबंधित कॉन्टेक्स्टुअल अपडेट को समूहित करने वाला क्लाइंट द्वारा दिया गया आइडेंटिफ़ायर।
- `is_superseded` (boolean, optional, default: false) — जब इस संदर्भित अपडेट को उसी context_id वाले नए अपडेट से बदल दिया गया हो, तब true।

### ConversationHistoryEvaluationCriteriaResultCommonModel

- `criteria_id` (string, required)
- `result` (enum, required)
  - Allowed values: `success`, `failure`, `unknown`
- `rationale` (string, required)
- `scoring_mode` (enum, optional, default: binary)
  - Allowed values: `binary`, `numeric_uniform`
- `score` (integer, optional)
- `max_score` (integer, optional)

### DataCollectionResultCommonModel

- `data_collection_id` (string, required)
- `rationale` (string, required)
- `name` (string, optional)
- `value` (any, optional)
- `json_schema` (LiteralJsonSchemaProperty, optional) — literal JSON types के लिए schema property। ज़रूरी: इनमें से केवल एक field सेट की जा सकती है: description (LLM value देता है), dynamic_variable (variable से value), is_system_provided (system value देता है), constant_value (fixed value), या is_omitted (parameter छोड़ा गया है)। ये परस्पर अनन्य हैं।

### ScopedAnalysisResult

- `scope` (enum, required, default: conversation) — विश्लेषण का दायरा। 'conversation' पूरे ट्रांसक्रिप्ट का उपयोग करता है; 'agent' केवल उस हिस्से का उपयोग करता है जहां परिभाषित एजेंट सक्रिय था।
  - Allowed values: `conversation`, `agent`
- `source_agent_id` (string, required)
- `successful` (enum, required)
  - Allowed values: `success`, `failure`, `unknown`
- `source_branch_id` (string, optional) — इस स्कोप्ड ब्लॉक के लिए एजेंट की ब्रांच; दोहराए गए agent_id में अंतर स्पष्ट करती है।
- `evaluation_criteria_results` (map from string to ConversationHistoryEvaluationCriteriaResultCommonModel, optional)
- `data_collection_results` (map from string to DataCollectionResultCommonModel, optional)
- `success_score` (double, optional)

### ConversationConfigClientOverrideOutput

- `asr` (AsrConversationalConfigOverride, optional) — कन्वर्सेशनल ट्रांसक्रिप्शन के लिए कॉन्फ़िगरेशन
- `turn` (TurnConfigOverride, optional) — टर्न डिटेक्शन के लिए कॉन्फ़िगरेशन
- `tts` (TtsConversationalConfigOverride, optional) — कन्वर्सेशनल टेक्स्ट टू स्पीच के लिए कॉन्फ़िगरेशन
- `conversation` (ConversationConfigOverride, optional) — कन्वर्सेशनल इवेंट के लिए कॉन्फ़िगरेशन
- `agent` (AgentConfigOverrideOutput, optional) — एजेंट-विशिष्ट कॉन्फ़िगरेशन

### ConversationInitiationSourceInfo

बातचीत शुरू होने के स्रोत की जानकारी

- `source` (enum, optional, default: unknown) — conversation initiation का source
  - Allowed values: `unknown`, `android_sdk`, `node_js_sdk`, `react_native_sdk`, `react_sdk`, `js_sdk`, `python_sdk`, `widget`, `sip_trunk`, `twilio`, `exotel`, `genesys`, `avaya`, `audiocodes`, `swift_sdk`, `whatsapp`, `twilio_sms`, `flutter_sdk`, `zendesk_integration`, `slack_integration`, `telegram_integration`, `intercom_integration`, `freshdesk_integration`, `salesforce_integration`, `template_preview`, `genesys_bot_connector`, `subagent_tool`
- `version` (string, optional) — SDK वर्ज़न नंबर

### ValidationErrorLocItem

### LlmCategoryUsage

- `irreversible_generation` (LlmUsageOutput, optional)
- `initiated_generation` (LlmUsageOutput, optional)

### PlatformUsage

``platform_charge`` का प्रति-category breakdown (``llm_usage`` के समकक्ष)।

- `category_usage` (map from string to PlatformCategoryUsage, optional)

### ConversationTtsUsageModel

किसी बातचीत के लिए कुल TTS उपयोग (केवल एनालिटिक्स, बिलिंग नहीं)।

- `primary_tts_model` (string, optional)
- `total_audio_output_seconds` (double, optional, default: 0)
- `total_characters` (integer, optional, default: 0)
- `per_voice_usage` (list of ConversationVoiceUsageModel, optional)

### ConversationAsrUsageModel

किसी बातचीत के लिए कुल ASR उपयोग (केवल एनालिटिक्स, बिलिंग नहीं)।

- `asr_model` (string, optional)
- `total_transcription_calls` (integer, optional, default: 0)
- `total_audio_input_seconds` (double, optional, default: 0)

### AnalysisCharging

इस बातचीत पर कॉल के बाद का विश्लेषण चलाने की लागत। विश्लेषण रन होने के बाद मौजूद होती है, चाहे बिल किया गया हो या नहीं।

- `total` (AnalysisRunningTotal, required) — इस बातचीत पर कॉल के बाद का विश्लेषण चलाने की कुल LLM लागत।
- `last_run` (AnalysisRunSnapshot, required) — इस बातचीत पर सबसे हाल के पोस्ट-कॉल विश्लेषण पास की LLM लागत।

### BatchCallingCampaignInformation

- `campaign_id` (string, required)
- `campaign_lead_id` (string, required)
- `cold_attempt` (integer, optional)
- `conversation_type` (enum, optional)
  - Allowed values: `initial`, `retry`, `callback`, `redirect`

### FeatureStatusCommonModel

- `enabled` (boolean, optional, default: false)
- `used` (boolean, optional, default: false)

### WorkflowFeaturesUsageCommonModel

- `enabled` (boolean, optional, default: false)
- `tool_node` (FeatureStatusCommonModel, optional)
- `standalone_agent_node` (FeatureStatusCommonModel, optional)
- `phone_number_node` (FeatureStatusCommonModel, optional)
- `end_node` (FeatureStatusCommonModel, optional)
- `override_agent_node` (FeatureStatusCommonModel, optional)

### TestsFeatureUsageCommonModel

- `enabled` (boolean, optional, default: false)
- `tests_ran_after_last_modification` (boolean, optional, default: false)
- `tests_ran_in_last_7_days` (boolean, optional, default: false)

### WhatsAppRecipient

फ़ोन नंबर और/या BSUID वाला WhatsApp यूज़र; जहाँ किसी एक की ज़रूरत हो, वहाँ फ़ोन नंबर को प्राथमिकता दी जाती है।

- `phone` (string, optional)
- `bsuid` (string, optional)

### WhatsAppCallPermissionRequest

- `state` (enum, required)
  - Allowed values: `blocked`, `sent`, `accepted`, `declined`
- `requested_at_unix` (integer, optional)

### ConversationHistoryMultivoiceMessagePartModel

मल्टी-वॉइस संदेश के एकल वॉइस भाग को दर्शाता है।

- `text` (string, required)
- `voice_label` (string, optional)
- `time_in_call_secs` (integer, optional)

### ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails

- `type`: `api_integration_webhook`
  - `credential_id` (string, required, default: )
  - `integration_connection_id` (string, required, default: )
  - `integration_id` (string, required, default: )
  - `webhook_details` (ConversationHistoryTranscriptToolCallWebhookDetails, required)
- `type`: `client`
  - `parameters` (string, required)
- `type`: `mcp`
  - `approval_policy` (string, required)
  - `integration_type` (string, required)
  - `mcp_server_id` (string, required)
  - `mcp_server_name` (string, required)
  - `mcp_tool_description` (string, optional, default: )
  - `mcp_tool_name` (string, optional, default: )
  - `parameters` (map from string to string, optional)
  - `requires_approval` (boolean, optional, default: false)
- `type`: `webhook`
  - `method` (string, required)
  - `url` (string, required)
  - `body` (string, optional)
  - `headers` (map from string to string, optional)
  - `path_params` (map from string to string, optional)
  - `query_params` (map from string to string, optional)

### ConversationHistoryTranscriptOtherToolsResultCommonModel

- `request_id` (string, required)
- `tool_name` (string, required)
- `result_value` (string, required)
- `is_error` (boolean, required)
- `tool_has_been_called` (boolean, required)
- `is_blocked` (boolean, optional, default: false)
- `tool_latency_secs` (double, optional, default: 0)
- `error_type` (string, optional, default: )
- `raw_error_message` (string, optional, default: )
- `dynamic_variable_updates` (list of DynamicVariableUpdateCommonModel, optional)
- `type` (enum, optional)
  - Allowed values: `client`, `webhook`, `mcp`, `code`

### ConversationHistoryTranscriptSystemToolResultCommonModelOutput

- `request_id` (string, required)
- `tool_name` (string, required)
- `result_value` (string, required)
- `is_error` (boolean, required)
- `tool_has_been_called` (boolean, required)
- `type` ("system", required)
- `is_blocked` (boolean, optional, default: false)
- `tool_latency_secs` (double, optional, default: 0)
- `error_type` (string, optional, default: )
- `raw_error_message` (string, optional, default: )
- `dynamic_variable_updates` (list of DynamicVariableUpdateCommonModel, optional)
- `result` (ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult, optional)

### ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput

- `request_id` (string, required)
- `tool_name` (string, required)
- `result_value` (string, required)
- `is_error` (boolean, required)
- `is_blocked` (boolean, required, default: false)
- `tool_has_been_called` (boolean, required)
- `tool_latency_secs` (double, required, default: 0)
- `error_type` (string, required, default: )
- `raw_error_message` (string, required, default: )
- `dynamic_variable_updates` (list of DynamicVariableUpdateCommonModel, required)
- `type` ("api_integration_webhook", required)
- `integration_id` (string, required, default: )
- `credential_id` (string, required, default: )
- `integration_connection_id` (string, required, default: )

### ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput

- `request_id` (string, required)
- `tool_name` (string, required)
- `result_value` (string, required)
- `is_error` (boolean, required)
- `tool_has_been_called` (boolean, required)
- `type` ("workflow", required)
- `is_blocked` (boolean, optional, default: false)
- `tool_latency_secs` (double, optional, default: 0)
- `error_type` (string, optional, default: )
- `raw_error_message` (string, optional, default: )
- `dynamic_variable_updates` (list of DynamicVariableUpdateCommonModel, optional)
- `result` (WorkflowToolResponseModelOutput, optional) — workflow टूल रिस्पॉन्स के लिए एक सामान्य मॉडल।

### MetricRecord

- `elapsed_time` (double, required)

### RagChunkMetadata

- `document_id` (string, required)
- `chunk_id` (string, required)
- `vector_distance` (double, required)

### LlmInputOutputTokensUsage

- `input` (LlmTokensCategoryUsage, optional)
- `input_cache_read` (LlmTokensCategoryUsage, optional)
- `input_cache_write` (LlmTokensCategoryUsage, optional)
- `output_total` (LlmTokensCategoryUsage, optional)

### LiteralJsonSchemaProperty

literal JSON types के लिए schema property। ज़रूरी: इनमें से केवल एक field सेट की जा सकती है: description (LLM value देता है), dynamic_variable (variable से value), is_system_provided (system value देता है), constant_value (fixed value), या is_omitted (parameter छोड़ा गया है)। ये परस्पर अनन्य हैं।

- `type` (LiteralJsonSchemaPropertyType, required)
- `description` (string, optional, default: ) — प्रॉपर्टी का विवरण। सेट होने पर, LLM इस विवरण के आधार पर मान देगा। यह dynamic_variable, is_system_provided, constant_value और is_omitted के साथ परस्पर अनन्य है।
- `enum` (list of string, optional) — List of allowed string values for string type parameters
- `is_system_provided` (boolean, optional, default: false) — अगर true है, तो सिस्टम रनटाइम पर मान भर देगा। टेम्पलेटिंग के लिए API Integration Webhook टूल द्वारा उपयोग किया जाता है। description, dynamic_variable, constant_value और is_omitted के साथ परस्पर अनन्य है।
- `dynamic_variable` (string, optional, default: ) — इस प्रॉपर्टी की वैल्यू के लिए इस्तेमाल किए जाने वाले dynamic variable का नाम। description, is_system_provided, constant_value और is_omitted के साथ परस्पर अनन्य।
- `allowed_values` (AllowedValues, optional) — LLM द्वारा दी गई value के लिए server-side rejection guard: runtime इस object के बताए permitted set से बाहर की हर value को अस्वीकार करता है और यह set LLM को enum के रूप में नहीं बताया जाता। केवल तब समर्थित है, जब value source `description` हो; इसे dynamic_variable, is_system_provided, constant_value या is_omitted के साथ मिलाने पर अस्वीकार कर दिया जाता है।
- `constant_value` (LiteralJsonSchemaPropertyConstantValue, optional) — इस प्रॉपर्टी के लिए इस्तेमाल किया जाने वाला स्थिर मान। description, dynamic_variable, is_system_provided और is_omitted के साथ परस्पर अनन्य है।
- `is_omitted` (boolean, optional, default: false) — अगर true है, तो यह पैरामीटर रिक्वेस्ट से पूरी तरह हटा दिया जाएगा। केवल वैकल्पिक पैरामीटर्स के लिए मान्य है। description, dynamic_variable, is_system_provided और constant_value के साथ परस्पर अनन्य है।
- `allowed_values_dynamic_variable` (string, optional, default: , deprecated) — डीप्रिकेटेड: इसके बजाय `allowed_values` इस्तेमाल करें। सेट होने पर LLM वैल्यू देता है, लेकिन रनटाइम इस डायनेमिक वेरिएबल की सूची में मौजूद न होने वाली किसी भी वैल्यू को अस्वीकार करता है (यह ["ws_alpha", "ws_beta"] जैसा JSON ऐरे होना चाहिए)। LLM को सर्वर-वेरिफ़ाइड सेट से चुनने देने के लिए इस्तेमाल करें (जैसे वे ID जिन्हें वर्तमान यूज़र एक्सेस कर सकता है)। description आवश्यक है; dynamic_variable, is_system_provided, constant_value और is_omitted के साथ परस्पर अनन्य है।

### AsrConversationalConfigOverride

- `keywords` (list of string, optional) — जिनके लिए अनुमान की संभावना बढ़ानी है वे कीवर्ड्स

### TurnConfigOverride

- `soft_timeout_config` (SoftTimeoutConfigOverride, optional) — सॉफ्ट टाइमआउट सुविधा के लिए कॉन्फ़िगरेशन। लंबे LLM रिस्पॉन्स के दौरान तुरंत फ़ीडबैक देता है।

### TtsConversationalConfigOverride

- `model_id` (enum, optional, default: eleven_v4_turbo) — TTS के लिए इस्तेमाल किया जाने वाला मॉडल
  - Allowed values: `eleven_turbo_v2`, `eleven_turbo_v2_5`, `eleven_flash_v2`, `eleven_flash_v2_5`, `eleven_multilingual_v2`, `eleven_v3_conversational`, `eleven_v4`, `eleven_v4_turbo`
- `voice_id` (string, optional) — TTS के लिए इस्तेमाल की जाने वाली वॉइस ID
- `supported_voices` (list of SupportedVoice, optional) — एजेंट के लिए अतिरिक्त समर्थित वॉइसेज़
- `stability` (double, optional) — जनरेट की गई स्पीच की स्थिरता
- `speed` (double, optional) — जनरेट की गई स्पीच की गति
- `similarity_boost` (double, optional) — जनरेट की गई स्पीच के लिए सिमिलैरिटी बूस्ट
- `pronunciation_dictionary_locators` (list of PydanticPronunciationDictionaryVersionLocator, optional) — उच्चारण शब्दकोश लोकेटर्स

### ConversationConfigOverride

- `text_only` (boolean, optional) — इसे सक्षम करने पर ऑडियो प्रोसेस नहीं होगा और केवल टेक्स्ट का इस्तेमाल होगा। ऑडियो की कीमत से बचने के लिए इसका इस्तेमाल करें।
- `max_duration_seconds` (integer, optional) — बातचीत की अधिकतम अवधि, सेकंड में

### AgentConfigOverrideOutput

- `first_message` (string, optional) — खाली न होने पर, एजेंट का पहला संदेश। खाली होने पर एजेंट चर्चा शुरू करने के लिए यूज़र का इंतज़ार करता है।
- `language` (string, optional) — एजेंट की भाषा — ASR और TTS के लिए इस्तेमाल होती है
- `max_conversation_duration_message` (string, optional) — खाली न होने पर, अधिकतम बातचीत अवधि पूरी होने पर एजेंट द्वारा भेजा जाने वाला संदेश।
- `prompt` (PromptAgentApiModelOverrideOutput, optional) — एजेंट के लिए प्रॉम्प्ट

### PlatformCategoryUsage

एक :class:`PlatformCategory` के लिए संचित शुल्क।

- `credits` (integer, optional, default: 0)
- `price` (double, optional, default: 0)
- `quantity` (double, optional, default: 0)

### ConversationVoiceUsageModel

- `voice_id` (string, required)
- `audio_output_seconds` (double, optional, default: 0)

### AnalysisRunningTotal

इस बातचीत पर कॉल के बाद का विश्लेषण चलाने की कुल LLM लागत।

- `price` (double, optional, default: 0)
- `charge` (integer, optional, default: 0)
- `runs` (integer, optional, default: 0)
- `price_per_feature` (map from string to double, optional)
- `charge_per_feature` (map from string to integer, optional)

### AnalysisRunSnapshot

इस बातचीत पर सबसे हाल के पोस्ट-कॉल विश्लेषण पास की LLM लागत।

- `price` (double, optional, default: 0)
- `charge` (integer, optional, default: 0)
- `price_per_feature` (map from string to double, optional)
- `charge_per_feature` (map from string to integer, optional)

### ConversationHistoryTranscriptToolCallWebhookDetails

- `method` (string, required)
- `url` (string, required)
- `type` ("webhook", optional)
- `headers` (map from string to string, optional)
- `path_params` (map from string to string, optional)
- `query_params` (map from string to string, optional)
- `body` (string, optional)

### DynamicVariableUpdateCommonModel

टूल निष्पादन के दौरान हुए dynamic variable अपडेट को ट्रैक करता है।

- `variable_name` (string, required)
- `new_value` (string, required)
- `updated_at` (double, required)
- `tool_name` (string, required)
- `tool_request_id` (string, required)
- `old_value` (string, optional)

### ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult

- `result_type`: `dummy`
- `result_type`: `end_call_success`
  - `message` (string, optional)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `end_procedure_error`
  - `message` (string, required)
  - `status` (enum, required)
    - Allowed values: `not_found`, `invalid_id`
  - `procedure_id` (string, optional)
- `result_type`: `end_procedure_success`
  - `procedure_id` (string, required)
  - `procedure_name` (string, required)
  - `message` (string, optional, default: )
  - `status` ("success", optional)
- `result_type`: `knowledge_base_rag_success`
  - `chunk_count` (integer, optional, default: 0) — पुनर्प्राप्त relevant chunks की संख्या
  - `chunks` (list of KnowledgeBaseRagChunkModel, optional) — पाए गए चंक्स; केवल rag-result-in-tool-result मोड में भरे जाते हैं
  - `message` (string, optional, default: Referenced knowledge base.) — खोज नतीजों के बारे में LLM के लिए मानव-पठनीय स्थिति
  - `status` (enum, optional, default: success)
    - Allowed values: `success`, `no_documents`, `no_results`
- `result_type`: `knowledge_base_success`
  - `chunk_count` (integer, optional, default: 0)
  - `message` (string, optional, default: Referenced knowledge base.)
  - `status` (enum, optional, default: success)
    - Allowed values: `success`, `no_matching_documents`, `no_results`
- `result_type`: `language_detection_success`
  - `language` (string, optional)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `play_dtmf_error`
  - `error` (string, required)
  - `details` (string, optional)
  - `status` ("error", optional)
- `result_type`: `play_dtmf_success`
  - `dtmf_tones` (string, required)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `skip_turn_success`
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `start_procedure_error`
  - `message` (string, required)
  - `status` (enum, required)
    - Allowed values: `not_found`, `invalid_name`, `already_active`
  - `procedure_id` (string, optional)
- `result_type`: `start_procedure_success`
  - `procedure_id` (string, required)
  - `procedure_name` (string, required)
  - `message` (string, optional, default: Procedure is now started. Follow its instructions from the <active-procedures> section of your system prompt.)
  - `procedure_entry_workflow_node` (string, optional)
  - `procedure_return_workflow_node` (string, optional)
  - `status` ("success", optional)
- `result_type`: `testing_tool_result`
  - `reason` (string, optional, default: Skipping tool call in test mode)
  - `status` ("success", optional)
- `result_type`: `transfer_to_agent_error`
  - `error` (string, required)
  - `from_agent` (string, required)
  - `status` ("error", optional)
- `result_type`: `transfer_to_agent_success`
  - `condition` (string, required)
  - `from_agent` (string, required)
  - `to_agent` (string, required)
  - `branch_info` (TransferToAgentToolResultSuccessModelOutputBranchInfo, optional)
  - `delay_ms` (integer, optional, default: 0)
  - `enable_transferred_agent_first_message` (boolean, optional, default: false)
  - `preserve_client_tts_overrides` (boolean, optional, default: false)
  - `preserve_voice_settings` (boolean, optional, default: false)
  - `status` ("success", optional)
  - `to_node` (string, optional)
  - `transfer_message` (string, optional)
- `result_type`: `transfer_to_number_amazon_connect_success`
  - `client_message` (string, optional) — सेशन Amazon Connect को वापस सौंपने से पहले कॉलर को सुनाया गया संदेश।
  - `note` (string, optional) — जब एजेंट ने अमान्य विकल्प दोहराया हो और केवल कॉन्फ़िगर किया गया विकल्प इस्तेमाल किया गया हो, तब सेट होता है।
  - `reason` (string, optional) — एजेंट ने एस्केलेट क्यों किया, जैसा Escalate परिणाम के साथ Amazon Connect को भेजा गया।
  - `status` ("success", optional)
- `result_type`: `transfer_to_number_error`
  - `error` (string, required)
  - `details` (string, optional)
  - `status` ("error", optional)
- `result_type`: `transfer_to_number_exotel_success`
  - `transfer_number` (string, required)
  - `agent_message` (string, optional)
  - `note` (string, optional)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `transfer_to_number_sip_success`
  - `transfer_number` (string, required)
  - `note` (string, optional)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `transfer_to_number_twilio_success`
  - `agent_message` (string, required)
  - `conference_name` (string, required)
  - `transfer_number` (string, required)
  - `client_message` (string, optional)
  - `note` (string, optional)
  - `post_dial_digits` (string, optional)
  - `reason` (string, optional)
  - `status` ("success", optional)
- `result_type`: `voicemail_detection_success`
  - `reason` (string, optional)
  - `status` ("success", optional)
  - `voicemail_message` (string, optional)

### WorkflowToolResponseModelOutput

workflow टूल रिस्पॉन्स के लिए एक सामान्य मॉडल।

- `steps` (list of WorkflowToolResponseModelOutputStepsItem, optional)

### LlmTokensCategoryUsage

- `tokens` (integer, optional, default: 0)
- `price` (double, optional, default: 0)

### LiteralJsonSchemaPropertyType

### AllowedValues

- `dynamic_variable` (string, required) — उस डायनामिक वेरिएबल का नाम जिसका मान अनुमत मानों की JSON ऐरे में बदलना चाहिए, जैसे ["ws_alpha", "ws_beta"]। सिस्टम वेरिएबल केवल सूची में बदलने पर काम करते हैं।

### LiteralJsonSchemaPropertyConstantValue

इस प्रॉपर्टी के लिए इस्तेमाल किया जाने वाला स्थिर मान। description, dynamic_variable, is_system_provided और is_omitted के साथ परस्पर अनन्य है।

### SoftTimeoutConfigOverride

- `message` (string, optional) — LLM जवाब की प्रतीक्षा के दौरान पहला सॉफ्ट टाइमआउट होने पर दिखाया जाने वाला संदेश। डायनामिक वेरिएबल समर्थित हैं (जैसे, \{\{system\_\_time}}, \{\{custom\_variable}})।
- `additional_soft_timeout_messages` (list of string, optional) — उसी LLM जनरेशन में बाद के soft timeout के लिए अतिरिक्त स्थिर filler संदेश। पहला timeout `message` का उपयोग करता है। यदि कॉन्फ़िगर किए गए संदेश `max_soft_timeouts_per_generation` से कम हैं, तो आखिरी कॉन्फ़िगर किया गया संदेश दोहराया जाता है; अन्यथा built-in filler इस्तेमाल होता है।

### SupportedVoice

- `label` (string, required)
- `voice_id` (string, required)
- `description` (string, optional)
- `language` (string, optional)
- `model_family` (enum, optional)
  - Allowed values: `turbo`, `flash`, `multilingual`, `v3_conversational`, `v4`, `v4_turbo`
- `optimize_streaming_latency` (integer, optional)
- `stability` (double, optional)
- `speed` (double, optional)
- `similarity_boost` (double, optional)

### PydanticPronunciationDictionaryVersionLocator

अन्य दस्तावेज़ों के लिए किसी खास शब्दकोश और उसके संस्करण का संदर्भ देने वाला लोकेटर। यह PronunciationDictionaryVersionLocatorDBModel का pydantic संस्करण है। अन्य एजेंट डेटा मॉडल्स के साथ संगतता सुनिश्चित करने के लिए आवश्यक है।

- `pronunciation_dictionary_id` (string, required) — उच्चारण डिक्शनरी की ID
- `version_id` (string, optional) — उच्चारण डिक्शनरी के वर्ज़न की ID

### PromptAgentApiModelOverrideOutput

- `prompt` (string, optional) — एजेंट के लिए प्रॉम्प्ट
- `llm` (enum, optional) — prompt और चैट हिस्ट्री के साथ क्वेरी करने वाला LLM। data residency इस्तेमाल करने पर, LLM का data residency एनवायरनमेंट में समर्थित होना ज़रूरी है।
  - Allowed values: `gpt-4o-mini`, `gpt-4o`, `gpt-4`, `gpt-4-turbo`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `gpt-5`, `gpt-5.1`, `gpt-5.2`, `gpt-5.2-chat-latest`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-6-astra`, `gpt-6-sol`, `gpt-6-luna`, `gpt-6.1-sol`, `gpt-5-mini`, `gpt-5-nano`, `gpt-3.5-turbo`, `gemini-1.5-pro`, `gemini-1.5-flash`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-2.5-flash-lite`, `gemini-2.5-flash`, `gemini-3-pro-preview`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.1-flash-lite-preview`, `gemini-3.1-flash-lite`, `gemini-3.5-flash`, `gemini-3.5-flash-lite`, `gemini-3.6-flash`, `gemini-3.7-flash`, `gemini-3.8-flash`, `gemini-4-argon`, `claude-sonnet-4-5`, `claude-opus-4-6`, `claude-opus-4-7`, `claude-opus-4-8`, `claude-opus-5`, `claude-opus-5-5`, `claude-sonnet-4-6`, `claude-sonnet-5`, `claude-sonnet-5-5`, `claude-sonnet-4`, `claude-haiku-4-5`, `claude-haiku-5-5`, `claude-3-7-sonnet`, `claude-3-5-sonnet`, `claude-3-5-sonnet-v1`, `claude-3-haiku`, `grok-beta`, `custom-llm`, `qwen3-4b`, `qwen3-30b-a3b`, `qwen36-35b-a3b`, `qwen35-397b-a17b`, `gpt-oss-20b`, `gpt-oss-120b`, `glm-45-air-fp8`, `glm-52`, `deepseek-v41-flash`, `nemotron-35-super-vl-nvfp4`, `gemini-2.5-flash-preview-09-2025`, `gemini-2.5-flash-lite-preview-09-2025`, `gemini-2.5-flash-preview-05-20`, `gemini-2.5-flash-preview-04-17`, `gemini-2.5-flash-lite-preview-06-17`, `gemini-2.0-flash-lite-001`, `gemini-2.0-flash-001`, `gemini-1.5-flash-002`, `gemini-1.5-flash-001`, `gemini-1.5-pro-002`, `gemini-1.5-pro-001`, `claude-sonnet-4@20250514`, `claude-sonnet-4-5@20250929`, `claude-haiku-4-5@20251001`, `claude-3-7-sonnet@20250219`, `claude-3-5-sonnet@20240620`, `claude-3-5-sonnet-v2@20241022`, `claude-3-haiku@20240307`, `gpt-5-2025-08-07`, `gpt-5.1-2025-11-13`, `gpt-5.2-2025-12-11`, `gpt-5.4-2026-03-05`, `gpt-5.4-mini-2026-03-17`, `gpt-5.4-nano-2026-03-17`, `gpt-5.5-2026-04-23`, `gpt-5-mini-2025-08-07`, `gpt-5-nano-2025-08-07`, `gpt-4.1-2025-04-14`, `gpt-4.1-mini-2025-04-14`, `gpt-4.1-nano-2025-04-14`, `gpt-4o-mini-2024-07-18`, `gpt-4o-2024-11-20`, `gpt-4o-2024-08-06`, `gpt-4o-2024-05-13`, `gpt-4-0613`, `gpt-4-0314`, `gpt-4-turbo-2024-04-09`, `gpt-3.5-turbo-0125`, `gpt-3.5-turbo-1106`, `watt-tool-8b`, `watt-tool-70b`
- `tool_ids` (list of string, optional) — एजेंट द्वारा इस्तेमाल किए गए टूल की IDs की सूची।
- `tool_ids_strict` (boolean, optional) — यह केवल कन्वर्सेशन ओवरराइड के रूप में लागू होता है और जब भी tool_ids को ओवरराइड किया जा सकता हो, तब अनुमत है। true होने पर, ओवरराइड किया गया tool_ids कन्वर्सेशन में अनुमत टूल की पूरी सूची होता है, जिसमें workflow नोड्स के टूल भी शामिल हैं। एजेंट पर सेट होने पर इसे अनदेखा किया जाता है।
- `native_mcp_server_ids` (list of string, optional) — एजेंट द्वारा उपयोग किए जाने वाले Native MCP सर्वर ids की सूची
- `knowledge_base` (list of KnowledgeBaseLocator, optional) — एजेंट द्वारा उपयोग किए जाने वाले नॉलेज बेस की सूची

### KnowledgeBaseRagChunkModel

- `chunk_id` (string, required)
- `document_id` (string, required)
- `content` (string, required)

### TransferToAgentToolResultSuccessModelOutputBranchInfo

- `branch_reason`: `configured`
  - `branch_id` (string, required)
- `branch_reason`: `defaulting_to_main`
  - `branch_id` (string, required)
- `branch_reason`: `traffic_split`
  - `branch_id` (string, required)
  - `traffic_percentage` (double, required)

### WorkflowToolResponseModelOutputStepsItem

- `type`: `edge`
  - `edge_id` (string, required)
  - `step_latency_secs` (double, required)
  - `target_node_id` (string, required)
- `type`: `max_iterations_exceeded`
  - `max_iterations` (integer, required)
  - `step_latency_secs` (double, required)
- `type`: `nested_tools`
  - `is_successful` (boolean, required)
  - `node_id` (string, required)
  - `requests` (list of ConversationHistoryTranscriptToolCallCommonModelOutput, required)
  - `results` (list of WorkflowToolNestedToolsStepModelOutputResultsItem, required)
  - `step_latency_secs` (double, required)

### KnowledgeBaseLocator

- `type` (enum, required) — नॉलेज बेस का टाइप
  - Allowed values: `file`, `url`, `text`, `folder`
- `name` (string, required) — knowledge base का नाम
- `id` (string, required) — नॉलेज बेस की ID
- `usage_mode` (enum, optional, default: auto) — नॉलेज बेस का उपयोग मोड
  - Allowed values: `prompt`, `auto`

### WorkflowToolNestedToolsStepModelOutputResultsItem

## Examples

**Response**

```json
{
  "agent_id": "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
  "status": "processing",
  "metadata": {
    "start_time_unix_secs": 1714423232,
    "call_duration_secs": 10,
    "accepted_time_unix_secs": 1,
    "queue_wait_secs": 1.1,
    "cost": 1,
    "deletion_settings": {
      "deletion_time_unix_secs": 1,
      "deleted_logs_at_time_unix_secs": 1,
      "deleted_audio_at_time_unix_secs": 1,
      "deleted_transcript_at_time_unix_secs": 1,
      "delete_transcript_and_pii": true,
      "delete_audio": true
    },
    "feedback": {
      "type": "thumbs",
      "overall_score": "like",
      "likes": 1,
      "dislikes": 1,
      "rating": 1,
      "comment": "comment"
    },
    "authorization_method": "invalid",
    "charging": {
      "dev_discount": true,
      "is_burst": true,
      "tier": "tier",
      "llm_price": 1.1,
      "llm_charge": 1,
      "call_charge": 1,
      "platform_charge": 1,
      "platform_price": 1.1,
      "free_minutes_consumed": 1.1,
      "free_llm_dollars_consumed": 1.1,
      "analysis": {
        "total": {},
        "last_run": {}
      }
    },
    "phone_call": {
      "type": "exotel",
      "agent_number": "agent_number",
      "call_sid": "call_sid",
      "direction": "inbound",
      "external_number": "external_number",
      "phone_number_id": "phone_number_id",
      "stream_sid": "stream_sid",
      "call_result": "answered"
    },
    "batch_call": {
      "batch_call_id": "batch_call_id",
      "batch_call_recipient_id": "batch_call_recipient_id",
      "campaign": {
        "campaign_id": "campaign_id",
        "campaign_lead_id": "campaign_lead_id"
      }
    },
    "termination_reason": "termination_reason",
    "error": {
      "code": 1,
      "reason": "reason"
    },
    "warnings": [
      "warnings"
    ],
    "main_language": "main_language",
    "rag_usage": {
      "usage_count": 1,
      "embedding_model": "embedding_model"
    },
    "text_only": true,
    "features_usage": {
      "pii_zrm_workspace": true,
      "pii_zrm_agent": true,
      "is_livekit": true
    },
    "eleven_assistant": {
      "is_eleven_assistant": true
    },
    "initiator_id": "initiator_id",
    "conversation_initiation_source": "unknown",
    "conversation_initiation_source_version": "conversation_initiation_source_version",
    "timezone": "timezone",
    "async_metadata": {
      "delivery_status": "pending",
      "delivery_timestamp": 1,
      "external_system": "external_system",
      "external_id": "external_id",
      "delivery_error": "delivery_error",
      "external_link": "external_link",
      "retry_count": 1,
      "last_retry_timestamp": 1,
      "last_processed_external_message_id": "last_processed_external_message_id"
    },
    "whatsapp": {
      "whatsapp_user_id": "whatsapp_user_id",
      "direction": "inbound",
      "whatsapp_phone_number_id": "whatsapp_phone_number_id",
      "awaiting_first_user_message": true,
      "call_permission_request": {
        "state": "blocked"
      }
    },
    "sms": {
      "direction": "inbound",
      "sms_user_phone_number": "sms_user_phone_number",
      "phone_number_id": "phone_number_id",
      "agent_phone_number": "agent_phone_number"
    },
    "agent_created_from": "cli",
    "agent_last_updated_from": "cli",
    "voice_rewards": [
      {
        "voice_id": "voice_id",
        "reward_usd_cents": 1.1
      }
    ],
    "cost_fiat": 1.1
  },
  "conversation_id": "conv_7401k5m9x2p8ec3rqv6dtnhb0fzw",
  "has_audio": true,
  "has_user_audio": true,
  "has_response_audio": true,
  "has_auxiliary_audio": true,
  "transcript": [
    {
      "role": "user",
      "time_in_call_secs": 10,
      "agent_metadata": {
        "agent_id": "agent_id"
      },
      "message": "Hello, how are you?",
      "multivoice_message": {
        "parts": [
          {
            "text": "text",
            "voice_label": null,
            "time_in_call_secs": null
          }
        ]
      },
      "tool_calls": [
        {
          "request_id": "request_id",
          "tool_name": "tool_name",
          "params_as_json": "params_as_json",
          "tool_has_been_called": true
        }
      ],
      "tool_results": [
        {
          "is_error": true,
          "request_id": "request_id",
          "result_value": "result_value",
          "tool_has_been_called": true,
          "tool_name": "tool_name"
        }
      ],
      "feedback": {
        "score": "like",
        "time_in_call_secs": 1
      },
      "llm_override": "llm_override",
      "producing_llm": "producing_llm",
      "rag_retrieval_info": {
        "chunks": [
          {
            "document_id": "document_id",
            "chunk_id": "chunk_id",
            "vector_distance": 1.1
          }
        ],
        "embedding_model": "e5_mistral_7b_instruct",
        "retrieval_query": "retrieval_query",
        "rag_latency_secs": 1.1
      },
      "interrupted": true,
      "ignored_as_backchannel": true,
      "platform_event": "user_turn_timeout",
      "original_message": "original_message",
      "reasoning": [
        {}
      ],
      "source_medium": "audio",
      "source_event_id": 1,
      "used_static_kb_document_ids": [
        "used_static_kb_document_ids"
      ],
      "user_identifier": "user_identifier",
      "id": "id",
      "triggered_guardrails": [
        {
          "guardrail_type": "custom"
        }
      ],
      "file_input": {
        "file_id": "file_id",
        "original_filename": "original_filename",
        "mime_type": "mime_type",
        "file_url": "file_url"
      },
      "file_inputs": [
        {
          "file_id": "file_id",
          "original_filename": "original_filename",
          "mime_type": "mime_type",
          "file_url": "file_url"
        }
      ],
      "contextual_update_info": {
        "context_id": "context_id"
      },
      "reasoned": true
    }
  ],
  "agent_name": "My agent",
  "conversation_product": "conversation_product",
  "user_id": "user_id",
  "branch_id": "branch_id",
  "version_id": "agtvrsn_5xM3yVvZQKV0EfqQpLr2",
  "analysis": {
    "call_successful": "success",
    "transcript_summary": "transcript_summary",
    "evaluation_criteria_results": {
      "key": {
        "criteria_id": "criteria_id",
        "result": "success",
        "rationale": "rationale"
      }
    },
    "data_collection_results": {
      "key": {
        "data_collection_id": "data_collection_id",
        "rationale": "rationale",
        "json_schema": {
          "type": "string",
          "description": "A user-provided message"
        }
      }
    },
    "evaluation_criteria_results_list": [
      {
        "criteria_id": "criteria_id",
        "result": "success",
        "rationale": "rationale"
      }
    ],
    "data_collection_results_list": [
      {
        "data_collection_id": "data_collection_id",
        "rationale": "rationale",
        "json_schema": {
          "type": "string",
          "description": "A user-provided message"
        }
      }
    ],
    "call_success_score": 1.1,
    "call_summary_title": "call_summary_title",
    "scoped": [
      {
        "scope": "conversation",
        "source_agent_id": "source_agent_id",
        "successful": "success"
      }
    ]
  },
  "visited_agents": [
    {
      "agent_id": "agent_id",
      "branch_id": "branch_id"
    }
  ],
  "conversation_initiation_client_data": {
    "conversation_config_override": {
      "asr": {
        "keywords": [
          "hello",
          "world"
        ]
      },
      "turn": {
        "soft_timeout_config": {
          "message": "Hhmmmm...yeah."
        }
      },
      "tts": {
        "model_id": "eleven_turbo_v2",
        "voice_id": "cjVigY5qzO86Huf0OWal",
        "stability": 0.5,
        "speed": 1,
        "similarity_boost": 0.8,
        "pronunciation_dictionary_locators": [
          {
            "pronunciation_dictionary_id": "pronunciation_dictionary_id",
            "version_id": null
          }
        ]
      },
      "conversation": {
        "max_duration_seconds": 600
      },
      "agent": {
        "first_message": "Hello, how can I help you today?",
        "language": "en",
        "prompt": {
          "prompt": "You are a helpful assistant that can answer questions about the topic of the conversation.",
          "llm": "gemini-2.0-flash-001",
          "tool_ids": [
            "tool_ids"
          ],
          "knowledge_base": [
            {
              "type": "file",
              "name": "My Knowledge Base",
              "id": "123",
              "usage_mode": "auto"
            }
          ]
        }
      }
    },
    "custom_llm_extra_body": {
      "key": "value"
    },
    "user_id": "user_id",
    "source_info": {
      "source": "unknown",
      "version": "version"
    },
    "branch_id": "branch_id",
    "environment": "environment",
    "starting_workflow_node_id": "starting_workflow_node_id",
    "procedure_ids": [
      "procedure_ids"
    ],
    "dynamic_variables": {
      "key": "value"
    }
  },
  "environment": "production",
  "tag_ids": [
    "tag_ids"
  ],
  "otlp_traces": {
    "key": "value"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM"

querystring = {"format":"json"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.elevenlabs.io/v1/convai/conversations/21m00Tcm4TlvDq8ikWAM?format=json")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```