{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Phonely Documentation","colors":{"primary":"#6B0099","light":"#9B30FF","dark":"#4A0069"},"logo":{"light":"https://mintcdn.com/phonely/iCxxv_3GatFhm6IZ/logo/logo-purple.png?fit=max\u0026auto=format\u0026n=iCxxv_3GatFhm6IZ\u0026q=85\u0026s=2afc59be170ec958ea83d390334811aa","dark":"https://mintcdn.com/phonely/dH0twDC21AoP59KD/logo/logo-white.png?fit=max\u0026auto=format\u0026n=dH0twDC21AoP59KD\u0026q=85\u0026s=b5d27a050b6e30e42a6b316d3e97d3b7"},"favicon":{"light":"https://mintcdn.com/phonely/iCxxv_3GatFhm6IZ/logo/logo-small-purple.svg?fit=max\u0026auto=format\u0026n=iCxxv_3GatFhm6IZ\u0026q=85\u0026s=90c51a46396e34e88639806993bac698","dark":"https://mintcdn.com/phonely/iCxxv_3GatFhm6IZ/logo/logo-small-white.svg?fit=max\u0026auto=format\u0026n=iCxxv_3GatFhm6IZ\u0026q=85\u0026s=34a68aa8fbb2312361db928be195131d"},"api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"},{"href":"https://discord.gg/BMHPUaZG37","label":"Community"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.phonely.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/phonely-ai","discord":"https://discord.gg/BMHPUaZG37"}},"seo":{"indexing":"navigable"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","mcp","add-mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.phonely.ai"},{"anchor":"Community","icon":"users","href":"https://discord.gg/BMHPUaZG37"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"phonely","hasAudioNarration":false,"actualSubdomain":"phonely","customDomains":["docs.phonely.ai"],"gitSource":{"type":"github","owner":"phonely-ai","repo":"frontend-api-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af3c0d15509c500e6d81540","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Home","count":74},{"language":"default","tag":"API Reference","count":66},{"language":"default","tag":"BUILD YOUR AGENT","count":43},{"language":"default","tag":"API v1 endpoints","count":34},{"language":"default","tag":"Legacy API","count":23},{"language":"default","tag":"Block Reference","count":20},{"language":"default","tag":"Agents","count":20},{"language":"default","tag":"Flow Editor","count":10},{"language":"default","tag":"Integrations","count":9},{"language":"default","tag":"API v1","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"css/custom.css","content":"a.text-sm.text-gray-500.dark\\:text-gray-400.hover\\:text-gray-700.dark\\:hover\\:text-gray-300.text-nowrap{display:none!important}::-webkit-scrollbar{width:4px;height:4px;background:transparent}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:2px}::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}*{scrollbar-width:thin;scrollbar-color:rgba(0, 0, 0, 0.2) transparent}html,body{-ms-overflow-style:none}main,.content,[role=\"main\"],.main-content,.mintlify-doc-content,.mintlify-doc-content>div,[data-mintlify-doc-content],article,.article-content{overscroll-behavior:contain}aside,.sidebar,[role=\"complementary\"],[class*=\"sidebar\"],[class*=\"toc\"],[class*=\"table-of-contents\"],[class*=\"on-this-page\"],[class*=\"right-sidebar\"],[class*=\"right-side\"],[data-mintlify-toc],.mintlify-toc{overscroll-behavior:contain}nav,[role=\"navigation\"],[class*=\"nav\"],[class*=\"menu\"]{overscroll-behavior:contain}[class*=\"Card\"] a,a[class*=\"card\"]{transition:transform 0.15s ease, box-shadow 0.15s ease}[class*=\"Card\"] a:hover,a[class*=\"card\"]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0, 0, 0, 0.08)}.dark [class*=\"Card\"] a:hover,.dark a[class*=\"card\"]:hover{box-shadow:0 4px 12px rgba(0, 0, 0, 0.24)}article h2{margin-top:2.5rem}article h3{margin-top:1.75rem}:root{--iframe-border-radius: 8px;--iframe-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--iframe-margin: 1rem 0;--iframe-transition: padding-bottom 0.3s ease, max-height 0.3s ease;--iframe-aspect-large: 50%;--iframe-aspect-desktop: 56.25%;--iframe-aspect-tablet-landscape: 52.5%;--iframe-aspect-tablet-portrait: 60%;--iframe-aspect-mobile: 66.67%;--iframe-aspect-very-small: 75%;--iframe-max-height-large: 600px;--iframe-max-height-desktop: 500px;--iframe-max-height-tablet-landscape: 400px;--iframe-max-height-tablet-portrait: 350px;--iframe-max-height-mobile: 300px;--iframe-max-height-very-small: 250px}.responsive-iframe-container{position:relative;width:100%;height:0;overflow:hidden;border-radius:var(--iframe-border-radius);box-shadow:var(--iframe-shadow);margin:var(--iframe-margin);transition:var(--iframe-transition)}.responsive-iframe-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;border-radius:var(--iframe-border-radius)}.responsive-iframe,iframe.responsive-iframe{width:100%!important;aspect-ratio:16 / 9!important;border:none!important;border-radius:var(--iframe-border-radius)!important;box-shadow:var(--iframe-shadow)!important;margin:var(--iframe-margin)!important}.responsive-iframe-container{padding-bottom:var(--iframe-aspect-desktop)}@media (min-width: 1200px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-large);max-height:var(--iframe-max-height-large)}}@media (min-width: 992px) and (max-width: 1199px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-desktop);max-height:var(--iframe-max-height-desktop)}}@media (min-width: 768px) and (max-width: 991px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-tablet-landscape);max-height:var(--iframe-max-height-tablet-landscape)}}@media (min-width: 481px) and (max-width: 767px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-tablet-portrait);max-height:var(--iframe-max-height-tablet-portrait)}}@media (max-width: 480px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-mobile);max-height:var(--iframe-max-height-mobile)}}@media (max-width: 320px){.responsive-iframe-container{padding-bottom:var(--iframe-aspect-very-small);max-height:var(--iframe-max-height-very-small)}}.mintlify-doc-content .responsive-iframe-container,.mintlify-doc-content .responsive-iframe,.mintlify-doc-content iframe.responsive-iframe,[data-mintlify-doc-content] .responsive-iframe-container,[data-mintlify-doc-content] .responsive-iframe,[data-mintlify-doc-content] iframe.responsive-iframe{width:100%!important}"},{"filePath":"css/variables-table-alignment.css","content":""}],"page":{"pagePath":"api-reference/v1/agents/get-call-analysis","slug":"/api-reference/v1/agents/get-call-analysis","pageMetadata":{"title":"Get call analysis","description":"What is worked out from an agent's calls after they end, as the Analytics settings in the web app show it.","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/call-analysis","href":"/api-reference/v1/agents/get-call-analysis","autogeneratedByOpenApi":true},"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: \"What is worked out from an agent’s calls after they end, as the Analytics settings in the web app show it.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get call analysis","description":"What is worked out from an agent's calls after they end, as the Analytics settings in the web app show it.","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/call-analysis","href":"/api-reference/v1/agents/get-call-analysis","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"What is worked out from an agent's calls after they end, as the Analytics settings in the web app show it.","operationId":"get_agent_call_analysis","parameters":["c3fbdc91-c310-499b-a291-4776e64e268e","c2011a26-d4f1-4fe4-9bbc-9dd344467da9"],"responses":{"200":"84f4d75b-7d67-4789-96b3-8f3674416cfc","400":"82fde7ee-1fb2-49ac-8c99-c7bb3dae78f9","401":"880619a6-3174-4668-a14b-419bad79f755","403":"92e154db-9259-4b65-a551-c823ddfd8a19","404":"7d301292-29d5-41f8-9e76-3980232f66ec","429":"1905b658-3b46-48a5-a0d5-cb7f6ec3465f","500":"5a4f9591-80ec-479a-8d27-833230180f25","503":"dee6329f-294c-4ebc-825e-ae8fea909eaf"},"security":["37ec31d2-d797-4765-a58d-f53880bd16b1"],"summary":"Get call analysis","tags":["Agents"],"x-permission":"read_configuration","x-scope":"organization","x-stability-level":"beta","x-mint":{"metadata":{"tag":"Beta"}},"method":"get","type":"path","servers":["45f5f669-0210-42d7-9200-2ec9aaf7bbdf","fe17dd0b-2fbd-41c4-a2c3-cea1c909cb87"],"path":"/v1/agents/{id}/call-analysis","baseUrlOptions":["https://api.us.phonely.ai","https://api.au.phonely.ai"],"title":"Get call analysis","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c3fbdc91-c310-499b-a291-4776e64e268e":{"description":"The agent's ID.","in":"path","name":"id","required":true,"schema":{"description":"The agent's ID.","title":"Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"c2011a26-d4f1-4fe4-9bbc-9dd344467da9":{"description":"Optional. Must be the key's org.","in":"header","name":"Phonely-Organization","required":false,"schema":{"oneOf":[{"type":"string","title":"Phonely-Organization","description":"Optional. Must be the key's org.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Phonely-Organization","description":"Optional. Must be the key's org.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"84f4d75b-7d67-4789-96b3-8f3674416cfc":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"What is worked out from each of an agent's calls after it ends.","properties":{"agent_id":{"description":"The agent's ID.","title":"Agent Id","type":"string","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"analytics_fields":{"description":"The custom fields filled in for each call.","items":{"additionalProperties":false,"properties":{"description":{"oneOf":[{"type":"string","title":"Description","description":"What the field captures, used to fill it in for each call. `null` when there is none.","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"What the field captures, used to fill it in for each call. `null` when there is none.","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].description","typeLabel":"string | null"},"id":{"description":"The field's ID, as it appears in a call's analysis.","title":"Id","type":"string","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].id","typeLabel":"string"},"is_enabled":{"description":"Whether the field is filled in for new calls.","title":"Is Enabled","type":"boolean","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].is_enabled","typeLabel":"boolean"},"label":{"description":"The name shown in the web app.","title":"Label","type":"string","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].label","typeLabel":"string"},"options":{"description":"The options to pick from. Empty for `number`.","items":{"additionalProperties":false,"properties":{"description":{"oneOf":[{"type":"string","title":"Description","description":"What the option means, used to decide whether a call matches it. `null` when there is none.","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"What the option means, used to decide whether a call matches it. `null` when there is none.","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].description","typeLabel":"string | null"},"id":{"description":"The option's ID, as it appears in a call's analysis.","title":"Id","type":"string","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].id","typeLabel":"string"},"is_enabled":{"description":"Whether calls are matched against this option.","title":"Is Enabled","type":"boolean","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].is_enabled","typeLabel":"boolean"},"label":{"description":"The name shown in the web app.","title":"Label","type":"string","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX].label","typeLabel":"string"}},"required":["id","label","description","is_enabled"],"title":"AnalyticsFieldOption","type":"object","uniqueKey":"analytics_fields.items.[INDEX].options.items.[INDEX]","typeLabel":"AnalyticsFieldOption · object"},"title":"Options","type":"array","isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].options","typeLabel":"AnalyticsFieldOption · object[]"},"type":{"description":"`category` picks one option, `multi_category` picks any number, and `number` is a value. Known values: `category`, `multi_category`, `number`. More can be added, so handle values you don't recognize.","title":"Type","type":"string","x-extensible-enum":["category","multi_category","number"],"isRequired":true,"uniqueKey":"analytics_fields.items.[INDEX].type","typeLabel":"string"}},"required":["id","label","description","type","is_enabled","options"],"title":"AnalyticsField","type":"object","uniqueKey":"analytics_fields.items.[INDEX]","typeLabel":"AnalyticsField · object"},"title":"Analytics Fields","type":"array","isRequired":true,"uniqueKey":"analytics_fields","typeLabel":"AnalyticsField · object[]"},"object":{"const":"agent_call_analysis","default":"agent_call_analysis","description":"The type of this object, always `agent_call_analysis`.","title":"Object","type":"string","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"opportunity_analysis":{"oneOf":[{"type":"object","title":"OpportunityAnalysis","description":"What callers were after when they dropped off. `null` when it was never turned on.","required":["is_enabled","sample_rate","is_ai_naming_enabled","opportunities"],"properties":{"is_ai_naming_enabled":{"description":"Whether new opportunities are named automatically as they come up.","title":"Is Ai Naming Enabled","type":"boolean","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.is_ai_naming_enabled","typeLabel":"boolean"},"is_enabled":{"description":"Whether calls that end before the conversation reaches its goal are analyzed.","title":"Is Enabled","type":"boolean","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.is_enabled","typeLabel":"boolean"},"opportunities":{"description":"The opportunities found so far.","items":{"additionalProperties":false,"properties":{"description":{"oneOf":[{"type":"string","title":"Description","description":"What the option means, used to decide whether a call matches it. `null` when there is none.","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"What the option means, used to decide whether a call matches it. `null` when there is none.","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].description","typeLabel":"string | null"},"id":{"description":"The option's ID, as it appears in a call's analysis.","title":"Id","type":"string","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].id","typeLabel":"string"},"is_enabled":{"description":"Whether calls are matched against this option.","title":"Is Enabled","type":"boolean","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].is_enabled","typeLabel":"boolean"},"label":{"description":"The name shown in the web app.","title":"Label","type":"string","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX].label","typeLabel":"string"}},"required":["id","label","description","is_enabled"],"title":"AnalyticsFieldOption","type":"object","uniqueKey":"opportunity_analysis.oneOf.0.opportunities.items.[INDEX]","typeLabel":"AnalyticsFieldOption · object"},"title":"Opportunities","type":"array","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.opportunities","typeLabel":"AnalyticsFieldOption · object[]"},"sample_rate":{"description":"The share of those calls analyzed, from 0 to 1.","title":"Sample Rate","type":"number","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0.sample_rate","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.0","typeLabel":"OpportunityAnalysis · object"},{"type":"null","description":"What callers were after when they dropped off. `null` when it was never turned on.","isRequired":true,"uniqueKey":"opportunity_analysis.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opportunity_analysis","typeLabel":"OpportunityAnalysis · object | null"},"sentiment_definitions":{"additionalProperties":false,"properties":{"negative":{"oneOf":[{"type":"string","title":"Negative","description":"What makes a call negative. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.negative.oneOf.0","typeLabel":"string"},{"type":"null","title":"Negative","description":"What makes a call negative. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.negative.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sentiment_definitions.negative","typeLabel":"string | null"},"neutral":{"oneOf":[{"type":"string","title":"Neutral","description":"What makes a call neutral. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.neutral.oneOf.0","typeLabel":"string"},{"type":"null","title":"Neutral","description":"What makes a call neutral. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.neutral.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sentiment_definitions.neutral","typeLabel":"string | null"},"positive":{"oneOf":[{"type":"string","title":"Positive","description":"What makes a call positive. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.positive.oneOf.0","typeLabel":"string"},{"type":"null","title":"Positive","description":"What makes a call positive. `null` uses the standard definition.","isRequired":true,"uniqueKey":"sentiment_definitions.positive.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sentiment_definitions.positive","typeLabel":"string | null"}},"required":["positive","neutral","negative"],"title":"SentimentDefinitions","type":"object","description":"How call sentiment is judged.","isRequired":true,"uniqueKey":"sentiment_definitions","typeLabel":"SentimentDefinitions · object"}},"required":["object","agent_id","analytics_fields","opportunity_analysis","sentiment_definitions"],"title":"AgentCallAnalysis","type":"object","uniqueKey":"","typeLabel":"AgentCallAnalysis · object"},"examples":{"Example":{"title":"Example","value":{"agent_id":"\u003cstring>","analytics_fields":[{"description":"\u003cstring>","id":"\u003cstring>","is_enabled":true,"label":"\u003cstring>","options":[{"description":"\u003cstring>","id":"\u003cstring>","is_enabled":true,"label":"\u003cstring>"}],"type":"\u003cstring>"}],"object":"agent_call_analysis","opportunity_analysis":{"is_ai_naming_enabled":true,"is_enabled":true,"opportunities":[{"description":"\u003cstring>","id":"\u003cstring>","is_enabled":true,"label":"\u003cstring>"}],"sample_rate":123},"sentiment_definitions":{"negative":"\u003cstring>","neutral":"\u003cstring>","positive":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Successful Response","headers":{"ETag":{"description":"The resource's current version. Send it as `If-Match` to change it only if it's unchanged.","schema":{"type":"string"}},"Phonely-Organization":{"description":"The authorized organization for this request.","schema":{"type":"string"}}},"exampleType":"generated"},"82fde7ee-1fb2-49ac-8c99-c7bb3dae78f9":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"The request is invalid: a malformed body, a bad or unknown field, or an unknown query parameter.","exampleType":"generated"},"880619a6-3174-4668-a14b-419bad79f755":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"The API key is missing, invalid or revoked.","headers":{"WWW-Authenticate":{"description":"Always `Bearer`.","schema":{"type":"string"}}},"exampleType":"generated"},"92e154db-9259-4b65-a551-c823ddfd8a19":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"The key can't do this: a read-only key writing, or `Phonely-Organization` naming another org.","exampleType":"generated"},"7d301292-29d5-41f8-9e76-3980232f66ec":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"The resource doesn't exist, or belongs to another organization.","exampleType":"generated"},"1905b658-3b46-48a5-a0d5-cb7f6ec3465f":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Rate limited. Retry after the number of seconds in `Retry-After`.","headers":{"Retry-After":{"description":"Seconds until the request can be retried.","schema":{"type":"integer"}}},"exampleType":"generated"},"5a4f9591-80ec-479a-8d27-833230180f25":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"An unexpected error. Contact support with the request ID.","exampleType":"generated"},"dee6329f-294c-4ebc-825e-ae8fea909eaf":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"The body of every `/v1` error.","properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"What went wrong, stable and machine-readable. Known values: `validation_failed`, `invalid_cursor`, `invalid_api_key`, `invalid_user_token`, `user_unavailable`, `insufficient_access`, `organization_mismatch`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `agent_limit_reached`, `agent_too_large`, `sms_setup_required`, `opportunity_analysis_not_set_up`, `precondition_failed`, `payload_too_large`, `unsupported_media_type`, `precondition_required`, `rate_limited`, `internal_error`, `knowledge_processing_failed`, `bad_gateway`, `service_unavailable`, `gateway_timeout`. More can be added, so handle values you don't recognize.","title":"Code","type":"string","x-extensible-enum":["validation_failed","invalid_cursor","invalid_api_key","invalid_user_token","user_unavailable","insufficient_access","organization_mismatch","forbidden","not_found","method_not_allowed","conflict","agent_limit_reached","agent_too_large","sms_setup_required","opportunity_analysis_not_set_up","precondition_failed","payload_too_large","unsupported_media_type","precondition_required","rate_limited","internal_error","knowledge_processing_failed","bad_gateway","service_unavailable","gateway_timeout"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"description":"One entry per problem field. Empty when the error has none.","items":{"additionalProperties":false,"properties":{"field":{"description":"The field the issue is about, as sent: `agent_id`, `limit`. Empty when none.","title":"Field","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What is wrong with the field. Known values: `required`, `unknown_field`, `invalid_json`, `invalid_type`, `invalid_value`, `out_of_range`, `invalid_cursor`, `read_only_field`. More can be added, so handle values you don't recognize.","title":"Issue","type":"string","x-extensible-enum":["required","unknown_field","invalid_json","invalid_type","invalid_value","out_of_range","invalid_cursor","read_only_field"],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"For people: what is wrong with this field.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"title":"ErrorDetail","type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"ErrorDetail · object"},"title":"Details","type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"ErrorDetail · object[]"},"message":{"description":"For people. Wording can change; branch on `code`.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Also in the `X-Request-Id` header. Quote it to support.","isRequired":true,"uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","details","request_id"],"title":"Error","type":"object","description":"What went wrong.","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Authentication, authorization or another required service is temporarily unavailable.","exampleType":"generated"}},"security":{"37ec31d2-d797-4765-a58d-f53880bd16b1":{"HTTPBearer":{"description":"An org API key: `Authorization: Bearer phk_…`","scheme":"bearer","type":"http","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"45f5f669-0210-42d7-9200-2ec9aaf7bbdf":{"description":"US","url":"https://api.us.phonely.ai"},"fe17dd0b-2fbd-41c4-a2c3-cea1c909cb87":{"description":"AU","url":"https://api.au.phonely.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"An org API key: `Authorization: Bearer phk_…`","scheme":"bearer","type":"http","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An org API key: `Authorization: Bearer phk_…`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"api-reference/v1/openapi.json"},"subdomain":"phonely","siteName":"Phonely Documentation","title":"Get call analysis - Phonely Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/v1/agents/get-call-analysis.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=\"What is worked out from an agent\u0026#x27;s calls after they end, as the Analytics settings in the web app show it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Phonely Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_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/phonely/pX3uYvY7GANpPgxq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get call analysis - Phonely Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"What is worked out from an agent\u0026#x27;s calls after they end, as the Analytics settings in the web app show it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Phonely Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://phonely.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Get+call+analysis\u0026amp;description=What+is+worked+out+from+an+agent%27s+calls+after+they+end%2C+as+the+Analytics+settings+in+the+web+app+show+it.\u0026amp;theme=dc34cb18df25746099d9ebca\u0026amp;signature=a36be8bc76bcf822b77dafa853c486ad434b5ad6f8aaa421d33677af1b35532c\">\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 analysis - Phonely Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What is worked out from an agent\u0026#x27;s calls after they end, as the Analytics settings in the web app show it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://phonely.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Get+call+analysis\u0026amp;description=What+is+worked+out+from+an+agent%27s+calls+after+they+end%2C+as+the+Analytics+settings+in+the+web+app+show+it.\u0026amp;theme=dc34cb18df25746099d9ebca\u0026amp;signature=a36be8bc76bcf822b77dafa853c486ad434b5ad6f8aaa421d33677af1b35532c\">\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/phonely/pX3uYvY7GANpPgxq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Phonely Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B0099\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v1/agents/get-call-analysis.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.phonely.ai/#organization\",\"name\":\"Phonely Documentation\",\"url\":\"https://docs.phonely.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/phonely/iCxxv_3GatFhm6IZ/logo/logo-purple.png?fit=max\u0026auto=format\u0026n=iCxxv_3GatFhm6IZ\u0026q=85\u0026s=2afc59be170ec958ea83d390334811aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.phonely.ai#website\",\"name\":\"Phonely Documentation\",\"url\":\"https://docs.phonely.ai\",\"publisher\":{\"@id\":\"https://docs.phonely.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis#webpage\",\"url\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis\",\"name\":\"Get call analysis\",\"description\":\"What is worked out from an agent's calls after they end, as the Analytics settings in the web app show it.\",\"isPartOf\":{\"@id\":\"https://docs.phonely.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API v1 endpoints\",\"item\":\"https://docs.phonely.ai/api-reference/v1/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.phonely.ai/api-reference/v1/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get call analysis\",\"item\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis#apireference\",\"headline\":\"Get call analysis\",\"name\":\"Get call analysis\",\"description\":\"What is worked out from an agent's calls after they end, as the Analytics settings in the web app show it.\",\"url\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis\",\"mainEntityOfPage\":{\"@id\":\"https://docs.phonely.ai/api-reference/v1/agents/get-call-analysis#webpage\"},\"publisher\":{\"@id\":\"https://docs.phonely.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.phonely.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Phonely Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Phonely Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v1/agents/get-call-analysis.md","siteName":"Phonely Documentation","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.phonely.ai"},{"anchor":"Community","icon":"users","href":"https://discord.gg/BMHPUaZG37"}]},"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/get-started/introduction"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"API v1","pages":[{"title":"API v1 overview","href":"/api-reference/v1/overview"},{"title":"Authentication","href":"/api-reference/v1/authentication"},{"title":"Errors and retries","href":"/api-reference/v1/errors"},{"title":"Pagination","href":"/api-reference/v1/pagination"},{"title":"Updates and concurrency","href":"/api-reference/v1/updates-and-concurrency"},{"title":"Versioning and stability","href":"/api-reference/v1/versioning"},{"title":"Migrate from the legacy API","href":"/api-reference/v1/migrate-from-legacy"},{"title":"API v1 changelog","href":"/api-reference/v1/changelog"}]},{"group":"API v1 endpoints","pages":[{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/agents","href":"/api-reference/v1/agents/list-agents"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}","href":"/api-reference/v1/agents/get-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json patch /v1/agents/{id}","href":"/api-reference/v1/agents/update-an-agent"},{"title":"List blocked numbers","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/blocked-numbers","href":"/api-reference/v1/agents/list-blocked-numbers"},{"title":"Add a blocked number","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/blocked-numbers","href":"/api-reference/v1/agents/add-a-blocked-number"},{"title":"Remove a blocked number","description":"Stop refusing calls from one phone number.\n\nA number that isn't blocked is ignored, so sending the same request again changes nothing.\nAnswers with no body. Applies from the next call.","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json delete /v1/agents/{id}/blocked-numbers/{phone_number}","href":"/api-reference/v1/agents/remove-a-blocked-number"},{"title":"Get call analysis","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/call-analysis","href":"/api-reference/v1/agents/get-call-analysis"},{"title":"Update call analysis","description":"Change what is worked out from an agent's calls after they end.\n\nOnly the parts sent change. `analytics_fields` and `opportunities` are replaced whole, so a request with either\nneeds `If-Match`; options post-call analysis names automatically change the `ETag` too. Answers with the agent's\nwhole call analysis. Applies to calls that end from then on.","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json patch /v1/agents/{id}/call-analysis","href":"/api-reference/v1/agents/update-call-analysis"},{"title":"Duplicate an agent","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/duplicate","href":"/api-reference/v1/agents/duplicate-an-agent"},{"title":"Get guidelines","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/guidelines","href":"/api-reference/v1/agents/get-guidelines"},{"title":"Update guidelines","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json patch /v1/agents/{id}/guidelines","href":"/api-reference/v1/agents/update-guidelines"},{"title":"List an agent's knowledge sources","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/knowledge-sources","href":"/api-reference/v1/agents/list-an-agents-knowledge-sources"},{"title":"Add a knowledge document","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/knowledge-sources","href":"/api-reference/v1/agents/add-a-knowledge-document"},{"title":"Upload a knowledge file","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/knowledge-sources/files","href":"/api-reference/v1/agents/upload-a-knowledge-file"},{"title":"Discover website pages","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/knowledge-sources/website-map","href":"/api-reference/v1/agents/discover-website-pages"},{"title":"Add knowledge website pages","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json post /v1/agents/{id}/knowledge-sources/websites","href":"/api-reference/v1/agents/add-knowledge-website-pages"},{"title":"Get settings","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/settings","href":"/api-reference/v1/agents/get-settings"},{"title":"Update settings","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json patch /v1/agents/{id}/settings","href":"/api-reference/v1/agents/update-settings"},{"title":"Get an agent's voice","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json get /v1/agents/{id}/voice","href":"/api-reference/v1/agents/get-an-agents-voice"},{"title":"Update an agent's voice","deprecated":null,"version":null,"tag":"Beta","openapi":"/api-reference/v1/openapi.json patch /v1/agents/{id}/voice","href":"/api-reference/v1/agents/update-an-agents-voice"}]},{"group":"Calls","pages":[{"title":"List calls","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/calls","href":"/api-reference/v1/calls/list-calls"},{"title":"Get a call","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/calls/{id}","href":"/api-reference/v1/calls/get-a-call"},{"title":"Set a call's outcome","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json patch /v1/calls/{id}","href":"/api-reference/v1/calls/set-a-calls-outcome"},{"title":"Get a call recording","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/calls/{id}/recording","href":"/api-reference/v1/calls/get-a-call-recording"},{"title":"Get a call transcript","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/calls/{id}/transcript","href":"/api-reference/v1/calls/get-a-call-transcript"}]},{"group":"Knowledge sources","pages":[{"title":"Get a knowledge source","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/knowledge-sources/{id}","href":"/api-reference/v1/knowledge-sources/get-a-knowledge-source"},{"title":"Delete a knowledge source","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json delete /v1/knowledge-sources/{id}","href":"/api-reference/v1/knowledge-sources/delete-a-knowledge-source"},{"title":"Update a knowledge source","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json patch /v1/knowledge-sources/{id}","href":"/api-reference/v1/knowledge-sources/update-a-knowledge-source"},{"title":"Get a file download link","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/knowledge-sources/{id}/download","href":"/api-reference/v1/knowledge-sources/get-a-file-download-link"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/organizations","href":"/api-reference/v1/organizations/list-organizations"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/organizations/{id}","href":"/api-reference/v1/organizations/get-an-organization"},{"title":"List usage","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/organizations/{id}/usage","href":"/api-reference/v1/organizations/list-usage"}]},{"group":"Voices","pages":[{"title":"List voices","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/voices","href":"/api-reference/v1/voices/list-voices"},{"title":"Get a voice","deprecated":null,"version":null,"openapi":"/api-reference/v1/openapi.json get /v1/voices/{id}","href":"/api-reference/v1/voices/get-a-voice"}]}]},{"group":"Legacy API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Agent Generation","pages":[{"title":"Generate an Agent","openapi":"POST /agent-generations","href":"/api-reference/endpoint/generate-agent"},{"title":"Generation Status","openapi":"GET /agent-generations/{generationId}","href":"/api-reference/endpoint/get-agent-generation"}]},{"group":"Agent Management","pages":[{"title":"Get Agent","openapi":"POST /get-agent","href":"/api-reference/endpoint/get-agent"},{"title":"Get Agents","openapi":"POST /get-agents","href":"/api-reference/endpoint/get-agents"},{"title":"Duplicate Agent","openapi":"POST /duplicate-agent","href":"/api-reference/endpoint/duplicate-agent"},{"title":"Update Agent","openapi":"POST /update-agent","href":"/api-reference/endpoint/update-agent"}]},{"group":"Call Management","pages":[{"title":"List Calls","openapi":"GET /calls/{agentId}","href":"/api-reference/endpoint/list-calls"},{"title":"Get Call","openapi":"POST /get-call","href":"/api-reference/endpoint/get-call"},{"title":"Report Call Error","openapi":"POST /report-call-error","href":"/api-reference/endpoint/report-call-error"},{"title":"Set Post-Call Outcome","openapi":"PATCH /calls/{agentId}/{callIdOrPhone}","href":"/api-reference/endpoint/set-post-call-outcome"}]},{"group":"Knowledge Base","pages":[{"title":"List Documents","openapi":"GET /agent-documents","href":"/api-reference/endpoint/agent-documents"},{"title":"Upload Documents","openapi":"POST /agent-documents","href":"/api-reference/endpoint/post-agent-documents"},{"title":"Delete Document","openapi":"DELETE /agent-documents","href":"/api-reference/endpoint/delete-agent-documents"},{"title":"List Websites","openapi":"GET /agent-websites","href":"/api-reference/endpoint/agent-websites"},{"title":"Add Website","openapi":"POST /agent-websites","href":"/api-reference/endpoint/post-agent-websites"},{"title":"Delete Website","openapi":"DELETE /agent-websites","href":"/api-reference/endpoint/delete-agent-websites"}]},{"group":"Voice \u0026 Phone","pages":[{"title":"List Voices","openapi":"GET /list-voices","href":"/api-reference/endpoint/list-voices"},{"title":"Import Number","openapi":"POST /import-number","href":"/api-reference/endpoint/import-number"},{"title":"List Blocked Numbers","openapi":"GET /agent-block-list","href":"/api-reference/endpoint/block-list"},{"title":"Add Blocked Numbers","openapi":"POST /agent-block-list","href":"/api-reference/endpoint/add-blocked-numbers"},{"title":"Remove Blocked Numbers","openapi":"DELETE /agent-block-list","href":"/api-reference/endpoint/remove-blocked-numbers"}]},{"group":"Organizations","pages":[{"title":"Get Organizations","openapi":"GET /get-orgs","href":"/api-reference/endpoint/get-orgs"}]}]},{"group":"Web SDK","pages":[{"title":"Web SDK","href":"/api-reference/web-sdk"}]}]}]},"basePath":"","title":"Get call analysis - Phonely Documentation","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}