Returns the Session Initiation Protocol (SIP) messages recorded for a call, grouped into legs (carrier to PolyAI’s SIP edge, SIP edge to media server, and any transfer legs) and ordered by capture time. Use it to see why a call failed, how long it rang, who hung up and how a REFER transfer went. With include_sip_details, each message also carries the cause codes from Reason headers and the result of a transfer. For packet loss and jitter on the audio, use get call audio quality. See the overview for how legs, personal data and the time window work.
Request
Headers
string
required
Account API key with read access to conversations.
Path parameters
string
required
The call SID.
Query parameters
string
The agent the call belongs to. Optional with an account API key; required with a PAT. A call that belongs to a different agent returns 404.
datetime
Start of the window in which the call is looked up, ISO 8601. Defaults to 14 days ago, the retention limit.
datetime
End of the window, ISO 8601. Defaults to now.
boolean
default:"false"
Add selected details from each SIP message: reason_headers and refer_status for any key, and, when the key can read personal data (PII), sdp, refer_to, referred_by, asserted_identity and diversions.
Response
string
string
string
null when you did not pass project_id.
datetime
Capture time of the first message, UTC.
datetime
Capture time of the last message, UTC.
object[]
One entry per SIP dialog, ordered by first_ts.
Show properties
string
The dialog’s SIP Call-ID. See call_id under messages for how an unusual Call-ID is shown.
datetime
datetime
string
Source of the first message on this leg. Only when the key can read PII; otherwise null.
string
Only when the key can read PII; otherwise null.
string
SIP user part of the caller (usually the phone number), from the first message. Masked unless the key can read PII.
string
SIP user part of the called party (usually the phone number), from the first message. Masked unless the key can read PII.
integer
integer
First response of 200 or above to any request on this leg, not only to the INVITE: a cancelled call shows 200 (the answer to the CANCEL) before the 487 that ends the INVITE. null if the leg never got one.
object[]
The messages of all legs, ordered by capture time.
Show properties
datetime
Capture time, UTC.
string
The leg the message belongs to. A Call-ID that is not printable ASCII of up to 128 characters is replaced by invalid- followed by a hash, so its messages still group into one leg.
string
Only when the key can read PII; otherwise null.
integer
Only when the key can read PII; otherwise null.
string
Only when the key can read PII; otherwise null.
integer
Only when the key can read PII; otherwise null.
string
The request method (for example INVITE, BYE or REFER), OTHER for a method that is not a standard SIP method, or the response code as a string (for example 180 or 200) for a response.
integer
Set for responses only.
string
The standard reason phrase for response_code (for example Busy Here for 486), for responses only. The phrase the remote party actually sent is not returned.
string
The CSeq header, for example 1 INVITE.
string
SIP user part of the caller (usually the phone number). Masked unless the key can read PII.
string
SIP user part of the called party (usually the phone number). Masked unless the key can read PII.
string
The User-Agent header. Only when the key can read PII; otherwise null.
object[]
Causes from the message’s Reason headers, for example why a BYE or CANCEL was sent. Only with include_sip_details; otherwise empty.
Show properties
string
Q.850 or SIP. Causes in other namespaces are left out.
integer
The cause code, for example Q.850 16 (normal call clearing) or SIP 200.
integer
The status of a transfer, from the NOTIFY that reports a REFER’s progress: for example 200 when the transfer target answered, or 486 when it was busy. Only with include_sip_details; otherwise null.
object
The media offered or answered by the message’s first audio stream, when it carries a Session Description Protocol (SDP) body. null when there is none, or when the SDP is inside a multipart body. Only with include_sip_details and PII access.
Show properties
string
The connection address, when it is an IP address.
integer
string
The media transport, for example RTP/AVP or RTP/SAVP. null when it is not a known RTP profile.
boolean
true when the media is encrypted (SRTP), or the stream offers SRTP keys.
string[]
Codecs in the order offered or answered, for example PCMU/8000. An encoding PolyAI does not recognise is shown as other.
string
sendrecv, sendonly (for example when the call is put on hold), recvonly or inactive.
integer
Packetization time, in milliseconds.
string
The transfer target from Refer-To, when it is a phone number. Only with include_sip_details and PII access.
string
The number in Referred-By, when it is a phone number. Only with include_sip_details and PII access.
string
The number in P-Asserted-Identity, when it is a phone number. Only with include_sip_details and PII access.
object[]
The call’s redirections, from its Diversion headers. Only with include_sip_details and PII access; otherwise empty.
Show properties
string
The number the call was diverted from, when it is a phone number.
string
Why it was diverted, for example no-answer or unconditional.
integer
Number of messages returned. When truncated is true this is the cap, not the call’s real total.
boolean
true when the cap of 2,000 messages was reached and later messages are missing.
Example
This request uses a key that cannot read PII, so numbers are masked and network details are null.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"PolyAI Platform","description":"PolyAI Platform documentation. Build, deploy, and monitor enterprise voice and chat agents ready for real customer conversations.","colors":{"primary":"#4a7c10","light":"#d9ee50","dark":"#3a6b08"},"logo":{"light":"https://mintcdn.com/polyai/V_YcZRE9nVwqIC42/logo/light.png?fit=max\u0026auto=format\u0026n=V_YcZRE9nVwqIC42\u0026q=85\u0026s=9b0704a17c929bf077c3b76f8dd9b852","dark":"https://mintcdn.com/polyai/V_YcZRE9nVwqIC42/logo/dark.png?fit=max\u0026auto=format\u0026n=V_YcZRE9nVwqIC42\u0026q=85\u0026s=8259c01154fc1823ae0d1a563bb20485"},"favicon":"https://mintcdn.com/polyai/5TqB0Il1JYn5J7QH/favicon.png?fit=max\u0026auto=format\u0026n=5TqB0Il1JYn5J7QH\u0026q=85\u0026s=8c7b583905e3376fb8df880384dc2421","background":{"decoration":"windows"},"navbar":{"links":[{"href":"https://docs.poly.ai/releases/overview","label":"Release notes"},{"href":"https://studio.us.poly.ai/","label":"Studio"},{"href":"https://github.com/polyai/android-sdk","label":"Android SDK"},{"href":"https://github.com/polyai/ios-sdk","label":"iOS SDK"}],"primary":{"type":"button","label":"Request a demo","href":"https://poly.ai/request-a-demo/"}},"footer":{"socials":{"x":"https://x.com/polyaivoice","youtube":"https://www.youtube.com/@polyaivoice","facebook":"https://www.facebook.com/PolyAIVoice","linkedin":"https://www.linkedin.com/company/polyai","discord":"https://discord.gg/wvyMKEpjkX"},"links":[{"header":"Resources","items":[{"label":"PolyAI website","href":"https://www.poly.ai"},{"label":"Request a demo","href":"https://poly.ai/request-a-demo"}]},{"header":"Legal","items":[{"label":"Privacy policy","href":"https://www.poly.ai/privacy-policy"},{"label":"Terms of use","href":"https://poly.ai/terms-of-use"}]}]},"search":{"prompt":"Search PolyAI docs..."},"seo":{"organization":{"id":"https://poly.ai/#organization","name":"PolyAI","legalName":"PolyAI Limited","url":"https://poly.ai","logo":"https://docs.poly.ai/logo/dark.png","sameAs":["https://poly.ai","https://github.com/polyai","https://www.linkedin.com/company/polyai/","https://pypi.org/project/polyai-adk/"]},"indexing":"navigable"},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"integrations":{"ga4":{"measurementId":"G-6NHTTPDGSX"},"posthog":{"apiKey":"phc_oBh3uJGQWyQkWdoxrTAEqghjkHSgjd5FGEn5vM6CyXBp","apiHost":"https://eu.i.posthog.com"}},"banner":{"content":"Dialog Studio has a new look. [See what changed](/get-started/whats-new)","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page doesn't exist. Try the [documentation home](/home), the [API reference](/api-reference/introduction), or use search to find what you need."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"book-open-cover","href":"https://docs.poly.ai/home"},{"anchor":"Community","icon":"slack","href":"https://polyaijupiter-uki8686.slack.com/archives/C075ST5UK7Y"},{"anchor":"Blog","icon":"newspaper","href":"https://poly.ai/resources/?_resource_type=post"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polyai","hasAudioNarration":false,"actualSubdomain":"polyai","customDomains":["docs.poly.ai"],"gitSource":{"type":"github","owner":"polyai-ldn","repo":"polyai-mintlify-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10a6d19ffae5051c3faa67"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b12c2ce6bf89f5daeb405d5","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API reference","count":227},{"language":"default","tag":"Build \u0026 deploy","count":153},{"language":"default","tag":"Dialog Studio","count":152},{"language":"default","tag":"Agents API","count":132},{"language":"default","tag":"ADK","count":80},{"language":"default","tag":"Reference","count":54},{"language":"default","tag":"Runtime \u0026 data","count":48},{"language":"default","tag":"Integrations","count":42},{"language":"default","tag":"CLI reference","count":30},{"language":"default","tag":"Academy","count":30}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--studio-lime: #d9ee50;--studio-lime-12: rgba(217, 238, 80, 0.12);--studio-lime-22: rgba(217, 238, 80, 0.22);--studio-lime-35: rgba(217, 238, 80, 0.35);--studio-ink: #161617;--studio-paper: #fcfcfc}footer{position:relative;z-index:10;background:transparent!important;border-top:none!important;box-shadow:none!important;font-size:0.85rem!important}footer a[href=\"/\"] img{height:auto!important;width:auto!important;max-height:24px!important}footer a{color:inherit!important;text-decoration:none!important;text-decoration-thickness:0.08em;text-underline-offset:0.14em;transition:color 140ms ease, text-decoration-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease}footer a:hover{text-decoration:underline!important;text-decoration-color:var(--studio-lime)!important}footer a:focus-visible{outline:2px solid var(--studio-lime)!important;outline-offset:2px!important;border-radius:8px}footer a[href*=\"facebook\"],footer a[href*=\"linkedin\"],footer a[href*=\"youtube\"],footer a[href*=\"x.com\"],footer a[href*=\"twitter\"],footer a[href*=\"instagram\"]{margin:0 0.25rem!important;display:inline-flex;align-items:center;justify-content:center;padding:0.2rem 0.3rem!important;border-radius:10px}footer a[href*=\"facebook\"]:hover,footer a[href*=\"linkedin\"]:hover,footer a[href*=\"youtube\"]:hover,footer a[href*=\"x.com\"]:hover,footer a[href*=\"twitter\"]:hover,footer a[href*=\"instagram\"]:hover{background:var(--studio-lime-12)!important;box-shadow:inset 0 0 0 1px var(--studio-lime-22);transform:translateY(-1px)}footer a[href*=\"facebook\"] svg,footer a[href*=\"linkedin\"] svg,footer a[href*=\"youtube\"] svg,footer a[href*=\"x.com\"] svg,footer a[href*=\"twitter\"] svg,footer a[href*=\"instagram\"] svg{width:18px!important;height:18px!important;vertical-align:middle!important;transition:filter 140ms ease, transform 140ms ease}footer a[href*=\"facebook\"]:hover svg,footer a[href*=\"linkedin\"]:hover svg,footer a[href*=\"youtube\"]:hover svg,footer a[href*=\"x.com\"]:hover svg,footer a[href*=\"twitter\"]:hover svg,footer a[href*=\"instagram\"]:hover svg{filter:drop-shadow(0 0 6px var(--studio-lime-35));transform:scale(1.03)}footer a[href*=\"facebook\"]:focus-visible,footer a[href*=\"linkedin\"]:focus-visible,footer a[href*=\"youtube\"]:focus-visible,footer a[href*=\"x.com\"]:focus-visible,footer a[href*=\"twitter\"]:focus-visible,footer a[href*=\"instagram\"]:focus-visible{background:var(--studio-lime-12)!important;box-shadow:inset 0 0 0 1px var(--studio-lime-22)}footer a[href=\"/\"]{text-align:left!important}footer a[href=\"/\"]:hover img{filter:drop-shadow(0 0 10px var(--studio-lime-22))}footer a[href=\"/\"]:focus-visible img{filter:drop-shadow(0 0 10px var(--studio-lime-22))}[data-mint-footer-bottom]{padding-top:0!important}footer+div{padding-top:0!important}@media (prefers-reduced-motion: reduce){footer a,footer a svg,footer a img{transition:none!important;transform:none!important}}[data-tag=\"Code\"] [data-testid=\"tag\"],nav [data-testid=\"tag\"]:has-text(\"Code\"){background-color:rgba(99, 102, 241, 0.1)!important;color:#5b5de7!important;border:1px solid rgba(99, 102, 241, 0.2)!important}[data-tag=\"Advanced\"] [data-testid=\"tag\"],nav [data-testid=\"tag\"]:has-text(\"Advanced\"){background-color:rgba(234, 88, 12, 0.09)!important;color:#c2410c!important;border:1px solid rgba(234, 88, 12, 0.2)!important}.audience-callout{display:flex;align-items:flex-start;gap:0.65rem;padding:0.7rem 1rem;border-radius:8px;border-left:4px solid;font-size:0.88rem;line-height:1.55;margin-bottom:1.5rem}.audience-callout--ui{background:rgba(217, 238, 80, 0.08);border-color:var(--studio-lime);color:inherit}.audience-callout--developer{background:rgba(99, 102, 241, 0.07);border-color:#6366f1;color:inherit}.audience-callout--advanced{background:rgba(234, 88, 12, 0.07);border-color:#ea580c;color:inherit}:root{--home-tile-bg: #ffffff;--home-tile-border: rgba(22, 22, 23, 0.09);--home-fg: #161617;--home-muted: #5b6270;--home-eyebrow: #4a7c10;--home-code-bg: #fbfcf6}html.dark{--home-tile-bg: #17181a;--home-tile-border: rgba(255, 255, 255, 0.08);--home-fg: #f4f5ef;--home-muted: #99a0ab;--home-eyebrow: #bcdb4d;--home-code-bg: #101110}.home-eyebrow{display:inline-block;font-size:0.72rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--home-eyebrow);margin-bottom:0.4rem}.home-hero{position:relative;margin:0.75rem 0 3rem;padding:2.4rem 2.4rem 2.6rem;border-radius:20px;background:linear-gradient(158deg, rgba(217, 238, 80, 0.16), rgba(74, 124, 16, 0.05) 70%);border:1px solid rgba(74, 124, 16, 0.22)}html.dark .home-hero{background:linear-gradient(158deg, rgba(74, 124, 16, 0.28), rgba(217, 238, 80, 0.04) 75%);border-color:rgba(217, 238, 80, 0.18)}.home-hero-title{font-size:2.4rem;line-height:1.08;font-weight:700;letter-spacing:-0.01em;margin:0.5rem 0 0.85rem;color:var(--home-fg);max-width:18ch}.home-hero-sub{font-size:1.1rem;line-height:1.55;color:var(--home-muted);margin:0 0 1.7rem;max-width:62ch}.home-cta-row{display:flex;flex-wrap:wrap;gap:0.6rem}.home-btn{display:inline-flex;align-items:center;gap:0.45rem;padding:0.62rem 1.1rem;border-radius:11px;font-size:0.95rem;font-weight:600;text-decoration:none;transition:transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease}.home-btn-primary{background:#d9ee50;color:#1f3a04;box-shadow:0 8px 22px -10px rgba(74, 124, 16, 0.7)}.home-btn-primary:hover{transform:translateY(-1px)}.home-btn-ghost{background:transparent;color:var(--home-fg);border:1px solid var(--home-tile-border);font-weight:500}.home-btn-ghost:hover{border-color:rgba(74, 124, 16, 0.45)}.home-term{max-width:620px;margin:1.75rem 0 0;border-radius:14px;border:1px solid var(--home-tile-border);background:var(--home-tile-bg);overflow:hidden}.term-head{display:flex;align-items:center;gap:0.4rem;padding:0.7rem 1.1rem;border-bottom:1px solid var(--home-tile-border)}.term-dot{width:10px;height:10px;border-radius:50%;background:var(--home-tile-border)}.term-title{margin-left:0.45rem;font-size:0.82rem;font-weight:600;color:var(--home-fg)}.term-body{padding:1.1rem 1.3rem;background:var(--home-code-bg);font-family:var(--font-mono, ui-monospace, \"SF Mono\", Menlo, monospace);font-size:0.83rem;line-height:1.5;overflow-x:auto}.term-line{display:flex;gap:1rem;padding:0.22rem 0;white-space:nowrap}.term-cmd{flex:none;min-width:6.5rem;color:var(--home-fg)}.term-cmd .term-p{color:#4a7c10;margin-right:0.5rem}html.dark .term-cmd .term-p{color:#bcdb4d}.term-c{color:var(--home-muted)}.term-foot{display:block;padding:0.85rem 1.3rem;border-top:1px solid var(--home-tile-border);font-size:0.85rem;font-weight:600;color:var(--home-eyebrow);text-decoration:none;transition:background 140ms ease}.term-foot:hover{background:rgba(74, 124, 16, 0.06)}html.dark .term-foot:hover{background:rgba(217, 238, 80, 0.08)}html[data-current-path=\"/home\"] .mdx-content{max-width:880px}html[data-current-path=\"/home\"] .home-hero{margin:1rem 0 4rem;padding:2.75rem 2.75rem 3rem}html[data-current-path=\"/home\"] .mdx-content>h2{margin-top:4.5rem;margin-bottom:1.25rem;scroll-margin-top:6rem}html[data-current-path=\"/home\"] .mdx-content>p{margin:0 0 1.4rem;line-height:1.72}html[data-current-path=\"/home\"] .mdx-content>ul{margin:0.25rem 0 1.75rem}html[data-current-path=\"/home\"] .mdx-content>ul>li{margin:0.6rem 0;line-height:1.68}html[data-current-path=\"/home\"] .home-term{margin:2.25rem auto 0.5rem}@media (max-width: 640px){.home-hero{padding:1.8rem 1.5rem 2rem}.home-hero-title{font-size:2rem}.term-line{white-space:normal}html[data-current-path=\"/home\"] .home-hero{padding:1.9rem 1.6rem 2.1rem;margin-bottom:3rem}html[data-current-path=\"/home\"] .mdx-content>h2{margin-top:3.25rem}}@media (prefers-reduced-motion: reduce){.home-btn{transition:none!important;transform:none!important}}#navbar a[href=\"/login\"],#navbar button[data-testid=\"login-button\"],nav a[href=\"/login\"]{display:none!important}.mdx-content table th,.mdx-content table th strong,.prose table th{font-weight:600!important}.plan-availability{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0.75rem 0 1.5rem;font-size:12.5px;line-height:1.4;color:var(--home-muted)}.plan-availability__label{font-weight:600;letter-spacing:0.02em}.plan-availability__plan{padding:1px 8px;border-radius:999px;border:1px solid var(--home-tile-border);color:var(--home-fg);white-space:nowrap}.plan-availability__cost{padding:1px 8px;border-radius:999px;background:var(--studio-lime-22);color:var(--home-fg);white-space:nowrap}.plan-availability__note{flex-basis:100%}.plan-availability__link{margin-left:auto;color:inherit;text-decoration:underline;text-underline-offset:3px}.plan-availability__note+.plan-availability__link{margin-left:0}"}]}
{"page":{"pagePath":"api-reference/telephony/endpoint/get-call-sip-ladder","slug":"/api-reference/telephony/endpoint/get-call-sip-ladder","pageMetadata":{"title":"Get call SIP ladder","api":"GET /api/v1/telephony/calls/{conversation_id}/sip","description":"The SIP messages of one call, combined across legs and ordered by capture time.","href":"/api-reference/telephony/endpoint/get-call-sip-ladder"},"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: \"The SIP messages of one call, combined across legs and ordered by capture time.\"\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];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns the Session Initiation Protocol (SIP) messages recorded for a call, grouped into legs (carrier to PolyAI’s SIP edge, SIP edge to media server, and any transfer legs) and ordered by capture time. Use it to see why a call failed, how long it rang, who hung up and how a `,_jsx(_components.code,{children:`REFER`}),` transfer went. With `,_jsx(_components.code,{children:`include_sip_details`}),`, each message also carries the cause codes from `,_jsx(_components.code,{children:`Reason`}),` headers and the result of a transfer. For packet loss and jitter on the audio, use `,_jsx(_components.a,{href:`/api-reference/telephony/endpoint/get-call-audio-quality`,children:`get call audio quality`}),`. See the `,_jsx(_components.a,{href:`/api-reference/telephony/introduction`,children:`overview`}),` for how legs, personal data and the time window work.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`X-API-KEY`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`Account API key with read access to conversations.`})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`conversation_id`,type:`string`,required:true,id:`param-conversation-id`,children:_jsx(_components.p,{children:`The call SID.`})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`project_id`,type:`string`,id:`param-project-id`,children:_jsxs(_components.p,{children:[`The agent the call belongs to. Optional with an account API key; required with a PAT. A call that belongs to a different agent returns `,_jsx(_components.code,{children:`404`}),`.`]})}),`\n`,_jsx(ParamField,{query:`from`,type:`datetime`,id:`param-from`,children:_jsx(_components.p,{children:`Start of the window in which the call is looked up, ISO 8601. Defaults to 14 days ago, the retention limit.`})}),`\n`,_jsx(ParamField,{query:`to`,type:`datetime`,id:`param-to`,children:_jsx(_components.p,{children:`End of the window, ISO 8601. Defaults to now.`})}),`\n`,_jsx(ParamField,{query:`include_sip_details`,type:`boolean`,default:`false`,id:`param-include-sip-details`,children:_jsxs(_components.p,{children:[`Add selected details from each SIP message: `,_jsx(_components.code,{children:`reason_headers`}),` and `,_jsx(_components.code,{children:`refer_status`}),` for any key, and, when the key can read personal data (PII), `,_jsx(_components.code,{children:`sdp`}),`, `,_jsx(_components.code,{children:`refer_to`}),`, `,_jsx(_components.code,{children:`referred_by`}),`, `,_jsx(_components.code,{children:`asserted_identity`}),` and `,_jsx(_components.code,{children:`diversions`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id-1`}),`\n`,_jsx(ResponseField,{name:`account_id`,type:`string`,id:`param-account-id`}),`\n`,_jsx(ResponseField,{name:`project_id`,type:`string`,id:`param-project-id-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` when you did not pass `,_jsx(_components.code,{children:`project_id`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`first_ts`,type:`datetime`,id:`param-first-ts`,children:_jsx(_components.p,{children:`Capture time of the first message, UTC.`})}),`\n`,_jsx(ResponseField,{name:`last_ts`,type:`datetime`,id:`param-last-ts`,children:_jsx(_components.p,{children:`Capture time of the last message, UTC.`})}),`\n`,_jsxs(ResponseField,{name:`legs`,type:`object[]`,id:`param-legs`,children:[_jsxs(_components.p,{children:[`One entry per SIP dialog, ordered by `,_jsx(_components.code,{children:`first_ts`}),`.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`call_id`,type:`string`,id:`param-call-id`,children:_jsxs(_components.p,{children:[`The dialog’s SIP `,_jsx(_components.code,{children:`Call-ID`}),`. See `,_jsx(_components.code,{children:`call_id`}),` under `,_jsx(_components.code,{children:`messages`}),` for how an unusual `,_jsx(_components.code,{children:`Call-ID`}),` is shown.`]})}),_jsx(ResponseField,{name:`first_ts`,type:`datetime`,id:`param-first-ts-1`}),_jsx(ResponseField,{name:`last_ts`,type:`datetime`,id:`param-last-ts-1`}),_jsx(ResponseField,{name:`src_ip`,type:`string`,id:`param-src-ip`,children:_jsxs(_components.p,{children:[`Source of the first message on this leg. Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`dst_ip`,type:`string`,id:`param-dst-ip`,children:_jsxs(_components.p,{children:[`Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`from_user`,type:`string`,id:`param-from-user`,children:_jsx(_components.p,{children:`SIP user part of the caller (usually the phone number), from the first message. Masked unless the key can read PII.`})}),_jsx(ResponseField,{name:`to_user`,type:`string`,id:`param-to-user`,children:_jsx(_components.p,{children:`SIP user part of the called party (usually the phone number), from the first message. Masked unless the key can read PII.`})}),_jsx(ResponseField,{name:`message_count`,type:`integer`,id:`param-message-count`}),_jsx(ResponseField,{name:`final_response`,type:`integer`,id:`param-final-response`,children:_jsxs(_components.p,{children:[`First response of `,_jsx(_components.code,{children:`200`}),` or above to any request on this leg, not only to the `,_jsx(_components.code,{children:`INVITE`}),`: a cancelled call shows `,_jsx(_components.code,{children:`200`}),` (the answer to the `,_jsx(_components.code,{children:`CANCEL`}),`) before the `,_jsx(_components.code,{children:`487`}),` that ends the `,_jsx(_components.code,{children:`INVITE`}),`. `,_jsx(_components.code,{children:`null`}),` if the leg never got one.`]})})]})]}),`\n`,_jsxs(ResponseField,{name:`messages`,type:`object[]`,id:`param-messages`,children:[_jsx(_components.p,{children:`The messages of all legs, ordered by capture time.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`ts`,type:`datetime`,id:`param-ts`,children:_jsx(_components.p,{children:`Capture time, UTC.`})}),_jsx(ResponseField,{name:`call_id`,type:`string`,id:`param-call-id-1`,children:_jsxs(_components.p,{children:[`The leg the message belongs to. A `,_jsx(_components.code,{children:`Call-ID`}),` that is not printable ASCII of up to 128 characters is replaced by `,_jsx(_components.code,{children:`invalid-`}),` followed by a hash, so its messages still group into one leg.`]})}),_jsx(ResponseField,{name:`src_ip`,type:`string`,id:`param-src-ip-1`,children:_jsxs(_components.p,{children:[`Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`src_port`,type:`integer`,id:`param-src-port`,children:_jsxs(_components.p,{children:[`Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`dst_ip`,type:`string`,id:`param-dst-ip-1`,children:_jsxs(_components.p,{children:[`Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`dst_port`,type:`integer`,id:`param-dst-port`,children:_jsxs(_components.p,{children:[`Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method`,children:_jsxs(_components.p,{children:[`The request method (for example `,_jsx(_components.code,{children:`INVITE`}),`, `,_jsx(_components.code,{children:`BYE`}),` or `,_jsx(_components.code,{children:`REFER`}),`), `,_jsx(_components.code,{children:`OTHER`}),` for a method that is not a standard SIP method, or the response code as a string (for example `,_jsx(_components.code,{children:`180`}),` or `,_jsx(_components.code,{children:`200`}),`) for a response.`]})}),_jsx(ResponseField,{name:`response_code`,type:`integer`,id:`param-response-code`,children:_jsx(_components.p,{children:`Set for responses only.`})}),_jsx(ResponseField,{name:`reason`,type:`string`,id:`param-reason`,children:_jsxs(_components.p,{children:[`The standard reason phrase for `,_jsx(_components.code,{children:`response_code`}),` (for example `,_jsx(_components.code,{children:`Busy Here`}),` for `,_jsx(_components.code,{children:`486`}),`), for responses only. The phrase the remote party actually sent is not returned.`]})}),_jsx(ResponseField,{name:`cseq`,type:`string`,id:`param-cseq`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CSeq`}),` header, for example `,_jsx(_components.code,{children:`1 INVITE`}),`.`]})}),_jsx(ResponseField,{name:`from_user`,type:`string`,id:`param-from-user-1`,children:_jsx(_components.p,{children:`SIP user part of the caller (usually the phone number). Masked unless the key can read PII.`})}),_jsx(ResponseField,{name:`to_user`,type:`string`,id:`param-to-user-1`,children:_jsx(_components.p,{children:`SIP user part of the called party (usually the phone number). Masked unless the key can read PII.`})}),_jsx(ResponseField,{name:`user_agent`,type:`string`,id:`param-user-agent`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`User-Agent`}),` header. Only when the key can read PII; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`reason_headers`,type:`object[]`,id:`param-reason-headers`,children:[_jsxs(_components.p,{children:[`Causes from the message’s `,_jsx(_components.code,{children:`Reason`}),` headers, for example why a `,_jsx(_components.code,{children:`BYE`}),` or `,_jsx(_components.code,{children:`CANCEL`}),` was sent. Only with `,_jsx(_components.code,{children:`include_sip_details`}),`; otherwise empty.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`protocol`,type:`string`,id:`param-protocol`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Q.850`}),` or `,_jsx(_components.code,{children:`SIP`}),`. Causes in other namespaces are left out.`]})}),_jsx(ResponseField,{name:`cause`,type:`integer`,id:`param-cause`,children:_jsxs(_components.p,{children:[`The cause code, for example Q.850 `,_jsx(_components.code,{children:`16`}),` (normal call clearing) or SIP `,_jsx(_components.code,{children:`200`}),`.`]})})]})]}),_jsx(ResponseField,{name:`refer_status`,type:`integer`,id:`param-refer-status`,children:_jsxs(_components.p,{children:[`The status of a transfer, from the `,_jsx(_components.code,{children:`NOTIFY`}),` that reports a `,_jsx(_components.code,{children:`REFER`}),`’s progress: for example `,_jsx(_components.code,{children:`200`}),` when the transfer target answered, or `,_jsx(_components.code,{children:`486`}),` when it was busy. Only with `,_jsx(_components.code,{children:`include_sip_details`}),`; otherwise `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`sdp`,type:`object`,id:`param-sdp`,children:[_jsxs(_components.p,{children:[`The media offered or answered by the message’s first audio stream, when it carries a Session Description Protocol (SDP) body. `,_jsx(_components.code,{children:`null`}),` when there is none, or when the SDP is inside a multipart body. Only with `,_jsx(_components.code,{children:`include_sip_details`}),` and PII access.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`media_ip`,type:`string`,id:`param-media-ip`,children:_jsx(_components.p,{children:`The connection address, when it is an IP address.`})}),_jsx(ResponseField,{name:`media_port`,type:`integer`,id:`param-media-port`}),_jsx(ResponseField,{name:`transport`,type:`string`,id:`param-transport`,children:_jsxs(_components.p,{children:[`The media transport, for example `,_jsx(_components.code,{children:`RTP/AVP`}),` or `,_jsx(_components.code,{children:`RTP/SAVP`}),`. `,_jsx(_components.code,{children:`null`}),` when it is not a known RTP profile.`]})}),_jsx(ResponseField,{name:`srtp`,type:`boolean`,id:`param-srtp`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the media is encrypted (SRTP), or the stream offers SRTP keys.`]})}),_jsx(ResponseField,{name:`codecs`,type:`string[]`,id:`param-codecs`,children:_jsxs(_components.p,{children:[`Codecs in the order offered or answered, for example `,_jsx(_components.code,{children:`PCMU/8000`}),`. An encoding PolyAI does not recognise is shown as `,_jsx(_components.code,{children:`other`}),`.`]})}),_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sendrecv`}),`, `,_jsx(_components.code,{children:`sendonly`}),` (for example when the call is put on hold), `,_jsx(_components.code,{children:`recvonly`}),` or `,_jsx(_components.code,{children:`inactive`}),`.`]})}),_jsx(ResponseField,{name:`ptime`,type:`integer`,id:`param-ptime`,children:_jsx(_components.p,{children:`Packetization time, in milliseconds.`})})]})]}),_jsx(ResponseField,{name:`refer_to`,type:`string`,id:`param-refer-to`,children:_jsxs(_components.p,{children:[`The transfer target from `,_jsx(_components.code,{children:`Refer-To`}),`, when it is a phone number. Only with `,_jsx(_components.code,{children:`include_sip_details`}),` and PII access.`]})}),_jsx(ResponseField,{name:`referred_by`,type:`string`,id:`param-referred-by`,children:_jsxs(_components.p,{children:[`The number in `,_jsx(_components.code,{children:`Referred-By`}),`, when it is a phone number. Only with `,_jsx(_components.code,{children:`include_sip_details`}),` and PII access.`]})}),_jsx(ResponseField,{name:`asserted_identity`,type:`string`,id:`param-asserted-identity`,children:_jsxs(_components.p,{children:[`The number in `,_jsx(_components.code,{children:`P-Asserted-Identity`}),`, when it is a phone number. Only with `,_jsx(_components.code,{children:`include_sip_details`}),` and PII access.`]})}),_jsxs(ResponseField,{name:`diversions`,type:`object[]`,id:`param-diversions`,children:[_jsxs(_components.p,{children:[`The call’s redirections, from its `,_jsx(_components.code,{children:`Diversion`}),` headers. Only with `,_jsx(_components.code,{children:`include_sip_details`}),` and PII access; otherwise empty.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`number`,type:`string`,id:`param-number`,children:_jsx(_components.p,{children:`The number the call was diverted from, when it is a phone number.`})}),_jsx(ResponseField,{name:`reason`,type:`string`,id:`param-reason-1`,children:_jsxs(_components.p,{children:[`Why it was diverted, for example `,_jsx(_components.code,{children:`no-answer`}),` or `,_jsx(_components.code,{children:`unconditional`}),`.`]})})]})]})]})]}),`\n`,_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsxs(_components.p,{children:[`Number of messages returned. When `,_jsx(_components.code,{children:`truncated`}),` is `,_jsx(_components.code,{children:`true`}),` this is the cap, not the call’s real total.`]})}),`\n`,_jsx(ResponseField,{name:`truncated`,type:`boolean`,id:`param-truncated`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the cap of 2,000 messages was reached and later messages are missing.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`This request uses a key that cannot read PII, so numbers are masked and network details are `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`curl`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"https://api.us.poly.ai/api/v1/telephony/calls/CA3f2c1e9d6b7a4f8e9c0d1b2a3c4d5e6f/sip?project_id=PROJECT-V258TF29\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"X-API-KEY: YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response`,numberOfLines:`79`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`79`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"CA3f2c1e9d6b7a4f8e9c0d1b2a3c4d5e6f\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"ACCOUNT-4F8K2M1P\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"PROJECT-V258TF29\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"first_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.100000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"last_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:47.880000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"legs\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"7d3b0e2a-5f41-4c1e-9a8b-2e6f0c1d4a77@203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"first_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.100000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"last_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:47.870000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"final_response\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"b1c4e7f2-9a30-4d6e-8c5b-0f2a7d3e1b94\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"first_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.140000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"last_ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:47.880000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`4`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"final_response\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.100000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"7d3b0e2a-5f41-4c1e-9a8b-2e6f0c1d4a77@203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"INVITE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"cseq\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"1 INVITE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"user_agent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason_headers\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sdp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"referred_by\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"asserted_identity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"diversions\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.112000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"7d3b0e2a-5f41-4c1e-9a8b-2e6f0c1d4a77@203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"100\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`100`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Trying\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"cseq\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"1 INVITE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"***0199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"user_agent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason_headers\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sdp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"referred_by\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"asserted_identity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"diversions\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`9`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"truncated\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`The response is abridged: `,_jsx(_components.code,{children:`legs`}),` shows both legs, `,_jsx(_components.code,{children:`messages`}),` the first two of nine.`]}),`\n`,_jsx(Heading,{level:`3`,id:`with-sip-details-and-pii-access`,children:`With SIP details and PII access`}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`include_sip_details=true`}),` and a key that can read PII, the same call’s `,_jsx(_components.code,{children:`INVITE`}),` and the carrier’s `,_jsx(_components.code,{children:`BYE`}),` look like this:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`54`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`54`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:02.100000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"7d3b0e2a-5f41-4c1e-9a8b-2e6f0c1d4a77@203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5060`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"198.51.100.20\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5060`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"INVITE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"cseq\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"1 INVITE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+442079460142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+442079460199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"user_agent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Carrier-SBC/4.2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason_headers\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sdp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"media_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"media_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`18004`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"transport\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"RTP/AVP\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"srtp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"codecs\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"PCMU/8000\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"PCMA/8000\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"telephone-event/8000\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sendrecv\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ptime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`20`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"referred_by\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"asserted_identity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+442079460142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"diversions\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"ts\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-11-10T09:14:47.850000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"7d3b0e2a-5f41-4c1e-9a8b-2e6f0c1d4a77@203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"203.0.113.10\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"src_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5060`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_ip\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"198.51.100.20\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"dst_port\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`5060`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"BYE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"response_code\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"cseq\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2 BYE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+442079460142\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to_user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+442079460199\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"user_agent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Carrier-SBC/4.2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"reason_headers\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\"protocol\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Q.850\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\"cause\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`16`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sdp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"refer_to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"referred_by\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"asserted_identity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"diversions\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`project_id`}),` is required for your credential and was not sent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing or invalid API key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Authenticated, but the key cannot read conversations.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`The call has no telephony data, is older than 14 days, belongs to another account or does not match `,_jsx(_components.code,{children:`project_id`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`A parameter is malformed, for example `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),` or `,_jsx(_components.code,{children:`include_sip_details`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the `,_jsx(_components.code,{children:`Retry-After`}),` period, then retry.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:`The telephony data store did not answer. Retry with backoff.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Get call SIP ladder","api":"GET /api/v1/telephony/calls/{conversation_id}/sip","description":"The SIP messages of one call, combined across legs and ordered by capture time.","href":"/api-reference/telephony/endpoint/get-call-sip-ladder"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[{"title":"With SIP details and PII access","slug":"with-sip-details-and-pii-access","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Get call SIP ladder","path":"/api/v1/telephony/calls/{conversation_id}/sip","method":"get","request":{"security":[],"parameters":{"query":{"project_id":{"schema":[{"type":"string","description":"The agent the call belongs to. Optional with an account API key; required with a PAT. A call that belongs to a different agent returns `404` ."}]},"from":{"schema":[{"type":"object","properties":{},"description":"Start of the window in which the call is looked up, ISO 8601. Defaults to 14 days ago, the retention limit."}]},"to":{"schema":[{"type":"object","properties":{},"description":"End of the window, ISO 8601. Defaults to now."}]},"include_sip_details":{"schema":[{"type":"boolean","description":"Add selected details from each SIP message: `reason_headers` and `refer_status` for any key, and, when the key can read personal data (PII), `sdp` , `refer_to` , `referred_by` , `asserted_identity` and `diversions` ."}]}},"header":{"X-API-KEY":{"schema":[{"type":"string","description":"Account API key with read access to conversations.","required":true}]}},"cookie":{},"path":{"conversation_id":{"schema":[{"type":"string","description":"The call SID.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"conversation_id":[{"type":"string"}],"account_id":[{"type":"string"}],"project_id":[{"type":"string","description":"`null` when you did not pass `project_id` ."}],"first_ts":[{"type":"object","properties":{},"description":"Capture time of the first message, UTC."}],"last_ts":[{"type":"object","properties":{},"description":"Capture time of the last message, UTC."}],"legs":[{"type":"array","items":[{"type":"object","properties":{"call_id":[{"type":"string","description":"The dialog’s SIP `Call-ID` . See `call_id` under `messages` for how an unusual `Call-ID` is shown."}],"first_ts":[{"type":"object","properties":{}}],"last_ts":[{"type":"object","properties":{}}],"src_ip":[{"type":"string","description":"Source of the first message on this leg. Only when the key can read PII; otherwise `null` ."}],"dst_ip":[{"type":"string","description":"Only when the key can read PII; otherwise `null` ."}],"from_user":[{"type":"string","description":"SIP user part of the caller (usually the phone number), from the first message. Masked unless the key can read PII."}],"to_user":[{"type":"string","description":"SIP user part of the called party (usually the phone number), from the first message. Masked unless the key can read PII."}],"message_count":[{"type":"integer"}],"final_response":[{"type":"integer","description":"First response of `200` or above to any request on this leg, not only to the `INVITE` : a cancelled call shows `200` (the answer to the `CANCEL` ) before the `487` that ends the `INVITE` . `null` if the leg never got one."}]}}],"description":"One entry per SIP dialog, ordered by `first_ts` ."}],"messages":[{"type":"array","items":[{"type":"object","properties":{"ts":[{"type":"object","properties":{},"description":"Capture time, UTC."}],"call_id":[{"type":"string","description":"The leg the message belongs to. A `Call-ID` that is not printable ASCII of up to 128 characters is replaced by `invalid-` followed by a hash, so its messages still group into one leg."}],"src_ip":[{"type":"string","description":"Only when the key can read PII; otherwise `null` ."}],"src_port":[{"type":"integer","description":"Only when the key can read PII; otherwise `null` ."}],"dst_ip":[{"type":"string","description":"Only when the key can read PII; otherwise `null` ."}],"dst_port":[{"type":"integer","description":"Only when the key can read PII; otherwise `null` ."}],"method":[{"type":"string","description":"The request method (for example `INVITE` , `BYE` or `REFER` ), `OTHER` for a method that is not a standard SIP method, or the response code as a string (for example `180` or `200` ) for a response."}],"response_code":[{"type":"integer","description":"Set for responses only."}],"reason":[{"type":"string","description":"The standard reason phrase for `response_code` (for example `Busy Here` for `486` ), for responses only. The phrase the remote party actually sent is not returned."}],"cseq":[{"type":"string","description":"The `CSeq` header, for example `1 INVITE` ."}],"from_user":[{"type":"string","description":"SIP user part of the caller (usually the phone number). Masked unless the key can read PII."}],"to_user":[{"type":"string","description":"SIP user part of the called party (usually the phone number). Masked unless the key can read PII."}],"user_agent":[{"type":"string","description":"The `User-Agent` header. Only when the key can read PII; otherwise `null` ."}],"reason_headers":[{"type":"array","items":[{"type":"object","properties":{"protocol":[{"type":"string","description":"`Q.850` or `SIP` . Causes in other namespaces are left out."}],"cause":[{"type":"integer","description":"The cause code, for example Q.850 `16` (normal call clearing) or SIP `200` ."}]}}],"description":"Causes from the message’s `Reason` headers, for example why a `BYE` or `CANCEL` was sent. Only with `include_sip_details` ; otherwise empty."}],"refer_status":[{"type":"integer","description":"The status of a transfer, from the `NOTIFY` that reports a `REFER` ’s progress: for example `200` when the transfer target answered, or `486` when it was busy. Only with `include_sip_details` ; otherwise `null` ."}],"sdp":[{"type":"object","properties":{"media_ip":[{"type":"string","description":"The connection address, when it is an IP address."}],"media_port":[{"type":"integer"}],"transport":[{"type":"string","description":"The media transport, for example `RTP/AVP` or `RTP/SAVP` . `null` when it is not a known RTP profile."}],"srtp":[{"type":"boolean","description":"`true` when the media is encrypted (SRTP), or the stream offers SRTP keys."}],"codecs":[{"type":"array","items":[{"type":"string"}],"description":"Codecs in the order offered or answered, for example `PCMU/8000` . An encoding PolyAI does not recognise is shown as `other` ."}],"direction":[{"type":"string","description":"`sendrecv` , `sendonly` (for example when the call is put on hold), `recvonly` or `inactive` ."}],"ptime":[{"type":"integer","description":"Packetization time, in milliseconds."}]},"description":"The media offered or answered by the message’s first audio stream, when it carries a Session Description Protocol (SDP) body. `null` when there is none, or when the SDP is inside a multipart body. Only with `include_sip_details` and PII access."}],"refer_to":[{"type":"string","description":"The transfer target from `Refer-To` , when it is a phone number. Only with `include_sip_details` and PII access."}],"referred_by":[{"type":"string","description":"The number in `Referred-By` , when it is a phone number. Only with `include_sip_details` and PII access."}],"asserted_identity":[{"type":"string","description":"The number in `P-Asserted-Identity` , when it is a phone number. Only with `include_sip_details` and PII access."}],"diversions":[{"type":"array","items":[{"type":"object","properties":{"number":[{"type":"string","description":"The number the call was diverted from, when it is a phone number."}],"reason":[{"type":"string","description":"Why it was diverted, for example `no-answer` or `unconditional` ."}]}}],"description":"The call’s redirections, from its `Diversion` headers. Only with `include_sip_details` and PII access; otherwise empty."}]}}],"description":"The messages of all legs, ordered by capture time."}],"total":[{"type":"integer","description":"Number of messages returned. When `truncated` is `true` this is the cap, not the call’s real total."}],"truncated":[{"type":"boolean","description":"`true` when the cap of 2,000 messages was reached and later messages are missing."}]}}],"examples":{"example":{"value":{"conversation_id":"\u003cstring>","account_id":"\u003cstring>","project_id":"\u003cstring>","first_ts":{},"last_ts":{},"legs":[{"call_id":"\u003cstring>","first_ts":{},"last_ts":{},"src_ip":"\u003cstring>","dst_ip":"\u003cstring>","from_user":"\u003cstring>","to_user":"\u003cstring>","message_count":123,"final_response":123}],"messages":[{"ts":{},"call_id":"\u003cstring>","src_ip":"\u003cstring>","src_port":123,"dst_ip":"\u003cstring>","dst_port":123,"method":"\u003cstring>","response_code":123,"reason":"\u003cstring>","cseq":"\u003cstring>","from_user":"\u003cstring>","to_user":"\u003cstring>","user_agent":"\u003cstring>","reason_headers":[{"protocol":"\u003cstring>","cause":123}],"refer_status":123,"sdp":{"media_ip":"\u003cstring>","media_port":123,"transport":"\u003cstring>","srtp":true,"codecs":["\u003cstring>"],"direction":"\u003cstring>","ptime":123},"refer_to":"\u003cstring>","referred_by":"\u003cstring>","asserted_identity":"\u003cstring>","diversions":[{"number":"\u003cstring>","reason":"\u003cstring>"}]}],"total":123,"truncated":true}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"polyai","siteName":"PolyAI Platform","title":"Get call SIP ladder - PolyAI Platform","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T13:40:42.752Z","gitLastModified":"2026-12-04T13:40:26.000Z","originalFileLocation":"api-reference/telephony/endpoint/get-call-sip-ladder.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=\"The SIP messages of one call, combined across legs and ordered by capture time.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PolyAI Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_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/polyai/JgpL71FS67wXTWm8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get call SIP ladder - PolyAI Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"The SIP messages of one call, combined across legs and ordered by capture time.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PolyAI Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polyai.mintlify.site/_mintlify/api/og/v2?division=Telephony+API\u0026amp;title=Get+call+SIP+ladder\u0026amp;description=The+SIP+messages+of+one+call%2C+combined+across+legs+and+ordered+by+capture+time.\u0026amp;theme=f76f95fb1a1c1406194b1abe\u0026amp;signature=aab3d9033c423946bd8d91e8789383ca050d6029758ebd1bc637016385cf0a11\">\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=\"Get call SIP ladder - PolyAI Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The SIP messages of one call, combined across legs and ordered by capture time.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polyai.mintlify.site/_mintlify/api/og/v2?division=Telephony+API\u0026amp;title=Get+call+SIP+ladder\u0026amp;description=The+SIP+messages+of+one+call%2C+combined+across+legs+and+ordered+by+capture+time.\u0026amp;theme=f76f95fb1a1c1406194b1abe\u0026amp;signature=aab3d9033c423946bd8d91e8789383ca050d6029758ebd1bc637016385cf0a11\">\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/polyai/JgpL71FS67wXTWm8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PolyAI Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4a7c10\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/telephony/endpoint/get-call-sip-ladder.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://poly.ai/#organization\",\"name\":\"PolyAI\",\"legalName\":\"PolyAI Limited\",\"url\":\"https://poly.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.poly.ai/logo/dark.png\"},\"sameAs\":[\"https://poly.ai\",\"https://github.com/polyai\",\"https://www.linkedin.com/company/polyai/\",\"https://pypi.org/project/polyai-adk/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.poly.ai#website\",\"name\":\"PolyAI Platform\",\"url\":\"https://docs.poly.ai\",\"publisher\":{\"@id\":\"https://poly.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder#webpage\",\"url\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder\",\"name\":\"Get call SIP ladder\",\"description\":\"The SIP messages of one call, combined across legs and ordered by capture time.\",\"dateModified\":\"2026-12-04T13:40:26.000Z\",\"isPartOf\":{\"@id\":\"https://docs.poly.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runtime \u0026 data\",\"item\":\"https://docs.poly.ai/api-reference/chat/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Telephony API\",\"item\":\"https://docs.poly.ai/api-reference/telephony/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get call SIP ladder\",\"item\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder#apireference\",\"headline\":\"Get call SIP ladder\",\"name\":\"Get call SIP ladder\",\"description\":\"The SIP messages of one call, combined across legs and ordered by capture time.\",\"url\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder\",\"mainEntityOfPage\":{\"@id\":\"https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder#webpage\"},\"dateModified\":\"2026-12-04T13:40:26.000Z\",\"publisher\":{\"@id\":\"https://poly.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.poly.ai#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/telephony/endpoint/get-call-sip-ladder.md","siteName":"PolyAI Platform","nav":{"global":{"anchors":[{"anchor":"Home","icon":"book-open-cover","href":"https://docs.poly.ai/home"},{"anchor":"Community","icon":"slack","href":"https://polyaijupiter-uki8686.slack.com/archives/C075ST5UK7Y"},{"anchor":"Blog","icon":"newspaper","href":"https://poly.ai/resources/?_resource_type=post"}]},"tabs":[{"tab":"Dialog Studio","pages":[{"title":"Dialog Studio","href":"/home"}]},{"tab":"Dialog-RSN-1","pages":[{"title":"Dialog-RSN-1","href":"/dialog-rsn-1/overview"}]},{"tab":"Academy","pages":[{"title":"Academy","href":"/learn/guides/polyacademy"}]},{"tab":"ADK","pages":[{"title":"ADK","href":"/adk"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","sidebarTitle":"Overview","mode":"wide","href":"/api-reference/introduction"},{"title":"API quickstart","sidebarTitle":"Quickstart","href":"/api-reference/quickstart"},{"title":"Error codes","sidebarTitle":"Error codes","href":"/api-reference/error-codes"}]},{"group":"Models","pages":[{"group":"Dialog-RSN-1 API","pages":[{"title":"Dialog-RSN-1 API","sidebarTitle":"API reference","href":"/api-reference/dialog-rsn-1/reference"},{"title":"Dialog-RSN-1 limits and pricing","sidebarTitle":"Limits","href":"/api-reference/dialog-rsn-1/limits"}]}]},{"group":"Build \u0026 deploy","pages":[{"group":"Agents API","pages":[{"title":"Agents API","sidebarTitle":"Overview","href":"/api-reference/agents/introduction"},{"group":"Agents","pages":[{"title":"List agents","openapi":"GET /v1/accounts/{accountId}/agents","href":"/api-reference/agents/endpoint/agents/list-agents"},{"title":"Create agent","openapi":"POST /v1/accounts/{accountId}/agents","href":"/api-reference/agents/endpoint/agents/create-agent"},{"title":"Duplicate agent","openapi":"POST /v1/agents/{agentId}/duplicate","href":"/api-reference/agents/endpoint/agents/duplicate-agent"},{"title":"Delete agent","openapi":"DELETE /v1/agents/{agentId}","href":"/api-reference/agents/endpoint/agents/delete-agent"}]},{"group":"Branches","pages":[{"title":"List branches","openapi":"GET /v1/agents/{agentId}/branches","href":"/api-reference/agents/endpoint/branches/list-branches"},{"title":"Create branch","openapi":"POST /v1/agents/{agentId}/branches","href":"/api-reference/agents/endpoint/branches/create-branch"},{"title":"Merge branch","openapi":"POST /v1/agents/{agentId}/branches/{branchId}/merge","href":"/api-reference/agents/endpoint/branches/merge-branch"},{"title":"Delete branch","openapi":"DELETE /v1/agents/{agentId}/branches/{branchId}","href":"/api-reference/agents/endpoint/branches/delete-branch"},{"title":"Sync branch with parent","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/sync","href":"/api-reference/agents/endpoint/branches/sync-branch"},{"title":"Check branch divergence","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/divergence","href":"/api-reference/agents/endpoint/branches/check-branch-divergence"},{"title":"Get merge history for a branch","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/merge-history","href":"/api-reference/agents/endpoint/branches/get-merge-history"},{"title":"Deploy a branch","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/deploy","href":"/api-reference/agents/endpoint/branches/deploy-branch"},{"title":"Tag a branch as staging","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/branches/{branchId}/tag","href":"/api-reference/agents/endpoint/branches/tag-branch"},{"title":"Remove the tag from a branch","openapi":"api-reference/agents/openapi.json DELETE /v1/agents/{agentId}/branches/{branchId}/tag","href":"/api-reference/agents/endpoint/branches/untag-branch"},{"title":"List archived branches","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/archive","href":"/api-reference/agents/endpoint/branches/list-archived-branches"},{"title":"Restore an archived branch","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/restore","href":"/api-reference/agents/endpoint/branches/restore-branch"}]},{"group":"Agent behavior","pages":[{"title":"Get agent behavior rules","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/behavior","href":"/api-reference/agents/endpoint/behavior/get-agent-behavior-rules"},{"title":"Update agent behavior rules","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/behavior","href":"/api-reference/agents/endpoint/behavior/update-agent-behavior-rules"}]},{"group":"Models","pages":[{"title":"List language models","openapi":"GET /v1/llm-models","href":"/api-reference/agents/endpoint/models/list-language-models"},{"title":"List ASR models","openapi":"GET /v1/asr-models","href":"/api-reference/agents/endpoint/models/list-asr-models"},{"title":"Get an agent's language models","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/llm-models","href":"/api-reference/agents/endpoint/models/get-agent-language-models"},{"title":"Change a channel's language model","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/llm-models","href":"/api-reference/agents/endpoint/models/update-channel-language-model"},{"title":"Get an agent's ASR model","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/asr-model","href":"/api-reference/agents/endpoint/models/get-agent-asr-model"},{"title":"Change an agent's ASR model","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/asr-model","href":"/api-reference/agents/endpoint/models/update-agent-asr-model"}]},{"group":"Knowledge base","pages":[{"title":"List knowledge base topics","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics","href":"/api-reference/agents/endpoint/knowledge-base/list-knowledge-base-topics"},{"title":"Create knowledge base topic","openapi":"POST /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics","href":"/api-reference/agents/endpoint/knowledge-base/create-knowledge-base-topic"},{"title":"Get knowledge base topic","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics/{topicId}","href":"/api-reference/agents/endpoint/knowledge-base/get-knowledge-base-topic"},{"title":"Update knowledge base topic","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics/{topicId}","href":"/api-reference/agents/endpoint/knowledge-base/update-knowledge-base-topic"},{"title":"Delete knowledge base topic","openapi":"DELETE /v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics/{topicId}","href":"/api-reference/agents/endpoint/knowledge-base/delete-knowledge-base-topic"}]},{"group":"Source Hub","pages":[{"title":"List knowledge base sources","openapi":"GET /v1/agents/{agentId}/knowledge-base/sources","href":"/api-reference/agents/endpoint/source-hub/list-sources"},{"title":"Get a knowledge base source","openapi":"GET /v1/agents/{agentId}/knowledge-base/sources/{sourceId}","href":"/api-reference/agents/endpoint/source-hub/get-source"},{"title":"Add a website source","openapi":"POST /v1/agents/{agentId}/knowledge-base/sources/websites","href":"/api-reference/agents/endpoint/source-hub/add-website-source"},{"title":"Upload a file source","openapi":"POST /v1/agents/{agentId}/knowledge-base/sources/files","href":"/api-reference/agents/endpoint/source-hub/upload-file-source"},{"title":"Update a knowledge base source","openapi":"PATCH /v1/agents/{agentId}/knowledge-base/sources/{sourceId}","href":"/api-reference/agents/endpoint/source-hub/update-source"},{"title":"Sync a website source","openapi":"POST /v1/agents/{agentId}/knowledge-base/sources/{sourceId}/sync","href":"/api-reference/agents/endpoint/source-hub/sync-website-source"},{"title":"Delete a knowledge base source","openapi":"DELETE /v1/agents/{agentId}/knowledge-base/sources/{sourceId}","href":"/api-reference/agents/endpoint/source-hub/delete-source"}]},{"group":"Builder knowledge","expanded":false,"pages":[{"title":"Search the builder knowledge base","openapi":"api-reference/agents/openapi.json GET /v1/builder-knowledge/search","href":"/api-reference/agents/endpoint/builder-knowledge/search-builder-knowledge"},{"title":"List builder knowledge categories","openapi":"api-reference/agents/openapi.json GET /v1/builder-knowledge/categories","href":"/api-reference/agents/endpoint/builder-knowledge/list-builder-knowledge-categories"},{"title":"Read a builder knowledge document","openapi":"api-reference/agents/openapi.json GET /v1/builder-knowledge/docs/{path}","href":"/api-reference/agents/endpoint/builder-knowledge/read-builder-knowledge-document"}]},{"group":"Flows and functions","pages":[{"group":"Flows","pages":[{"title":"List flows","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/flows","href":"/api-reference/agents/endpoint/flows-and-functions/list-flows"},{"title":"Create flow","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/flows","href":"/api-reference/agents/endpoint/flows-and-functions/create-flow"},{"title":"Get flow","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/flows/{flowId}","href":"/api-reference/agents/endpoint/flows-and-functions/get-flow"},{"title":"Update flow","openapi":"api-reference/agents/openapi.json PATCH /v1/agents/{agentId}/branches/{branchId}/flows/{flowId}","href":"/api-reference/agents/endpoint/flows-and-functions/update-flow"},{"title":"Delete flow","openapi":"api-reference/agents/openapi.json DELETE /v1/agents/{agentId}/branches/{branchId}/flows/{flowId}","href":"/api-reference/agents/endpoint/flows-and-functions/delete-flow"}]},{"group":"Functions","pages":[{"title":"List functions","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions","href":"/api-reference/agents/endpoint/flows-and-functions/list-functions"},{"title":"Create function","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/functions","href":"/api-reference/agents/endpoint/flows-and-functions/create-function"},{"title":"Get function","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}","href":"/api-reference/agents/endpoint/flows-and-functions/get-function"},{"title":"Update function","openapi":"api-reference/agents/openapi.json PATCH /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}","href":"/api-reference/agents/endpoint/flows-and-functions/update-function"},{"title":"Delete function","openapi":"api-reference/agents/openapi.json DELETE /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}","href":"/api-reference/agents/endpoint/flows-and-functions/delete-function"},{"title":"Duplicate function","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}/duplicate","href":"/api-reference/agents/endpoint/flows-and-functions/duplicate-function"},{"title":"Execute function","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}/execute","href":"/api-reference/agents/endpoint/flows-and-functions/execute-function"},{"title":"Get function references","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}/references","href":"/api-reference/agents/endpoint/flows-and-functions/get-function-references"},{"title":"Get function type definitions","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/{functionId}/type-definitions","href":"/api-reference/agents/endpoint/flows-and-functions/get-function-type-definitions"},{"title":"Validate functions","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/validate","href":"/api-reference/agents/endpoint/flows-and-functions/validate-functions"},{"title":"Get start function","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/start","href":"/api-reference/agents/endpoint/flows-and-functions/get-start-function"},{"title":"Replace start function","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/branches/{branchId}/functions/start","href":"/api-reference/agents/endpoint/flows-and-functions/replace-start-function"},{"title":"Get end function","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/functions/end","href":"/api-reference/agents/endpoint/flows-and-functions/get-end-function"},{"title":"Replace end function","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/branches/{branchId}/functions/end","href":"/api-reference/agents/endpoint/flows-and-functions/replace-end-function"}]}]},{"group":"Variants","expanded":false,"pages":[{"title":"List attributes","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/attributes","href":"/api-reference/agents/endpoint/variants/list-attributes"},{"title":"Create attribute","openapi":"POST /v1/agents/{agentId}/branches/{branchId}/attributes","href":"/api-reference/agents/endpoint/variants/create-attribute"},{"title":"Update attribute","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/attributes/{attributeId}","href":"/api-reference/agents/endpoint/variants/update-attribute"},{"title":"Delete attribute","openapi":"DELETE /v1/agents/{agentId}/branches/{branchId}/attributes/{attributeId}","href":"/api-reference/agents/endpoint/variants/delete-attribute"},{"title":"List variants","openapi":"GET /v1/agents/{agentId}/branches/{branchId}/variants","href":"/api-reference/agents/endpoint/variants/list-variants"},{"title":"Create variant","openapi":"POST /v1/agents/{agentId}/branches/{branchId}/variants","href":"/api-reference/agents/endpoint/variants/create-variant"},{"title":"Update variant","openapi":"PATCH /v1/agents/{agentId}/branches/{branchId}/variants/{variantId}","href":"/api-reference/agents/endpoint/variants/update-variant"},{"title":"Delete variant","openapi":"DELETE /v1/agents/{agentId}/branches/{branchId}/variants/{variantId}","href":"/api-reference/agents/endpoint/variants/delete-variant"}]},{"group":"Deployments","pages":[{"title":"List deployments for an environment","openapi":"GET /v1/agents/{agentId}/deployments","href":"/api-reference/agents/endpoint/deployments/list-deployments-for-an-environment"},{"title":"Get active deployment per environment","openapi":"GET /v1/agents/{agentId}/deployments/active","href":"/api-reference/agents/endpoint/deployments/get-active-deployment-per-environment"},{"title":"Publish the current draft to an environment","openapi":"POST /v1/agents/{agentId}/deployments/publish","href":"/api-reference/agents/endpoint/deployments/publish-the-current-draft-to-an-environment"},{"title":"Promote a deployment to the next environment","openapi":"POST /v1/agents/{agentId}/deployments/{deploymentId}/promote","href":"/api-reference/agents/endpoint/deployments/promote-a-deployment-to-the-next-environment"},{"title":"Rollback to a previous deployment","openapi":"POST /v1/agents/{agentId}/deployments/{deploymentId}/rollback","href":"/api-reference/agents/endpoint/deployments/rollback-to-a-previous-deployment"},{"title":"Get a deployment","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/deployments/{deploymentId}","href":"/api-reference/agents/endpoint/deployments/get-a-deployment"}]},{"group":"Testing","expanded":false,"pages":[{"title":"List test cases","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/testing/test-cases","href":"/api-reference/agents/endpoint/testing/list-test-cases"},{"title":"Get test case","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/testing/test-cases/{testCaseId}","href":"/api-reference/agents/endpoint/testing/get-test-case"},{"title":"Trigger a test run","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/testing/test-runs/trigger","href":"/api-reference/agents/endpoint/testing/trigger-test-run"},{"title":"List test runs for a project","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/testing/test-runs","href":"/api-reference/agents/endpoint/testing/list-test-runs"},{"title":"Get a test run by ID","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/testing/test-runs/{testRunId}","href":"/api-reference/agents/endpoint/testing/get-test-run"},{"title":"Get test execution history for a project","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/testing/test-history","href":"/api-reference/agents/endpoint/testing/get-test-history"}]},{"group":"MCP servers","expanded":false,"pages":[{"title":"List MCP servers","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/branches/{branchId}/mcp-servers","href":"/api-reference/agents/endpoint/mcp-servers/list-mcp-servers"},{"title":"Add MCP server","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/branches/{branchId}/mcp-servers","href":"/api-reference/agents/endpoint/mcp-servers/add-mcp-server"},{"title":"Update MCP server","openapi":"api-reference/agents/openapi.json PATCH /v1/agents/{agentId}/branches/{branchId}/mcp-servers/{serverId}","href":"/api-reference/agents/endpoint/mcp-servers/update-mcp-server"},{"title":"Connect MCP server","openapi":"api-reference/agents/openapi.json PATCH /v1/agents/{agentId}/branches/{branchId}/mcp-servers/{serverId}/connect","href":"/api-reference/agents/endpoint/mcp-servers/connect-mcp-server"},{"title":"Delete MCP server","openapi":"api-reference/agents/openapi.json DELETE /v1/agents/{agentId}/branches/{branchId}/mcp-servers/{serverId}","href":"/api-reference/agents/endpoint/mcp-servers/delete-mcp-server"}]},{"group":"Connectors","expanded":false,"pages":[{"title":"List all connectors for a project","openapi":"GET /v1/agents/{agentId}/telephony/connectors","href":"/api-reference/agents/endpoint/connectors/list-all-connectors-for-a-project"},{"title":"Get a connector by ID","openapi":"GET /v1/agents/{agentId}/telephony/connectors/{connectorId}","href":"/api-reference/agents/endpoint/connectors/get-a-connector-by-id"},{"title":"Update a connector","openapi":"PATCH /v1/agents/{agentId}/telephony/connectors/{connectorId}","href":"/api-reference/agents/endpoint/connectors/update-a-connector"},{"title":"Delete a connector and its phone numbers","openapi":"DELETE /v1/agents/{agentId}/telephony/connectors/{connectorId}","href":"/api-reference/agents/endpoint/connectors/delete-a-connector-and-its-phone-numbers"},{"title":"Batch get connectors by ID","openapi":"POST /v1/agents/{agentId}/telephony/connectors/batch","href":"/api-reference/agents/endpoint/connectors/batch-get-connectors-by-id"},{"title":"Batch update connectors","openapi":"PATCH /v1/agents/{agentId}/telephony/connectors/batch","href":"/api-reference/agents/endpoint/connectors/batch-update-connectors"},{"title":"Look up connector by phone number","openapi":"POST /v1/agents/{agentId}/telephony/connectors/lookup","href":"/api-reference/agents/endpoint/connectors/look-up-connector-by-phone-number"}]},{"group":"Connector tokens","expanded":false,"pages":[{"title":"List connector tokens","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/telephony/connector-tokens","href":"/api-reference/agents/endpoint/connector-tokens/list-connector-tokens"},{"title":"Get the connector token for an environment","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/telephony/connector-tokens/{clientEnv}","href":"/api-reference/agents/endpoint/connector-tokens/get-connector-token"},{"title":"Ensure a connector token exists for an environment","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/telephony/connector-tokens/{clientEnv}","href":"/api-reference/agents/endpoint/connector-tokens/ensure-connector-token"}]},{"group":"Secrets","expanded":false,"pages":[{"title":"Create a secret","openapi":"POST /v1/agents/{agentId}/secrets","href":"/api-reference/agents/endpoint/secrets/create-a-secret"},{"title":"Update a secret","openapi":"PUT /v1/agents/{agentId}/secrets/{secretName}","href":"/api-reference/agents/endpoint/secrets/update-a-secret"},{"title":"Delete a secret","openapi":"DELETE /v1/agents/{agentId}/secrets/{secretName}","href":"/api-reference/agents/endpoint/secrets/delete-a-secret"}]},{"group":"Outbound calls","expanded":false,"pages":[{"title":"Trigger an outbound call","openapi":"POST /v1/agents/{agentId}/telephony/outbound-calls","href":"/api-reference/agents/endpoint/outbound-calls/trigger-outbound-call"},{"title":"Get the status of an outbound call","openapi":"GET /v1/agents/{agentId}/telephony/outbound-calls/{callSid}/status","href":"/api-reference/agents/endpoint/outbound-calls/get-outbound-call-status"}]},{"group":"Phone numbers","expanded":false,"pages":[{"title":"List all phone numbers for a project","openapi":"GET /v1/agents/{agentId}/telephony/phone-numbers","href":"/api-reference/agents/endpoint/phone-numbers/list-all-phone-numbers-for-a-project"},{"title":"Import phone numbers into a project","openapi":"POST /v1/agents/{agentId}/telephony/phone-numbers","href":"/api-reference/agents/endpoint/phone-numbers/import-phone-numbers-into-a-project"},{"title":"Import a single phone number","openapi":"POST /v1/agents/{agentId}/telephony/phone-numbers/{phoneNumber}","href":"/api-reference/agents/endpoint/phone-numbers/import-a-single-phone-number"},{"title":"Get a specific phone number","openapi":"GET /v1/agents/{agentId}/telephony/phone-numbers/{phoneNumber}","href":"/api-reference/agents/endpoint/phone-numbers/get-a-specific-phone-number"},{"title":"Reassign a phone number to a different connector","openapi":"PATCH /v1/agents/{agentId}/telephony/phone-numbers/{phoneNumber}","href":"/api-reference/agents/endpoint/phone-numbers/reassign-a-phone-number-to-a-different-connector"},{"title":"Delete a single phone number","openapi":"DELETE /v1/agents/{agentId}/telephony/phone-numbers/{phoneNumber}","href":"/api-reference/agents/endpoint/phone-numbers/delete-a-single-phone-number"},{"title":"Delete phone numbers from a project","openapi":"DELETE /v1/agents/{agentId}/telephony/phone-numbers","href":"/api-reference/agents/endpoint/phone-numbers/delete-phone-numbers-from-a-project"},{"title":"Batch get phone numbers","openapi":"POST /v1/agents/{agentId}/telephony/phone-numbers/batch","href":"/api-reference/agents/endpoint/phone-numbers/batch-get-phone-numbers"}]},{"group":"Real-time configs","pages":[{"title":"List all config pages","openapi":"GET /v1/agents/{agentId}/real-time-configs","href":"/api-reference/agents/endpoint/real-time-configs/list-all-config-pages"},{"title":"Get a config page by environment","openapi":"GET /v1/agents/{agentId}/real-time-configs/{clientEnv}","href":"/api-reference/agents/endpoint/real-time-configs/get-a-config-page-by-environment"},{"title":"Upsert the JSON Schema for a config page","openapi":"PUT /v1/agents/{agentId}/real-time-configs/{clientEnv}/schema","href":"/api-reference/agents/endpoint/real-time-configs/upsert-the-json-schema-for-a-config-page"},{"title":"Update config variables for an environment","openapi":"PATCH /v1/agents/{agentId}/real-time-configs/{clientEnv}/variables","href":"/api-reference/agents/endpoint/real-time-configs/update-config-variables-for-an-environment"}]},{"group":"Voice Library","expanded":false,"pages":[{"title":"List voices","openapi":"GET /v1/accounts/{accountId}/voice-library","href":"/api-reference/agents/endpoint/voice-library/list-voices"},{"title":"Register a voice","openapi":"POST /v1/accounts/{accountId}/voice-library","href":"/api-reference/agents/endpoint/voice-library/register-voice"},{"title":"Get a voice","openapi":"GET /v1/accounts/{accountId}/voice-library/{voiceId}","href":"/api-reference/agents/endpoint/voice-library/get-voice"},{"title":"Update a voice","openapi":"PATCH /v1/accounts/{accountId}/voice-library/{voiceId}","href":"/api-reference/agents/endpoint/voice-library/update-voice"},{"title":"Synthesize a voice sample","openapi":"GET /v1/accounts/{accountId}/voice-library/{voiceId}/sample","href":"/api-reference/agents/endpoint/voice-library/synthesize-voice-sample"}]},{"group":"Audio cache","expanded":false,"pages":[{"title":"List cached audio entries","openapi":"GET /v1/agents/{agentId}/audio-cache","href":"/api-reference/agents/endpoint/audio-cache/list-audio-cache"},{"title":"Download cached audio file","openapi":"GET /v1/agents/{agentId}/audio-cache/{entryId}/file","href":"/api-reference/agents/endpoint/audio-cache/download-audio-file"},{"title":"Replace cached audio file","openapi":"PATCH /v1/agents/{agentId}/audio-cache/{entryId}/file","href":"/api-reference/agents/endpoint/audio-cache/replace-audio-file"},{"title":"Replace audio and voice tuning settings","openapi":"PUT /v1/agents/{agentId}/audio-cache/{entryId}/details","href":"/api-reference/agents/endpoint/audio-cache/update-audio-cache-details"},{"title":"Synthesize audio preview","openapi":"POST /v1/agents/{agentId}/audio-cache/{entryId}/synthesize","href":"/api-reference/agents/endpoint/audio-cache/synthesize-audio-preview"},{"title":"Delete a cached audio entry","openapi":"DELETE /v1/agents/{agentId}/audio-cache/{entryId}","href":"/api-reference/agents/endpoint/audio-cache/delete-audio-cache-entry"},{"title":"Bulk delete cached audio entries","openapi":"POST /v1/agents/{agentId}/audio-cache/bulk-delete","href":"/api-reference/agents/endpoint/audio-cache/bulk-delete-audio-cache"}]},{"group":"Voice configuration","expanded":false,"pages":[{"title":"Set the project's active voice","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/voice","href":"/api-reference/agents/endpoint/voices/set-project-voice"},{"title":"List deployed voice configurations","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/deployed-voices","href":"/api-reference/agents/endpoint/voices/list-deployed-voices"},{"title":"Create or update a deployed voice configuration","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/deployed-voices","href":"/api-reference/agents/endpoint/voices/upsert-deployed-voice"},{"title":"Delete a deployed voice configuration","openapi":"api-reference/agents/openapi.json DELETE /v1/agents/{agentId}/deployed-voices/{deployedVoiceId}","href":"/api-reference/agents/endpoint/voices/delete-deployed-voice"},{"title":"Get voice tuning settings","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/voices/{voiceId}/tuning-settings","href":"/api-reference/agents/endpoint/voices/get-voice-tuning-settings"},{"title":"Update voice tuning settings","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/voices/{voiceId}/tuning-settings","href":"/api-reference/agents/endpoint/voices/update-voice-tuning-settings"},{"title":"Get disclaimer voice tuning settings","openapi":"api-reference/agents/openapi.json GET /v1/agents/{agentId}/voices/{voiceId}/disclaimer/tuning-settings","href":"/api-reference/agents/endpoint/voices/get-disclaimer-tuning-settings"},{"title":"Update disclaimer voice tuning settings","openapi":"api-reference/agents/openapi.json PUT /v1/agents/{agentId}/voices/{voiceId}/disclaimer/tuning-settings","href":"/api-reference/agents/endpoint/voices/update-disclaimer-tuning-settings"},{"title":"Generate a TTS audio preview","openapi":"api-reference/agents/openapi.json POST /v1/agents/{agentId}/generate-audio","href":"/api-reference/agents/endpoint/voices/generate-audio-preview"}]}]},{"group":"Wren API","pages":[{"title":"Wren API","sidebarTitle":"Overview","href":"/api-reference/wren/introduction"},{"title":"Send a turn","openapi":"POST /v1/studio-assistant/turn","href":"/api-reference/wren/endpoint/send-turn"},{"group":"Recommendations","pages":[{"title":"List recommendations","openapi":"GET /v1/accounts/{accountId}/projects/{projectId}/recommendations","href":"/api-reference/wren/endpoint/recommendations/list-recommendations"},{"title":"Get a recommendation","openapi":"GET /v1/accounts/{accountId}/projects/{projectId}/recommendations/{number}","href":"/api-reference/wren/endpoint/recommendations/get-recommendation"}]}]},{"group":"Debug Chat API","pages":[{"title":"Debug Chat API","sidebarTitle":"Overview","href":"/api-reference/debug-chat/introduction"},{"title":"Create a new debug chat session","openapi":"api-reference/debug-chat/openapi.json POST /v1/agents/{agentId}/debug-chat","href":"/api-reference/debug-chat/create-debug-chat-session"},{"title":"Send a message to a debug chat session","openapi":"api-reference/debug-chat/openapi.json POST /v1/agents/{agentId}/debug-chat/{conversationId}","href":"/api-reference/debug-chat/send-debug-chat-message"}]},{"group":"SIP Trunking API","pages":[{"title":"SIP Trunking API","sidebarTitle":"Overview","href":"/api-reference/sip-trunking/introduction"},{"group":"SIP Trunks","pages":[{"title":"List SIP Trunks","openapi":"GET /v1/accounts/{account_id}/telephony/sip-trunks","href":"/api-reference/sip-trunking/endpoint/list-sip-trunks"},{"title":"Create a SIP Trunk","openapi":"POST /v1/accounts/{account_id}/telephony/sip-trunks","href":"/api-reference/sip-trunking/endpoint/create-a-sip-trunk"},{"title":"Get a SIP Trunk","openapi":"GET /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}","href":"/api-reference/sip-trunking/endpoint/get-a-sip-trunk"},{"title":"Update a SIP Trunk","openapi":"PATCH /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}","href":"/api-reference/sip-trunking/endpoint/update-a-sip-trunk"},{"title":"Delete a SIP Trunk","openapi":"DELETE /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}","href":"/api-reference/sip-trunking/endpoint/delete-a-sip-trunk"}]},{"group":"Extensions","pages":[{"title":"List extensions","openapi":"GET /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}/extensions","href":"/api-reference/sip-trunking/endpoint/list-extensions"},{"title":"Create an extension","openapi":"POST /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}/extensions","href":"/api-reference/sip-trunking/endpoint/create-an-extension"},{"title":"Get an extension","openapi":"GET /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}/extensions/{extension}","href":"/api-reference/sip-trunking/endpoint/get-an-extension"},{"title":"Update an extension","openapi":"PATCH /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}/extensions/{extension}","href":"/api-reference/sip-trunking/endpoint/update-an-extension"},{"title":"Delete an extension","openapi":"DELETE /v1/accounts/{account_id}/telephony/sip-trunks/{trunk_id}/extensions/{extension}","href":"/api-reference/sip-trunking/endpoint/delete-an-extension"}]},{"group":"Outbound calls","pages":[{"title":"Place an outbound call","openapi":"POST /v1/telephony/sip-trunks/{trunkId}/outbound-call","href":"/api-reference/sip-trunking/endpoint/place-an-outbound-call"},{"title":"Get outbound call status","openapi":"GET /v1/telephony/sip-trunks/{trunkId}/outbound-call/{callSid}","href":"/api-reference/sip-trunking/endpoint/get-outbound-call-status"}]},{"title":"Connecting to PolyAI Telephony","sidebarTitle":"Connecting to Telephony","href":"/api-reference/sip-trunking/connecting"}]}]},{"group":"Runtime \u0026 data","pages":[{"group":"Chat API","pages":[{"title":"Chat API","sidebarTitle":"Overview","href":"/api-reference/chat/introduction"},{"title":"Create a chat","openapi":"POST /{version}/{account_id}/{project_id}/chat/create","href":"/api-reference/chat/endpoint/create-a-chat"},{"title":"Respond to a chat","openapi":"POST /{version}/{account_id}/{project_id}/chat/respond","href":"/api-reference/chat/endpoint/respond-to-a-chat"},{"title":"Close a chat","openapi":"PUT /{version}/{account_id}/{project_id}/chat/close","href":"/api-reference/chat/endpoint/close-a-chat"}]},{"group":"Concurrent Calls API","pages":[{"title":"Concurrent Calls API","sidebarTitle":"Overview","href":"/api-reference/concurrent-calls/introduction"},{"title":"Get max concurrent call numbers","openapi":"GET /v1/{account_id}/{project_id}/conversations/concurrency","href":"/api-reference/concurrent-calls/endpoint/get-max-concurrent"}]},{"group":"Conversations API","pages":[{"title":"Conversations API","sidebarTitle":"Overview","href":"/api-reference/conversations/introduction"},{"title":"List conversations for an agent","openapi":"api-reference/conversations/v3/openapi.json GET /v1/agents/{agentId}/conversations","href":"/api-reference/conversations/v3/endpoint/list-agent-conversations"},{"title":"Get a conversation by ID","openapi":"api-reference/conversations/v3/openapi.json GET /v1/agents/{agentId}/conversations/{conversationId}","href":"/api-reference/conversations/v3/endpoint/get-conversation-by-id"},{"title":"Get audio recording for a conversation","openapi":"api-reference/conversations/v3/openapi.json GET /v1/agents/{agentId}/conversations/{conversationId}/audio","href":"/api-reference/conversations/v3/endpoint/get-conversation-audio"},{"title":"Add annotations to a conversation","openapi":"api-reference/conversations/v3/openapi.json POST /v1/agents/{agentId}/conversations/{conversationId}/annotation","href":"/api-reference/conversations/v3/endpoint/add-conversation-annotations"},{"title":"Upsert a note on a conversation","openapi":"api-reference/conversations/v3/openapi.json POST /v1/agents/{agentId}/conversations/{conversationId}/note","href":"/api-reference/conversations/v3/endpoint/upsert-conversation-note"}]},{"group":"DNI API","pages":[{"title":"DNI API","sidebarTitle":"Overview","href":"/api-reference/dni/introduction"},{"title":"Reserve DNI","openapi":"POST /v1/conversations/dni-reservation","href":"/api-reference/dni/endpoint/dni-reservation"}]},{"group":"External Events API","pages":[{"title":"External Events API","sidebarTitle":"Overview","href":"/api-reference/external-events/introduction"},{"title":"Post external event result","openapi":"POST /v1/external-events/webhook","href":"/api-reference/external-events/endpoint/webhook"},{"title":"Bridge ended notification","openapi":"POST /internal/v1/agentic-dial/bridge-ended","href":"/api-reference/external-events/endpoint/bridge-ended"}]},{"group":"Handoff API","pages":[{"title":"Handoff API","sidebarTitle":"Overview","href":"/api-reference/handoff/introduction"},{"title":"Get handoff state","openapi":"GET /v1/{account_id}/{project_id}/handoff_state","href":"/api-reference/handoff/endpoint/get-handoff"}]},{"group":"Messaging API","pages":[{"title":"Messaging API","sidebarTitle":"Overview","href":"/api-reference/messaging/introduction"},{"title":"Sessions and authentication","href":"/api-reference/messaging/sessions"},{"title":"WebSocket connection","href":"/api-reference/messaging/websocket"},{"title":"Event format","href":"/api-reference/messaging/events"},{"title":"Client events","href":"/api-reference/messaging/events-send"},{"title":"Server events","href":"/api-reference/messaging/events-receive"},{"title":"Streaming","href":"/api-reference/messaging/streaming"},{"title":"Handoff to live agent","href":"/api-reference/messaging/handoff"},{"title":"Session lifecycle","href":"/api-reference/messaging/lifecycle"},{"title":"Errors","href":"/api-reference/messaging/errors"},{"title":"Best practices","href":"/api-reference/messaging/best-practices"},{"title":"Enable Verified Context Injection","sidebarTitle":"Enable Verified Context Injection","href":"/api-reference/messaging/enable-verified-context-injection"}]},{"group":"SMS API","pages":[{"title":"SMS API","sidebarTitle":"SMS API","href":"/api-reference/messaging/sms-and-rcs-api/introduction"},{"title":"Send an outbound SMS/RCS","api":"POST /v1/outbound-sms","href":"/api-reference/messaging/sms-and-rcs-api/send-sms"},{"title":"RCS API","sidebarTitle":"RCS API","href":"/api-reference/messaging/sms-and-rcs-api/rcs"}]},{"group":"Telephony API","pages":[{"title":"Telephony API","sidebarTitle":"Overview","description":"Read the SIP signalling and audio quality of a PolyAI call, to see why it failed, rang too long or sounded bad.","href":"/api-reference/telephony/introduction"},{"title":"Get call SIP ladder","api":"GET /api/v1/telephony/calls/{conversation_id}/sip","href":"/api-reference/telephony/endpoint/get-call-sip-ladder"},{"title":"Get call audio quality","api":"GET /api/v1/telephony/calls/{conversation_id}/quality","description":"Packet loss and jitter per media stream for one call, plus a per-call rollup.","href":"/api-reference/telephony/endpoint/get-call-audio-quality"}]},{"group":"Traces API","pages":[{"title":"Traces API","sidebarTitle":"Overview","href":"/api-reference/traces/introduction"},{"title":"List traced conversations","api":"GET /api/v1/traces/conversations","href":"/api-reference/traces/endpoint/list-conversations"},{"title":"Get conversation spans","api":"GET /api/v1/traces/conversations/{conversation_id}","href":"/api-reference/traces/endpoint/get-conversation-trace"},{"title":"Get conversation timeline","api":"GET /api/v1/traces/conversations/{conversation_id}/timeline","href":"/api-reference/traces/endpoint/get-conversation-timeline"},{"title":"Get turn spans","api":"GET /api/v1/traces/conversations/{conversation_id}/turns/{turn_index}","href":"/api-reference/traces/endpoint/get-conversation-turn"},{"title":"Search spans","api":"POST /api/v1/traces/spans/search","href":"/api-reference/traces/endpoint/search-spans"},{"title":"Aggregate spans","api":"POST /api/v1/traces/spans/aggregate","href":"/api-reference/traces/endpoint/aggregate-spans"},{"title":"Search function logs","api":"POST /api/v1/traces/logs/search","href":"/api-reference/traces/endpoint/search-logs"},{"title":"Aggregate function logs","api":"POST /api/v1/traces/logs/aggregate","href":"/api-reference/traces/endpoint/aggregate-logs"}]},{"group":"WebRTC Bridge","pages":[{"title":"WebRTC Bridge API","sidebarTitle":"Overview","href":"/api-reference/webrtc-bridge/introduction"},{"title":"WebRTC Bridge reference","sidebarTitle":"API reference","href":"/api-reference/webrtc-bridge/reference"}]}]},{"group":"Monitoring","pages":[{"group":"Alerts API","pages":[{"title":"Alerts API","sidebarTitle":"Overview","href":"/api-reference/alerts/introduction"},{"group":"Alert rules","pages":[{"title":"Create an alert rule","openapi":"POST /v1/alert-rules","href":"/api-reference/alerts/endpoint/create-alert-rule"},{"title":"List alert rules","openapi":"GET /v1/alert-rules","href":"/api-reference/alerts/endpoint/list-alert-rules"},{"title":"Get an alert rule","openapi":"GET /v1/alert-rules/{rule_id}","href":"/api-reference/alerts/endpoint/get-alert-rule"},{"title":"Update an alert rule","openapi":"PATCH /v1/alert-rules/{rule_id}","href":"/api-reference/alerts/endpoint/update-alert-rule"},{"title":"Delete an alert rule","openapi":"DELETE /v1/alert-rules/{rule_id}","href":"/api-reference/alerts/endpoint/delete-alert-rule"}]},{"title":"List active alerts","openapi":"GET /v1/alerts","href":"/api-reference/alerts/endpoint/list-active-alerts"}]},{"group":"Webhooks API","pages":[{"title":"Webhooks API","sidebarTitle":"Overview","href":"/api-reference/webhooks/introduction"},{"title":"Create a webhook endpoint","openapi":"POST /v1/webhook-endpoints","href":"/api-reference/webhooks/endpoint/create-webhook-endpoint"},{"title":"List webhook endpoints","openapi":"GET /v1/webhook-endpoints","href":"/api-reference/webhooks/endpoint/list-webhook-endpoints"},{"title":"Get a webhook endpoint","openapi":"GET /v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhooks/endpoint/get-webhook-endpoint"},{"title":"Update a webhook endpoint","openapi":"PATCH /v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhooks/endpoint/update-webhook-endpoint"},{"title":"Delete a webhook endpoint","openapi":"DELETE /v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhooks/endpoint/delete-webhook-endpoint"},{"title":"Rotate webhook signing secret","openapi":"POST /v1/webhook-endpoints/{endpoint_id}/rotate-secret","href":"/api-reference/webhooks/endpoint/rotate-webhook-signing-secret"}]}]},{"group":"Legacy","pages":[{"group":"Outbound Calling API (legacy)","pages":[{"title":"Outbound Calling API","sidebarTitle":"Overview","href":"/api-reference/outbound/introduction"},{"title":"Trigger an outbound call","api":"POST /v1/outbound-calling","href":"/api-reference/outbound/endpoint/trigger-call"},{"title":"Get call status","api":"GET /v1/outbound-calling/{call_sid}/status","href":"/api-reference/outbound/endpoint/get-call-status"}]},{"group":"Conversations API v1 (legacy)","pages":[{"title":"List all conversations","openapi":"GET /v1/{account_id}/{project_id}/conversations","href":"/api-reference/conversations/v1/endpoint/get-conversations"}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/introduction"}]},{"tab":"Release notes","pages":[{"title":"Release notes","href":"/releases/overview"}]}]},"basePath":"","title":"Get call SIP ladder - PolyAI Platform","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["10e4515597","c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["BannerMarkdown-74C-oA3c.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","SectionHeading-S4Jc_qPe.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js"]}