Monitor and analyze your ElevenLabs-based voice agents
Overview
This guide walks you through setting up and monitoring your ElevenLabs-based voice agents using Cekura’s observability suite. Learn how to configure your integration and access powerful monitoring tools.
Auto-fetch
Post-call webhook
Forwarding ElevenLabs response
Auto-fetch pulls your call data from ElevenLabs every 30 seconds—no webhook configuration required.
1
Create or select an agent
In your Cekura dashboard, create a new agent or select an existing one with ElevenLabs as the voice provider.
2
Add credentials to Cekura
In the Agent Settings page:
Select ElevenLabs as the voice integration provider
Add your ElevenLabs API key
Enter your ElevenLabs Agent ID
3
Enable auto-fetch
Toggle on Auto-fetch Production Calls in the voice integration settings.
4
Test your integration
Make a test call from ElevenLabs. Within 30 seconds, your call should appear in the Cekura observability Calls section.
Auto-fetch is ideal for getting started quickly or when you can’t configure webhooks. For real-time call data, use the webhook-based setup.
If your ElevenLabs workspace has Zero Retention Mode on, auto-fetch only gets redacted transcripts and no recordings. Use the Post-call webhook tab instead.
ElevenLabs sends each call to Cekura as soon as it ends. Use this setup if your workspace has Zero Retention Mode on: ElevenLabs doesn’t keep readable transcripts or recordings, so the webhook is the only way to get them.
1
Create the webhook in ElevenLabs
In ElevenLabs, go to Developers → Webhooks and click Add endpoint:
Save, and copy the webhook secret ElevenLabs shows you.
2
Send your agent's calls to the webhook
In the ElevenLabs agents platform, open Settings, click Select Webhook under Post-Call Webhook, and pick the webhook you created. To get recordings as well as transcripts, turn on Send audio data.
This setting covers every agent in the workspace. To send only some agents’ calls, select the webhook in each of those agents’ settings instead.
3
Add the secret to your agent in Cekura
In your Cekura Agent Settings page, with ElevenLabs as the voice integration provider:
Make sure your ElevenLabs API key and Agent ID are filled in.
Paste the secret into Post-call Webhook Secret and save.
Add the secret to every Cekura agent that should receive these calls. The secret is set per agent, so agents connected to different ElevenLabs workspaces, such as staging and production, can each use their own webhook.
4
Test your integration
Make a test call to your ElevenLabs agent. Within a minute, it should appear in the Cekura observability Calls section with its transcript and, if Send audio data is on, its recording.
Once an agent has a webhook secret, Cekura stops auto-fetching its calls. You don’t need to turn off Auto-fetch Production Calls.
Calls don't appear in Cekura
Check that the secret in Cekura matches the webhook in ElevenLabs. If you’re not sure, create a new webhook and paste its secret.
Check that the Agent ID in Cekura matches your ElevenLabs agent.
ElevenLabs turns off webhooks that keep failing. Make sure the webhook is still enabled under Developers → Webhooks.
Calls appear without a recording
Turn on Send audio data in ElevenLabs. Text-only conversations never have a recording.
If you already have an existing webhook setup and want to forward the ElevenLabs response to Cekura’s observability suite:
1
Configure forwarding endpoint
Set up a forwarding mechanism to send the ElevenLabs webhook response to Cekura’s observability endpoint:
POST https://api.cekura.ai/observability/v1/observe/
2
Add authentication headers
Include your Cekura API key in the request headers:
You should first download the audio data from the ElevenLabs API using the conversation ID, then pass this binary audio data to the Cekura Observe API as shown in the code examples below.
Advanced: Code Implementation Examples
Downloading Call Audio from ElevenLabs
You can download call audio recordings directly from ElevenLabs using their API. Here’s a Python snippet that demonstrates how to retrieve call audio using the conversation ID and your ElevenLabs API key:
import requestsfrom typing import Optional, Union, Dict, Any, List, bytes# configuration variablesELEVENLABS_API_KEY = "your_elevenlabs_api_key"ELEVENLABS_API_BASE_URL = "https://api.elevenlabs.io/v1"def download_elevenlabs_call_audio(conversation_id: str, output_file: Optional[str] = None) -> Union[bytes, bool, None]: """ Download call audio recording from ElevenLabs API. Args: conversation_id (str): The ElevenLabs conversation ID output_file (str, optional): Path to save the audio file. If None, returns the audio content without saving to file. Returns: Union[bytes, bool, None]: If output_file is None, returns the audio content as bytes. If output_file is provided, returns True if successful. Returns None if the request fails. """ # API endpoint for retrieving conversation audio url = f"{ELEVENLABS_API_BASE_URL}/convai/conversations/{conversation_id}/audio" # Set up headers with API key headers = { "xi-api-key": ELEVENLABS_API_KEY, } # Make the request to ElevenLabs API response = requests.get(url, headers=headers) # Check if the request was successful if response.status_code == 200: # If output file is provided, save the file if output_file: with open(output_file, 'wb') as f: f.write(response.content) return True # Otherwise return the audio content return response.content else: print(f"Error: {response.status_code}") print(response.text) return None# Example usage:# conversation_id = "your_conversation_id"# # # Download and save to a file# download_elevenlabs_call_audio(conversation_id, "call_recording.mp3")# # # Or just get the audio content without saving# audio_content = download_elevenlabs_call_audio(conversation_id)
Sending Call Data to Cekura’s Observability API
After downloading the audio from ElevenLabs, you can send it along with the transcript data to Cekura’s observability API. Here’s how to do it:
import requestsimport jsonfrom typing import Optional, Dict, Any, List, Union# configuration variablesELEVENLABS_API_KEY = "your_elevenlabs_api_key"CEKURA_API_KEY = "your_cekura_api_key"CEKURA_AGENT_ID = "your_cekura_agent_id"CEKURA_API_BASE_URL = "https://api.cekura.ai"ELEVENLABS_API_BASE_URL = "https://api.elevenlabs.io/v1"def send_to_cekura_observe(conversation_id: str, transcript_data: List[Dict[str, Any]], audio_content: bytes) -> Optional[Dict[str, Any]]: """ Send ElevenLabs call data to Cekura's observability API. Args: conversation_id (str): The ElevenLabs conversation ID transcript_data (List[Dict[str, Any]]): The transcript data from ElevenLabs audio_content (bytes): The audio content downloaded from ElevenLabs Returns: Optional[Dict[str, Any]]: The response from the Cekura API or None if request failed """ # Cekura observability API endpoint url = f"{CEKURA_API_BASE_URL}/observability/v1/observe/" # Set up headers with Cekura API key headers = { "X-CEKURA-API-KEY": CEKURA_API_KEY } # Prepare the data payload data = { "agent": CEKURA_AGENT_ID, "call_id": conversation_id, "transcript_type": "elevenlabs", "transcript_json": json.dumps(transcript_data) } # Prepare the files payload with the audio content files = { "voice_recording": (f"elevenlabs_recording_{conversation_id}.mp3", audio_content, "audio/mpeg") } # Make the request to Cekura API response = requests.post(url, headers=headers, data=data, files=files) # Check if the request was successful if response.status_code == 201: return response.json() else: print(f"Error: {response.status_code}") print(response.text) return None# Example usage:# conversation_id = "your_conversation_id"## # First download the audio from ElevenLabs# audio_content = download_elevenlabs_call_audio(conversation_id)## # Get the transcript data from ElevenLabs (this would come from your webhook or API call)# transcript_data = [...] # Your ElevenLabs transcript data# # Send everything to Cekura# if audio_content:# result = send_to_cekura_observe(conversation_id, transcript_data, audio_content)# print(f"Call log created with ID: {result['id']}")
Extracting Agent Description from Workflows
If your ElevenLabs agent uses workflows, you can extract the complete agent description including system prompts, workflow nodes, and transfer conditions. This is useful for understanding your agent’s structure when setting up observability and monitoring.
Usage
Run the script with your agent ID and ElevenLabs API key:
python script.py <AGENT_ID> <11LABS_API_KEY>
Script
# python script.py <AGENT_ID> <11LABS_API_KEY>import requestsimport jsonimport argparsedef get_agent_description(agent_id: str, api_key: str) -> list | None: api_url = f"https://api.elevenlabs.io/v1/convai/agents/{agent_id}" headers = { "Content-Type": "application/json", "xi-api-key": api_key } try: print(f"Fetching data for agent ID: {agent_id}...") response = requests.get(api_url, headers=headers) response.raise_for_status() data = response.json() print("Successfully fetched data.") except requests.exceptions.RequestException as e: print(f"Error: Failed to fetch data from API. {e}") return None agent_description = [] try: system_prompt = data['conversation_config']['agent']['prompt']['prompt'] agent_description.append({ "node name": "system", "node prompt": system_prompt }) except KeyError: print("Warning: Could not find the main system prompt.") agent_description.append({ "node name": "system", "node prompt": "Prompt not found in API response." }) workflow = data.get('workflow', {}) if not workflow: print("No workflow found for this agent.") return agent_description nodes = workflow.get('nodes', {}) edges = workflow.get('edges', {}) for node_id, node_data in nodes.items(): if node_data.get('type') == 'start': continue node_name = node_data.get('label', 'Unnamed Node') node_prompt = node_data.get('additional_prompt', '') transfer_conditions = [] if edges: for edge_data in edges.values(): if edge_data.get('target') == node_id: fwd_cond = edge_data.get('forward_condition') if fwd_cond and fwd_cond.get('type') != 'unconditional': condition_text = fwd_cond.get('condition') or fwd_cond.get('label') if condition_text: transfer_conditions.append(condition_text) bwd_cond = edge_data.get('backward_condition') if bwd_cond: condition_text = bwd_cond.get('condition') or bwd_cond.get('label') if condition_text: transfer_conditions.append(condition_text) agent_description.append({ "node name": node_name, "node prompt": node_prompt, "transfer conditions": transfer_conditions }) return agent_descriptionif __name__ == "__main__": parser = argparse.ArgumentParser(description="Fetch and format agent data from the Eleven Labs API.") parser.add_argument("agent_id", type=str, help="The ID of the Eleven Labs agent to query.") parser.add_argument("api_key", type=str, help="Your Eleven Labs API key.") args = parser.parse_args() description = get_agent_description(args.agent_id, args.api_key) if description: print("\n--- Generated Agent Description ---") print(json.dumps(description, indent=2)) print("---------------------------------\n")
This script retrieves the agent’s configuration from ElevenLabs, including the system prompt and all workflow nodes with their prompts and transfer conditions. The output is formatted as JSON and can be used to understand your agent’s conversation flow when analyzing call logs in Cekura’s observability suite.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cekura","colors":{"primary":"#8184FF","light":"#A6A7EA","dark":"#8184FF"},"logo":{"light":"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=fe825439de9afd1d121723398224f0fe","dark":"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/light.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=f71dda7aa2212d127512fb4e6b40961a"},"favicon":"https://mintcdn.com/vocera/-ehbdLduj39oRXOg/logo/favicon.png?fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=e32d4e5dc1d57d5e2b2fc594b73f0bb2","api":{"openapi":"openapi.json"},"navbar":{"links":[{"href":"mailto:support@cekura.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.cekura.ai"}},"footer":{"socials":{"x":"https://x.com/CekuraAI","linkedin":"https://www.linkedin.com/company/cekuraai"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vocera","hasAudioNarration":false,"actualSubdomain":"vocera","customDomains":["docs.cekura.ai"],"gitSource":{"type":"github","owner":"cekura-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b03f4183ca2a55c00692fbc","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":412},{"language":"default","tag":"Documentation","count":106},{"language":"default","tag":"Evaluators","count":64},{"language":"default","tag":"Guides","count":40},{"language":"default","tag":"Metrics","count":37},{"language":"default","tag":"Others","count":35},{"language":"default","tag":"Integrations","count":27},{"language":"default","tag":"Testing","count":23},{"language":"default","tag":"Key Concepts","count":19},{"language":"default","tag":"Advanced","count":18}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar img{height:36px}.dark #sidebar-group img{background-color:transparent!important}#content-container::before{content:\"\";position:fixed;top:-190px;right:0;width:40%;height:124%;opacity:0.4;background-repeat:no-repeat;background-image:url(\"/images/bg-dark.png\")}"}]}
{"page":{"pagePath":"documentation/integrations/elevenlabs/observability","slug":"/documentation/integrations/elevenlabs/observability","pageMetadata":{"title":"Observability","sidebarTitle":"ElevenLabs Observability","icon":"chart-column","iconType":"regular","description":"Monitor and analyze your ElevenLabs-based voice agents","href":"/documentation/integrations/elevenlabs/observability"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Monitor and analyze your ElevenLabs-based voice agents\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const CopyPageButton=()=>{if(typeof window!==`undefined`){setTimeout(function(){if(document.getElementById(`ck-tools`))return;var anchor=document.getElementById(`content-area`)||document.querySelector(`.mdx-content`);if(!anchor)return;if(!document.getElementById(`ck-style`)){var s=document.createElement(`style`);s.id=`ck-style`;s.textContent=`#ck-tools{position:absolute;top:6px;right:0;z-index:100;font-family:inherit;}`+`.ck-row{display:inline-flex;align-items:stretch;border:1px solid rgba(0,0,0,0.15);border-radius:8px;overflow:hidden;background:#fff;}`+`:root.dark .ck-row{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.12);}`+`.ck-btn{padding:5px 12px;border:none;background:none;cursor:pointer;font-size:13px;font-weight:500;font-family:inherit;color:#374151;}`+`:root.dark .ck-btn{color:#d1d5db;}`+`.ck-btn:hover{background:rgba(0,0,0,0.04);}`+`:root.dark .ck-btn:hover{background:rgba(255,255,255,0.06);}`+`.ck-chevron{padding:5px 8px;border:none;background:none;cursor:pointer;font-size:14px;font-family:inherit;color:#374151;}`+`:root.dark .ck-chevron{color:#d1d5db;}`+`.ck-chevron:hover{background:rgba(0,0,0,0.04);}`+`:root.dark .ck-chevron:hover{background:rgba(255,255,255,0.06);}`+`.ck-divider{width:1px;background:rgba(0,0,0,0.12);flex-shrink:0;}`+`:root.dark .ck-divider{background:rgba(255,255,255,0.12);}`+`.ck-dd{position:absolute;top:calc(100% + 4px);right:0;min-width:180px;background:#fff;border:1px solid rgba(0,0,0,0.12);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.1);padding:4px;display:none;z-index:200;}`+`:root.dark .ck-dd{background:#1f2937;border-color:rgba(255,255,255,0.1);box-shadow:0 4px 16px rgba(0,0,0,0.35);}`+`.ck-item{display:block;width:100%;padding:7px 12px;border:none;background:none;border-radius:6px;cursor:pointer;font-size:13px;font-family:inherit;text-align:left;color:#374151;}`+`:root.dark .ck-item{color:#d1d5db;}`+`.ck-item:hover{background:rgba(0,0,0,0.05);}`+`:root.dark .ck-item:hover{background:rgba(255,255,255,0.07);}`;document.head.appendChild(s)}var wrap=document.createElement(`div`);wrap.id=`ck-tools`;var row=document.createElement(`div`);row.className=`ck-row`;var mainBtn=document.createElement(`button`);mainBtn.className=`ck-btn`;mainBtn.textContent=`Copy page`;var divider=document.createElement(`span`);divider.className=`ck-divider`;var chevron=document.createElement(`button`);chevron.className=`ck-chevron`;chevron.textContent=`▾`;var dd=document.createElement(`div`);dd.className=`ck-dd`;function closeDD(){dd.style.display=`none`}function openDD(){dd.style.display=`block`}chevron.onclick=function(e){e.stopPropagation();if(dd.style.display===`block`){closeDD()}else{openDD()}};document.addEventListener(`click`,function(e){if(!e.target.closest(`#ck-tools`)){closeDD()}});document.addEventListener(`keydown`,function(e){if(e.key===`Escape`){closeDD()}});function makeItem(label,fn){var b=document.createElement(`button`);b.className=`ck-item`;b.textContent=label;b.onclick=function(){fn();closeDD()};return b}function getMarkdown(){var walk=function(node){if(!node)return``;if(node.nodeType===3)return node.textContent||``;if(node.nodeType!==1)return``;var tag=node.tagName.toLowerCase();var skip=[`script`,`style`,`svg`,`noscript`,`button`,`iframe`];if(skip.indexOf(tag)!==-1)return``;if(node.id===`ck-tools`)return``;var ch=Array.from(node.childNodes).map(walk).join(``);if(tag===`h1`)return`\n# `+ch.trim()+`\n\n`;if(tag===`h2`)return`\n## `+ch.trim()+`\n\n`;if(tag===`h3`)return`\n### `+ch.trim()+`\n\n`;if(tag===`p`)return`\n`+ch.trim()+`\n\n`;if(tag===`pre`)return\"\\n```\\n\"+node.textContent.trim()+`\n\\`\\`\\`\n\n`;if(tag===`li`)return`- `+ch.trim()+`\n`;if(tag===`code`)return\"`\"+ch.trim()+\"`\";return ch};var content=document.querySelector(`.mdx-content`)||document.getElementById(`content-area`)||document.body;return walk(content).replace(/\\n\\n\\n+/g,`\n\n`).trim()}function copyMd(){var md=getMarkdown();navigator.clipboard.writeText(md).then(function(){mainBtn.textContent=`Copied!`;setTimeout(function(){mainBtn.textContent=`Copy page`},2e3)})}function viewMd(){var md=getMarkdown();var safe=md.split(`\u0026`).join(`\u0026amp;`).split(`\u003c`).join(`\u0026lt;`).split(`>`).join(`\u0026gt;`);var html=`\u003c!DOCTYPE html>\u003chtml>\u003chead>\u003cmeta charset=\"utf-8\">\u003cstyle>body{font-family:monospace;max-width:860px;margin:40px auto;padding:0 24px;line-height:1.7;white-space:pre-wrap;word-wrap:break-word}\u003c/style>\u003c/head>\u003cbody>`+safe+`\u003c/body>\u003c/html>`;window.open(URL.createObjectURL(new Blob([html],{type:`text/html`})),`_blank`)}function openClaude(){var prompt=`Can you read this Cekura docs page `+window.location.href+` so I can ask you questions?`;window.open(`https://claude.ai/new?q=`+encodeURIComponent(prompt),`_blank`)}mainBtn.onclick=copyMd;dd.appendChild(makeItem(`Copy page`,copyMd));dd.appendChild(makeItem(`View as Markdown`,viewMd));dd.appendChild(makeItem(`Open in Claude`,openClaude));row.appendChild(mainBtn);row.appendChild(divider);row.appendChild(chevron);wrap.appendChild(row);wrap.appendChild(dd);anchor.style.position=`relative`;anchor.insertBefore(wrap,anchor.firstChild)},50)}return null};function _createMdxContent(props){const _components={code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,OptimizedImage,Step,Steps,Tab,Tabs,Tip,_MdxComponentBoundary}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`CopyPageButton`,children:_jsx(CopyPageButton,{})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This guide walks you through setting up and monitoring your ElevenLabs-based voice agents using Cekura’s observability suite. Learn how to configure your integration and access powerful monitoring tools.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Auto-fetch`,id:`auto-fetch`,children:[_jsx(_components.p,{children:`Auto-fetch pulls your call data from ElevenLabs every 30 seconds—no webhook configuration required.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Create or select an agent`,children:_jsx(_components.p,{children:`In your Cekura dashboard, create a new agent or select an existing one with ElevenLabs as the voice provider.`})}),_jsxs(Step,{title:`Add credentials to Cekura`,children:[_jsx(_components.p,{children:`In the Agent Settings page:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`ElevenLabs`}),` as the voice integration provider`]}),`\n`,_jsx(_components.li,{children:`Add your ElevenLabs API key`}),`\n`,_jsx(_components.li,{children:`Enter your ElevenLabs Agent ID`}),`\n`]})]}),_jsx(Step,{title:`Enable auto-fetch`,children:_jsxs(_components.p,{children:[`Toggle on `,_jsx(_components.strong,{children:`Auto-fetch Production Calls`}),` in the voice integration settings.`]})}),_jsx(Step,{title:`Test your integration`,children:_jsxs(_components.p,{children:[`Make a test call from ElevenLabs. Within 30 seconds, your call should appear in the Cekura observability `,_jsx(_components.code,{children:`Calls`}),` section.`]})})]}),_jsx(Tip,{children:_jsx(_components.p,{children:`Auto-fetch is ideal for getting started quickly or when you can’t configure webhooks. For real-time call data, use the webhook-based setup.`})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`If your ElevenLabs workspace has `,_jsx(_components.strong,{children:`Zero Retention Mode`}),` on, auto-fetch only gets redacted transcripts and no recordings. Use the `,_jsx(_components.strong,{children:`Post-call webhook`}),` tab instead.`]})})]}),_jsxs(Tab,{title:`Post-call webhook`,id:`post-call-webhook`,children:[_jsxs(_components.p,{children:[`ElevenLabs sends each call to Cekura as soon as it ends. Use this setup if your workspace has `,_jsx(_components.strong,{children:`Zero Retention Mode`}),` on: ElevenLabs doesn’t keep readable transcripts or recordings, so the webhook is the only way to get them.`]}),_jsxs(Steps,{children:[_jsxs(Step,{title:`Create the webhook in ElevenLabs`,children:[_jsxs(_components.p,{children:[`In ElevenLabs, go to `,_jsx(_components.strong,{children:`Developers → Webhooks`}),` and click `,_jsx(_components.strong,{children:`Add endpoint`}),`:`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Enter the Cekura webhook URL:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.cekura.ai/observability/v1/elevenlabs/observe/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`HMAC`}),` as the authentication method.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Save, and copy the webhook secret ElevenLabs shows you.`}),`\n`]}),`\n`]})]}),_jsxs(Step,{title:`Send your agent's calls to the webhook`,children:[_jsxs(_components.p,{children:[`In the ElevenLabs agents platform, open `,_jsx(_components.strong,{children:`Settings`}),`, click `,_jsx(_components.strong,{children:`Select Webhook`}),` under `,_jsx(_components.strong,{children:`Post-Call Webhook`}),`, and pick the webhook you created. To get recordings as well as transcripts, turn on `,_jsx(_components.strong,{children:`Send audio data`}),`.`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=63e402d5a616bbade8afa73f9656f73c`,alt:`ElevenLabs post-call webhook settings`,\"data-og-width\":`1338`,width:`1338`,\"data-og-height\":`868`,height:`868`,\"data-path\":`images/elevenlabs-observe.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=280\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=6aafe308d03f8479c7263c57456f78fc 280w, https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=560\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=31d7957979e8a7af2d997417fbd5514c 560w, https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=840\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=0c5208b19e16f4a7f48279f11787af4d 840w, https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=3bb612d93077e520c5c0241fde2a7922 1100w, https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=142118bd4870aa80b2cc54998a35f57a 1650w, https://mintcdn.com/vocera/-ehbdLduj39oRXOg/images/elevenlabs-observe.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-ehbdLduj39oRXOg\u0026q=85\u0026s=8106e2018c451787bfeca83267842214 2500w`}),_jsx(Tip,{children:_jsx(_components.p,{children:`This setting covers every agent in the workspace. To send only some agents’ calls, select the webhook in each of those agents’ settings instead.`})})]}),_jsxs(Step,{title:`Add the secret to your agent in Cekura`,children:[_jsxs(_components.p,{children:[`In your Cekura Agent Settings page, with `,_jsx(_components.strong,{children:`ElevenLabs`}),` as the voice integration provider:`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Make sure your ElevenLabs API key and Agent ID are filled in.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Paste the secret into `,_jsx(_components.strong,{children:`Post-call Webhook Secret`}),` and save.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=137691791557d09190dd54835cd2f55c`,alt:`ElevenLabs Agent Settings`,\"data-og-width\":`1371`,width:`1371`,\"data-og-height\":`912`,height:`912`,\"data-path\":`images/elevenlabs/agent-settings.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=280\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=b826e3119f70d525e32a8807f7f2092e 280w, https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=560\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=c536f854dd874b4239ac91ca5eb31c65 560w, https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=840\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=e978fc4f42794ed4525c753c550a2e2c 840w, https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=1100\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=79c4d66b54ba231e1a0efe7a5c24a4f6 1100w, https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=1650\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=73c81b87be866ff2c5694574468ef3e1 1650w, https://mintcdn.com/vocera/TwfRd5EQeiW9Y10g/images/elevenlabs/agent-settings.png?w=2500\u0026fit=max\u0026auto=format\u0026n=TwfRd5EQeiW9Y10g\u0026q=85\u0026s=2dcd26820c7689e4db671236b3cc926f 2500w`}),`\n`]}),`\n`]}),_jsx(_components.p,{children:`Add the secret to every Cekura agent that should receive these calls. The secret is set per agent, so agents connected to different ElevenLabs workspaces, such as staging and production, can each use their own webhook.`})]}),_jsx(Step,{title:`Test your integration`,children:_jsxs(_components.p,{children:[`Make a test call to your ElevenLabs agent. Within a minute, it should appear in the Cekura observability `,_jsx(_components.code,{children:`Calls`}),` section with its transcript and, if `,_jsx(_components.strong,{children:`Send audio data`}),` is on, its recording.`]})})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Once an agent has a webhook secret, Cekura stops auto-fetching its calls. You don’t need to turn off `,_jsx(_components.strong,{children:`Auto-fetch Production Calls`}),`.`]})}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Calls don't appear in Cekura`,id:`calls-dont-appear-in-cekura`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Check that the secret in Cekura matches the webhook in ElevenLabs. If you’re not sure, create a new webhook and paste its secret.`}),`\n`,_jsx(_components.li,{children:`Check that the Agent ID in Cekura matches your ElevenLabs agent.`}),`\n`,_jsxs(_components.li,{children:[`ElevenLabs turns off webhooks that keep failing. Make sure the webhook is still enabled under `,_jsx(_components.strong,{children:`Developers → Webhooks`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`Calls appear without a recording`,id:`calls-appear-without-a-recording`,children:_jsxs(_components.p,{children:[`Turn on `,_jsx(_components.strong,{children:`Send audio data`}),` in ElevenLabs. Text-only conversations never have a recording.`]})})]})]}),_jsxs(Tab,{title:`Forwarding ElevenLabs response`,id:`forwarding-elevenlabs-response`,children:[_jsx(_components.p,{children:`If you already have an existing webhook setup and want to forward the ElevenLabs response to Cekura’s observability suite:`}),_jsxs(Steps,{children:[_jsxs(Step,{title:`Configure forwarding endpoint`,children:[_jsx(_components.p,{children:`Set up a forwarding mechanism to send the ElevenLabs webhook response to Cekura’s observability endpoint:`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.cekura.ai/observability/v1/observe/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Step,{title:`Add authentication headers`,children:[_jsx(_components.p,{children:`Include your Cekura API key in the request headers:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-CEKURA-API-KEY: \u003cyour_cekura_api_key>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Type: multipart/form-data`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Step,{title:`Forward the request body`,children:[_jsx(_components.p,{children:`Forward the ElevenLabs webhook response to Cekura with the following request body structure:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\u003cagent_id_in_cekura>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transcript_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"elevenlabs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transcript_json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`elevenlabs_response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`elevenlabs_response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_recording\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\u003cbinary_audio_file>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Note,{children:_jsx(_components.p,{children:`You should first download the audio data from the ElevenLabs API using the conversation ID, then pass this binary audio data to the Cekura Observe API as shown in the code examples below.`})})]})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-code-implementation-examples`,children:`Advanced: Code Implementation Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`downloading-call-audio-from-elevenlabs`,children:`Downloading Call Audio from ElevenLabs`}),`\n`,_jsx(_components.p,{children:`You can download call audio recordings directly from ElevenLabs using their API. Here’s a Python snippet that demonstrates how to retrieve call audio using the conversation ID and your ElevenLabs API key:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`56`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`56`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` typing `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Optional, Union, Dict, Any, List, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bytes`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# configuration variables`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your_elevenlabs_api_key\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.elevenlabs.io/v1\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` download_elevenlabs_call_audio`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`conversation_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`output_file`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Optional[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) -> Union[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bytes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`None`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Download call audio recording from ElevenLabs API.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Args:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` conversation_id (str): The ElevenLabs conversation ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` output_file (str, optional): Path to save the audio file. If None, returns the audio content`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` without saving to file.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Returns:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Union[bytes, bool, None]: If output_file is None, returns the audio content as bytes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` If output_file is provided, returns True if successful.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Returns None if the request fails.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # API endpoint for retrieving conversation audio`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/convai/conversations/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversation_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/audio\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Set up headers with API key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"xi-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Make the request to ElevenLabs API`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Check if the request was successful`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.status_code `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # If output file is provided, save the file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` output_file:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` with`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(output_file, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'wb'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f.write(response.content)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` True`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Otherwise return the audio content`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.content`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.status_code`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.text)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Example usage:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# conversation_id = \"your_conversation_id\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# # Download and save to a file`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# download_elevenlabs_call_audio(conversation_id, \"call_recording.mp3\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# # Or just get the audio content without saving`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# audio_content = download_elevenlabs_call_audio(conversation_id)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`sending-call-data-to-cekura’s-observability-api`,children:`Sending Call Data to Cekura’s Observability API`}),`\n`,_jsx(_components.p,{children:`After downloading the audio from ElevenLabs, you can send it along with the transcript data to Cekura’s observability API. Here’s how to do it:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`71`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`71`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` typing `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Optional, Dict, Any, List, Union`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# configuration variables`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your_elevenlabs_api_key\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your_cekura_api_key\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_AGENT_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your_cekura_agent_id\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_API_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.cekura.ai\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ELEVENLABS_API_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.elevenlabs.io/v1\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` send_to_cekura_observe`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`conversation_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`transcript_data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: List[Dict[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, Any]], `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` audio_content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bytes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) -> Optional[Dict[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, Any]]:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Send ElevenLabs call data to Cekura's observability API.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Args:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` conversation_id (str): The ElevenLabs conversation ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` transcript_data (List[Dict[str, Any]]): The transcript data from ElevenLabs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` audio_content (bytes): The audio content downloaded from ElevenLabs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Returns:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Optional[Dict[str, Any]]: The response from the Cekura API or None if request failed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Cekura observability API endpoint`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_API_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/observability/v1/observe/\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Set up headers with Cekura API key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-CEKURA-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Prepare the data payload`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`CEKURA_AGENT_ID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation_id,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transcript_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"elevenlabs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transcript_json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: json.dumps(transcript_data)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Prepare the files payload with the audio content`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` files `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voice_recording\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"elevenlabs_recording_`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversation_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, audio_content, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio/mpeg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Make the request to Cekura API`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`files`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`files)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Check if the request was successful`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.status_code `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 201`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.status_code`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.text)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Example usage:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# conversation_id = \"your_conversation_id\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`#`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# # First download the audio from ElevenLabs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# audio_content = download_elevenlabs_call_audio(conversation_id)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`#`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# # Get the transcript data from ElevenLabs (this would come from your webhook or API call)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# transcript_data = [...] # Your ElevenLabs transcript data`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# # Send everything to Cekura`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# if audio_content:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# result = send_to_cekura_observe(conversation_id, transcript_data, audio_content)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# print(f\"Call log created with ID: {result['id']}\")`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`extracting-agent-description-from-workflows`,children:`Extracting Agent Description from Workflows`}),`\n`,_jsx(_components.p,{children:`If your ElevenLabs agent uses workflows, you can extract the complete agent description including system prompts, workflow nodes, and transfer conditions. This is useful for understanding your agent’s structure when setting up observability and monitoring.`}),`\n`,_jsx(Heading,{level:`4`,id:`usage`,children:`Usage`}),`\n`,_jsx(_components.p,{children:`Run the script with your agent ID and ElevenLabs API key:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` script.py`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`AGENT_I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`D`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`11LABS_API_KE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Y`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`script`,children:`Script`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`90`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`90`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# python script.py \u003cAGENT_ID> \u003c11LABS_API_KEY>`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` argparse`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` get_agent_description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`agent_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`api_key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) -> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`list`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` api_url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.elevenlabs.io/v1/convai/agents/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"xi-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: api_key`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Fetching data for agent ID: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`agent_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(api_url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Successfully fetched data.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` except`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.exceptions.RequestException `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` e:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error: Failed to fetch data from API. `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` system_prompt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'conversation_config'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'agent'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'prompt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'prompt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description.append({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: system_prompt`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` except`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` KeyError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Warning: Could not find the main system prompt.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description.append({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prompt not found in API response.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'workflow'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No workflow found for this agent.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nodes `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'nodes'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edges `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` workflow.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'edges'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {})`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_id, node_data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nodes.items():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'start'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` continue`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_name `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'label'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Unnamed Node'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_prompt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'additional_prompt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transfer_conditions `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edges:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edge_data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edges.values():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edge_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'target'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` node_id:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fwd_cond `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edge_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'forward_condition'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fwd_cond `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`and`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fwd_cond.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'unconditional'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` condition_text `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fwd_cond.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'condition'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`or`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fwd_cond.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'label'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` condition_text:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transfer_conditions.append(condition_text)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bwd_cond `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` edge_data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'backward_condition'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bwd_cond:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` condition_text `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bwd_cond.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'condition'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`or`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bwd_cond.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'label'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` condition_text:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transfer_conditions.append(condition_text)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description.append({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: node_name,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: node_prompt,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transfer conditions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: transfer_conditions`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` agent_description`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` __name__`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"__main__\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parser `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` argparse.ArgumentParser(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Fetch and format agent data from the Eleven Labs API.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parser.add_argument(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`help`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The ID of the Eleven Labs agent to query.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parser.add_argument(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`help`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your Eleven Labs API key.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` args `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parser.parse_args()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` description `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` get_agent_description(args.agent_id, args.api_key)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` description:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`--- Generated Agent Description ---\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(json.dumps(description, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`indent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"---------------------------------`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`This script retrieves the agent’s configuration from ElevenLabs, including the system prompt and all workflow nodes with their prompts and transfer conditions. The output is formatted as JSON and can be used to understand your agent’s conversation flow when analyzing call logs in Cekura’s observability suite.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{CopyPageButton,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Observability","sidebarTitle":"ElevenLabs Observability","icon":"chart-column","iconType":"regular","description":"Monitor and analyze your ElevenLabs-based voice agents","href":"/documentation/integrations/elevenlabs/observability"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[153,5217,"null;function _creat"]]},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Advanced: Code Implementation Examples","slug":"advanced-code-implementation-examples","depth":2,"children":[{"title":"Downloading Call Audio from ElevenLabs","slug":"downloading-call-audio-from-elevenlabs","depth":3,"children":[]},{"title":"Sending Call Data to Cekura’s Observability API","slug":"sending-call-data-to-cekura’s-observability-api","depth":3,"children":[]},{"title":"Extracting Agent Description from Workflows","slug":"extracting-agent-description-from-workflows","depth":3,"children":[]},{"title":"Usage","slug":"usage","depth":4,"children":[]},{"title":"Script","slug":"script","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vocera/b06c8fbedf65997d/old-api-docs.js"],"subdomain":"vocera","siteName":"Cekura","title":"Observability - Cekura","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T05:57:34.055Z","originalFileLocation":"documentation/integrations/elevenlabs/observability.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Monitor and analyze your ElevenLabs-based voice agents\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cekura\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Observability - Cekura\">\u003cmeta data-mint-head property=\"og:description\" content=\"Monitor and analyze your ElevenLabs-based voice agents\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cekura\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vocera.mintlify.site/_mintlify/api/og/v2?division=ElevenLabs\u0026amp;title=Observability\u0026amp;description=Monitor+and+analyze+your+ElevenLabs-based+voice+agents\u0026amp;theme=e3781130daaee1d746281e86\u0026amp;signature=e921c25c5346e636280c88788d4ced63590d8e0cabdbfbb7f73b81df72b9b84a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Observability - Cekura\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Monitor and analyze your ElevenLabs-based voice agents\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vocera.mintlify.site/_mintlify/api/og/v2?division=ElevenLabs\u0026amp;title=Observability\u0026amp;description=Monitor+and+analyze+your+ElevenLabs-based+voice+agents\u0026amp;theme=e3781130daaee1d746281e86\u0026amp;signature=e921c25c5346e636280c88788d4ced63590d8e0cabdbfbb7f73b81df72b9b84a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vocera/YLwQi89HOY9MYteg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cekura\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8184FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/integrations/elevenlabs/observability.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cekura.ai/#organization\",\"name\":\"Cekura\",\"url\":\"https://docs.cekura.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vocera/NnWFOccGgHKr48PP/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=NnWFOccGgHKr48PP\u0026q=85\u0026s=fe825439de9afd1d121723398224f0fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cekura.ai#website\",\"name\":\"Cekura\",\"url\":\"https://docs.cekura.ai\",\"publisher\":{\"@id\":\"https://docs.cekura.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability#webpage\",\"url\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability\",\"name\":\"Observability\",\"description\":\"Monitor and analyze your ElevenLabs-based voice agents\",\"dateModified\":\"2026-11-04T05:57:34.055Z\",\"isPartOf\":{\"@id\":\"https://docs.cekura.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://docs.cekura.ai/documentation/integrations/retell/testing\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ElevenLabs\",\"item\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/testing\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Observability\",\"item\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability#article\",\"headline\":\"Observability\",\"name\":\"Observability\",\"description\":\"Monitor and analyze your ElevenLabs-based voice agents\",\"url\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cekura.ai/documentation/integrations/elevenlabs/observability#webpage\"},\"dateModified\":\"2026-11-04T05:57:34.055Z\",\"publisher\":{\"@id\":\"https://docs.cekura.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cekura.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cekura\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cekura\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/documentation/integrations/elevenlabs/observability.md","siteName":"Cekura","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"book-open","iconType":"regular","href":"/documentation/introduction"},{"title":"Video Tutorials","sidebarTitle":"Video Tutorials","icon":"video","iconType":"regular","href":"/documentation/video_tutorials"}]},{"group":"Key Concepts","pages":[{"group":"Agents","icon":"robot","pages":[{"title":"Overview","sidebarTitle":"Agent Overview","icon":"robot","iconType":"regular","href":"/documentation/key-concepts/agents/overview"},{"title":"Agent Setup Guide","sidebarTitle":"Setup Guide","icon":"file-lines","iconType":"regular","href":"/documentation/key-concepts/agents/Agent_Setup_Guide"}]},{"group":"Evaluators","icon":"chart-candlestick","pages":[{"title":"Overview","sidebarTitle":"Evaluator Overview","icon":"flask-vial","iconType":"regular","href":"/documentation/key-concepts/evaluators/overview"},{"title":"Structured Tests","sidebarTitle":"Structured Tests","icon":"code-branch","iconType":"regular","href":"/documentation/key-concepts/evaluators/conditional-actions"},{"title":"Personality","sidebarTitle":"Personality","icon":"user-gear","iconType":"regular","href":"/documentation/key-concepts/evaluators/personality"},{"title":"Test Profile","sidebarTitle":"Test Profile","icon":"id-card","iconType":"regular","href":"/documentation/key-concepts/evaluators/test-profile"},{"title":"Mock Tools","sidebarTitle":"Mock Tools","icon":"wrench","iconType":"regular","href":"/documentation/key-concepts/evaluators/mock-tools"},{"title":"Dynamic Variables","sidebarTitle":"Dynamic Variables","icon":"code","iconType":"regular","href":"/documentation/key-concepts/evaluators/dynamic-variables"},{"group":"Phone Numbers","icon":"phone","pages":[{"title":"Import Twilio Phone Numbers","sidebarTitle":"Twilio","icon":"phone","iconType":"regular","href":"/documentation/key-concepts/phone-numbers/twilio"},{"title":"Import Plivo Phone Numbers","sidebarTitle":"Plivo","icon":"phone","iconType":"regular","href":"/documentation/key-concepts/phone-numbers/plivo"}]}]},{"group":"Metrics","icon":"database","pages":[{"title":"Overview","sidebarTitle":"Metrics Overview","icon":"chart-line","iconType":"solid","href":"/documentation/key-concepts/metrics/overview"},{"title":"Pre-Defined Metrics","sidebarTitle":"Pre-Defined Metrics","icon":"list-check","iconType":"solid","href":"/documentation/key-concepts/metrics/pre-defined-metrics"},{"title":"Output Types of Metric","sidebarTitle":"Output Types of Metric","icon":"sliders","iconType":"regular","href":"/documentation/key-concepts/metrics/output-types-of-metric"},{"title":"LLM Judge Metric","sidebarTitle":"LLM Judge Metric","icon":"brain","iconType":"solid","href":"/documentation/key-concepts/metrics/llm-judge-metric"},{"title":"Build a Metric with AI","sidebarTitle":"Build with AI","icon":"wand-magic-sparkles","iconType":"solid","href":"/documentation/key-concepts/metrics/build-with-ai"},{"title":"Metric Variables","sidebarTitle":"Available Variables","icon":"brackets-curly","iconType":"solid","href":"/documentation/key-concepts/metrics/metric-variables"},{"title":"Python Metric","sidebarTitle":"Python Metric","icon":"code","iconType":"solid","href":"/documentation/key-concepts/metrics/python-metric"},{"title":"Rubric Configuration","sidebarTitle":"Rubric Configuration","icon":"clipboard-check","iconType":"regular","href":"/documentation/key-concepts/metrics/rubric"},{"title":"Metric Sampling","sidebarTitle":"Metric Sampling","icon":"percent","iconType":"solid","href":"/documentation/key-concepts/metrics/sampling"}]}]},{"group":"Guides","pages":[{"title":"Organizing Projects, Agents \u0026 Evaluators","sidebarTitle":"Organizing Your Workspace","icon":"folder-tree","iconType":"regular","href":"/documentation/guides/organizing-projects"},{"group":"Testing","icon":"flask","pages":[{"title":"Overview","sidebarTitle":"Testing Overview","icon":"vial","iconType":"regular","href":"/documentation/guides/testing-agents/overview"},{"title":"Infrastructure Suite","sidebarTitle":"Infrastructure Suite","icon":"server","iconType":"regular","href":"/documentation/guides/testing-agents/infrastructure-suite"},{"title":"Suggested Testing Approach","sidebarTitle":"Testing Approach","icon":"clipboard-list","iconType":"regular","href":"/documentation/guides/testing-agents/suggested-testing-approach"},{"title":"Testing Knowledge Base Accuracy","sidebarTitle":"Knowledge Base Testing","icon":"book-open","iconType":"regular","href":"/documentation/guides/testing-agents/knowledge-base-testing"},{"title":"Testing Inbound Agents","sidebarTitle":"Testing Inbound Agents","icon":"phone-arrow-down-left","iconType":"regular","href":"/documentation/guides/testing-agents/inbound-auto-call"},{"title":"Testing Outbound Calls","sidebarTitle":"Outbound Calls","icon":"phone-arrow-up-right","iconType":"regular","href":"/documentation/guides/testing-agents/outbound-evaluators"},{"title":"Auto Outbound Calls","sidebarTitle":"Auto Outbound Calls","icon":"phone-volume","iconType":"regular","href":"/documentation/guides/testing-agents/outbound-auto-call"},{"title":"Load Testing","sidebarTitle":"Load Testing","icon":"gauge-high","iconType":"regular","href":"/documentation/guides/testing-agents/load-testing"},{"title":"A/B Testing","sidebarTitle":"A/B Testing","icon":"code-compare","iconType":"regular","href":"/documentation/guides/testing-agents/ab-testing"},{"title":"Multilingual Testing","sidebarTitle":"Multilingual Testing","icon":"language","iconType":"regular","href":"/documentation/guides/testing-agents/multilingual-testing"},{"title":"Accent Testing","sidebarTitle":"Accent Testing","icon":"microphone","iconType":"regular","href":"/documentation/guides/testing-agents/accent-testing"},{"title":"Tool Call Testing","sidebarTitle":"Tool Call Testing","icon":"wrench","iconType":"regular","href":"/documentation/guides/testing-agents/tool-call-testing"},{"title":"SMS During Call","sidebarTitle":"SMS During Call","icon":"message","iconType":"regular","href":"/documentation/guides/testing-agents/sms-during-call"},{"title":"WhatsApp Testing","sidebarTitle":"WhatsApp Testing","icon":"whatsapp","iconType":"brands","href":"/documentation/guides/testing-agents/whatsapp-testing"},{"title":"Email Testing","sidebarTitle":"Email Testing","icon":"envelope","href":"/documentation/guides/testing-agents/email-testing"},{"title":"DTMF Testing","sidebarTitle":"DTMF Testing","icon":"phone-office","iconType":"regular","href":"/documentation/guides/testing-agents/dtmf-testing"},{"title":"Red Teaming","sidebarTitle":"Red Teaming","icon":"shield-halved","iconType":"regular","href":"/documentation/red-teaming/multi-turn"},{"title":"Tests as Code","sidebarTitle":"Tests as Code","icon":"file-code","iconType":"regular","href":"/documentation/guides/testing-agents/tests-as-code"},{"title":"Result Statuses and Gating","sidebarTitle":"Result Statuses and Gating","icon":"traffic-light","href":"/documentation/guides/testing-agents/result-statuses"},{"title":"GitHub Actions Tutorial","sidebarTitle":"GitHub Actions Tutorial","icon":"github","iconType":"duotone","href":"/documentation/guides/github-actions-ci-cd"},{"title":"GitLab CI/CD Tutorial","sidebarTitle":"GitLab CI/CD Tutorial","icon":"gitlab","iconType":"brands","href":"/documentation/guides/gitlab-ci-cd"},{"title":"Bitbucket Pipelines Tutorial","sidebarTitle":"Bitbucket Pipelines Tutorial","icon":"bitbucket","iconType":"brands","href":"/documentation/guides/bitbucket-pipelines-ci-cd"},{"title":"Cron Job","sidebarTitle":"Cron Job","icon":"clock","iconType":"regular","href":"/documentation/guides/cronjob"}]},{"group":"Observability","icon":"square-poll-vertical","pages":[{"title":"Custom Observability","sidebarTitle":"Custom Observability","icon":"eye","iconType":"regular","href":"/documentation/guides/observability/custom"},{"title":"Dynamic Agent Description","sidebarTitle":"Dynamic Description","icon":"wand-magic-sparkles","iconType":"regular","href":"/documentation/guides/observability/dynamic-prompting"},{"title":"PII Redaction","sidebarTitle":"PII Redaction","icon":"shield-halved","iconType":"regular","href":"/documentation/guides/observability/pii-redaction"},{"title":"Client-Side Redaction","sidebarTitle":"Client-Side Redaction","icon":"eraser","iconType":"regular","href":"/documentation/guides/observability/client-side-redaction"},{"title":"Failure-Mode Insights","sidebarTitle":"Insights","icon":"lightbulb","iconType":"regular","href":"/documentation/guides/observability/insights"},{"title":"Deep Research","sidebarTitle":"Deep Research","icon":"microscope","iconType":"regular","href":"/documentation/guides/observability/deep-research"},{"title":"OpenTelemetry Traces","sidebarTitle":"OpenTelemetry Traces","icon":"chart-waterfall","iconType":"regular","href":"/documentation/guides/observability/tracing"},{"title":"Alerts","sidebarTitle":"Alerts","icon":"bell","iconType":"regular","href":"/documentation/guides/observability/alerts"},{"title":"Dashboards","sidebarTitle":"Dashboards","icon":"chart-mixed","iconType":"regular","href":"/documentation/guides/dashboards"}]},{"group":"Metrics","icon":"chart-line","pages":[{"title":"Building High-Fidelity Metrics","sidebarTitle":"Creating Good Metrics","icon":"chart-line","iconType":"regular","href":"/documentation/guides/creating-good-metric"},{"title":"Metric Lab","sidebarTitle":"Metric Lab","icon":"flask","iconType":"regular","href":"/documentation/guides/metric-lab"},{"title":"Schedule Metric Optimiser Runs","sidebarTitle":"Auto-optimise Metrics","icon":"wand-magic-sparkles","iconType":"regular","href":"/documentation/guides/auto-optimise-metrics-schedule"}]},{"group":"Optimize Agent","icon":"wand-magic-sparkles","pages":[{"title":"Optimize Agent","sidebarTitle":"Optimize Agent","icon":"wand-magic-sparkles","iconType":"regular","href":"/documentation/guides/optimize-agent"}]},{"group":"Cekura for Agents","icon":"robot","pages":[{"title":"Cekura Agent","sidebarTitle":"Cekura Agent","icon":"sparkles","iconType":"regular","href":"/documentation/guides/cekura-agent"},{"title":"Agent Integration","sidebarTitle":"Agent Integration","icon":"robot","iconType":"solid","href":"/documentation/guides/agent-integration"},{"title":"AGENTS.md Template","sidebarTitle":"AGENTS.md Template","icon":"file-code","iconType":"solid","href":"/documentation/guides/agents-md-template"}]}]},{"group":"Integrations","pages":[{"group":"Retell","icon":"/logo/retell_icon1.svg","pages":[{"title":"Testing","sidebarTitle":"Retell Testing","icon":"flask-vial","iconType":"regular","href":"/documentation/integrations/retell/testing"},{"title":"Observability","sidebarTitle":"Retell Observability","icon":"chart-pie","iconType":"regular","href":"/documentation/integrations/retell/observability"}]},{"group":"VAPI","icon":"/logo/vapi_icon1.svg","pages":[{"title":"Testing","sidebarTitle":"VAPI Testing","icon":"vial-circle-check","iconType":"regular","href":"/documentation/integrations/vapi/testing"},{"title":"Observability","sidebarTitle":"VAPI Observability","icon":"chart-network","iconType":"regular","href":"/documentation/integrations/vapi/observability"}]},{"group":"ElevenLabs","icon":"/logo/elevenlabs_icon1.svg","pages":[{"title":"ElevenLabs","sidebarTitle":"ElevenLabs Testing","icon":"robot","iconType":"regular","description":"Test agents with automated ElevenLabs connection","href":"/documentation/integrations/elevenlabs/testing"},{"title":"Observability","sidebarTitle":"ElevenLabs Observability","icon":"chart-column","iconType":"regular","href":"/documentation/integrations/elevenlabs/observability"}]},{"title":"Websocket Simulations","sidebarTitle":"Websocket Simulations","icon":"waveform-lines","iconType":"regular","description":"Test agents with raw-PCM WebSocket voice using the CHIRP protocol","href":"/documentation/integrations/websocket-chirp"},{"title":"Agora Simulations","sidebarTitle":"Agora","icon":"tower-broadcast","iconType":"regular","href":"/documentation/integrations/agora"},{"group":"LiveKit","icon":"/logo/livekit_icon1.svg","pages":[{"title":"LiveKit (Automated)","sidebarTitle":"LiveKit Automated","icon":"robot","iconType":"regular","href":"/documentation/integrations/livekit/testing"},{"title":"LiveKit Tracing","sidebarTitle":"LiveKit Tracing","icon":"radar","iconType":"regular","href":"/documentation/integrations/livekit/tracing"},{"title":"Agent Dispatch Reliability","sidebarTitle":"Dispatch Reliability","icon":"shield-check","iconType":"regular","href":"/documentation/integrations/livekit/reliability"},{"title":"LiveKit (Manual)","sidebarTitle":"LiveKit Manual","icon":"hand-pointer","iconType":"regular","href":"/documentation/integrations/livekit-integration"},{"title":"AssemblyAI + LiveKit","sidebarTitle":"AssemblyAI STT","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/images/providers/assemblyai.svg","href":"/documentation/integrations/assemblyai"}]},{"group":"Pipecat","icon":"/logo/pipecat_icon1.svg","pages":[{"title":"Pipecat Automated Testing","sidebarTitle":"Pipecat Automated","icon":"robot","iconType":"regular","href":"/documentation/integrations/pipecat/automated"},{"title":"Pipecat Manual Testing","sidebarTitle":"Pipecat Manual","icon":"hand-pointer","iconType":"regular","href":"/documentation/integrations/pipecat/manual"},{"title":"Pipecat Tracing","sidebarTitle":"Pipecat Tracing","icon":"radar","iconType":"regular","href":"/documentation/integrations/pipecat/tracing"}]},{"title":"Bland AI Integration","sidebarTitle":"Bland AI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/logo/bland_icon1.svg","href":"/documentation/integrations/bland"},{"title":"Genesys Cloud Integration","sidebarTitle":"Genesys","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/logo/genesys_icon1.svg","href":"/documentation/integrations/genesys"},{"title":"Kore.ai Integration","sidebarTitle":"Kore.ai","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/logo/koreai_icon1.svg","href":"/documentation/integrations/koreai"},{"title":"Cisco Webex Integration","sidebarTitle":"Cisco Webex","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/images/providers/cisco.svg","href":"/documentation/integrations/cisco-webex"},{"title":"Agentforce Integration","sidebarTitle":"Agentforce","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/images/providers/agentforce.svg","href":"/documentation/integrations/agentforce"},{"title":"Amazon Connect Integration","sidebarTitle":"Amazon Connect","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/images/providers/amazon-connect.svg","href":"/documentation/integrations/amazon-connect"},{"title":"Gemini Enterprise CX Integration","sidebarTitle":"Gemini Enterprise CX","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/logo/gemini_cx_icon1.svg","href":"/documentation/integrations/gemini-cx"},{"title":"Smallest AI Integration","sidebarTitle":"Smallest AI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/vocera/images/providers/smallest.svg","href":"/documentation/integrations/smallest"},{"title":"SIP Calls","sidebarTitle":"SIP Calls","icon":"phone-volume","iconType":"regular","href":"/documentation/integrations/sip-integration"},{"title":"Custom Integration","sidebarTitle":"Custom Integration","icon":"plug","iconType":"regular","href":"/documentation/integrations/custom-integration"},{"title":"Chat-Based Testing","sidebarTitle":"Chat Testing","icon":"message-lines","iconType":"regular","href":"/documentation/integrations/chat-testing"}]},{"group":"Advanced","pages":[{"title":"Enterprise Setup","sidebarTitle":"Enterprise Setup","icon":"building","iconType":"regular","href":"/documentation/advanced/enterprise-setup"},{"title":"Two-Factor Authentication","sidebarTitle":"Two-Factor Authentication","icon":"shield-check","iconType":"regular","href":"/documentation/advanced/two-factor-authentication"},{"title":"IP Whitelisting","sidebarTitle":"IP Whitelisting","icon":"shield-check","iconType":"regular","href":"/documentation/advanced/ip-whitelisting"},{"title":"Low Credits Alerts","sidebarTitle":"Low Credits Alerts","icon":"bell","iconType":"regular","href":"/documentation/advanced/credit-alerts"},{"title":"Transcript Format","sidebarTitle":"Transcript Format","icon":"file-code","iconType":"regular","href":"/documentation/advanced/transcript-format"},{"title":"Webhook Format","icon":"webhook","iconType":"regular","href":"/documentation/advanced/webhook-format"},{"title":"Creating Custom Personalities","icon":"user-cog","iconType":"regular","href":"/documentation/advanced/creating-custom-personalities"},{"title":"Knowledge Base Connectors","icon":"database","iconType":"regular","href":"/documentation/advanced/knowledge-base-connectors"},{"title":"IVR and Voicemail","sidebarTitle":"IVR \u0026 Voicemail","icon":"phone-volume","iconType":"regular","href":"/documentation/advanced/ivr-voicemail"},{"title":"Call End Reasons","sidebarTitle":"Call End Reasons","icon":"phone-xmark","iconType":"regular","href":"/documentation/advanced/call-end-reasons"},{"title":"Prompting Examples","sidebarTitle":"Prompting Examples","icon":"message-code","iconType":"regular","href":"/documentation/guides/prompting"},{"group":"Dashboard Embedding","icon":"diagram-project","pages":[{"title":"Overview Embedding (Deprecated)","sidebarTitle":"Overview Embedding","icon":"window","iconType":"regular","href":"/documentation/embed/overview-embedding"},{"title":"Calls Embedding (Deprecated)","sidebarTitle":"Calls Embedding","icon":"phone-volume","iconType":"regular","href":"/documentation/embed/calls-embedding"},{"title":"Result Embedding (Deprecated)","sidebarTitle":"Result Embedding","icon":"chart-simple","iconType":"regular","href":"/documentation/embed/result-embedding"},{"group":"Generate Token","icon":"package-plus","pages":[{"title":"Generating Embed Token (Deprecated)","sidebarTitle":"Generate Token","icon":"key","iconType":"regular","href":"/documentation/embed/generate-token"},{"title":"Refreshing Expired Token (Deprecated)","sidebarTitle":"Refresh Token","icon":"rotate","iconType":"regular","href":"/documentation/embed/refreshing-expired-token"}]}]},{"title":"Changelog","sidebarTitle":"Changelog","icon":"clock-rotate-left","url":"https://www.cekura.ai/changelog","href":"/documentation/advanced/changelog"},{"title":null,"href":"/documentation/FAQ"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/observability/send-calls"}]},{"tab":"MCP \u0026 Skills","pages":[{"title":"MCP \u0026 Skills","href":"/mcp/overview"}]},{"tab":"CLI \u0026 SDK","pages":[{"title":"CLI \u0026 SDK","href":"/cli-sdk/overview"}]}]},"basePath":"","title":"Observability - Cekura","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BUkqX3JF.js","lightbox-handle-r17bVUz3.js"]}