# Request 1: Get all calls for a specific agentcurl -X GET "https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls" \ -H "Authorization: Bearer talq_your_environment_token_here"
// Request 1: Get all calls for a specific agentconst response = await fetch('https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls', { method: 'GET', headers: { 'Authorization': 'Bearer talq_your_environment_token_here' }});const result = await response.json();console.log(result);
Retrieve all calls for a specific agent with filtering and pagination
GET
/
api
/
v1
/
agents
/
{agent_id}
/
calls
# Request 1: Get all calls for a specific agentcurl -X GET "https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls" \ -H "Authorization: Bearer talq_your_environment_token_here"
// Request 1: Get all calls for a specific agentconst response = await fetch('https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls', { method: 'GET', headers: { 'Authorization': 'Bearer talq_your_environment_token_here' }});const result = await response.json();console.log(result);
Filter by call direction. Options: inbound, outbound
string
Filter calls from date (YYYY-MM-DD)
string
Filter calls to date (YYYY-MM-DD)
string
Search in phone numbers or call SID
integer
Number of items per page (default: 20, max: 100)
integer
Page number (default: 1)
Example requests
# Request 1: Get all calls for a specific agentcurl -X GET "https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls" \ -H "Authorization: Bearer talq_your_environment_token_here"
// Request 1: Get all calls for a specific agentconst response = await fetch('https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls', { method: 'GET', headers: { 'Authorization': 'Bearer talq_your_environment_token_here' }});const result = await response.json();console.log(result);
# Request 2: Get completed calls for agent from specific datecurl -X GET "https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?status=completed&date_from=2024-01-01&per_page=50" \ -H "Authorization: Bearer talq_your_environment_token_here"
// Request 2: Get completed calls for agent from specific dateconst response = await fetch('https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?status=completed&date_from=2024-01-01&per_page=50', { method: 'GET', headers: { 'Authorization': 'Bearer talq_your_environment_token_here' }});const result = await response.json();console.log(result);
# Request 3: Get outbound calls for agent with searchcurl -X GET "https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?direction=outbound&search=+1234567890" \ -H "Authorization: Bearer talq_your_environment_token_here"
// Request 3: Get outbound calls for agent with searchconst response = await fetch('https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?direction=outbound&search=+1234567890', { method: 'GET', headers: { 'Authorization': 'Bearer talq_your_environment_token_here' }});const result = await response.json();console.log(result);
Direction of the call. Options: inbound, outbound.
string
required
Current status of the call. Options: initiated, ringing, answered, completed, failed, busy, no-answer.
integer
required
Call duration in seconds (0 if not completed).
string
required
ISO 8601 timestamp when the call was created.
string
required
ISO 8601 timestamp when the call was last updated.
object
required
Pagination metadata.
Show Pagination Object
integer
required
Current page number.
integer
required
Last page number.
integer
required
Number of items per page.
integer
required
Total number of items.
integer
required
Starting item number for current page.
integer
required
Ending item number for current page.
Error responses
404 Not Found
{ "success": false, "message": "Agent not found"}
401 Unauthorized
{ "success": false, "message": "Unauthorized"}
422 Validation Error
{ "success": false, "message": "The given data was invalid.", "errors": { "status": [ "The selected status is invalid." ], "direction": [ "The selected direction is invalid." ], "date_from": [ "The date from must be a valid date." ] }}
500 Server Error
{ "success": false, "message": "Internal server error."}
Error codes
Code
Description
HTTP Status
AGENT_NOT_FOUND
Specified agent does not exist
404
INVALID_TOKEN
Authentication token is invalid or missing
401
VALIDATION_ERROR
Query parameter validation failed
422
SERVER_ERROR
Internal server error occurred
500
Important notes
Agent-specific filtering. This endpoint returns only calls associated with the specified agent.
Same filtering options. All filtering options from the main calls endpoint are available.
No agent object. The response doesn’t include the agent object since it’s already specified in the URL.
Conversation result. Pass include=insight to get analysis_status, human_detected, call_result, collected_data and campaign_id on each call. Without it the response is unchanged.
Related endpoints
List Calls: GET /api/v1/calls
Get Agent: GET /api/v1/agents/{agent_id}
List Campaigns: GET /api/v1/campaigns
Get call insight: GET /api/v1/calls/{call_id}/insight
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Talkover","colors":{"primary":"#155DFC","light":"#669BFF","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2","dark":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2"},"favicon":"https://mintcdn.com/talqove/p9Bi9k7_5Bq3Cl1A/favicon.svg?fit=max\u0026auto=format\u0026n=p9Bi9k7_5Bq3Cl1A\u0026q=85\u0026s=6d0ae94d10ee524a776d8ad8aa0b442f","api":{},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.talkover.ai"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/talkover"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"href":"en/introduction"},{"language":"pt-BR","href":"pt-br/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"talqove","hasAudioNarration":false,"actualSubdomain":"talqove","customDomains":["docs.talkover.ai"],"gitSource":{"type":"github","owner":"talqover","repo":"talqover-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b061a2f41e45b3f29cc2173","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"API Reference","count":133},{"language":"pt-BR","tag":"Referência da API","count":133},{"language":"en","tag":"Calendars","count":37},{"language":"pt-BR","tag":"Calendários","count":37},{"language":"en","tag":"Setup Agents","count":20},{"language":"pt-BR","tag":"Configurar Agentes","count":20},{"language":"en","tag":"Campaign Integrations","count":16},{"language":"pt-BR","tag":"Integrações de Campanha","count":16},{"language":"en","tag":"Agents","count":13},{"language":"pt-BR","tag":"Agentes","count":13},{"language":"en","tag":"Calls \u0026 Campaigns","count":12},{"language":"pt-BR","tag":"Chamadas e Campanhas","count":12},{"language":"en","tag":"Custom SIP Trunks","count":10},{"language":"pt-BR","tag":"SIP Trunks Personalizados","count":10},{"language":"en","tag":"Campaign Webhooks","count":9},{"language":"en","tag":"Agent Webhooks","count":9},{"language":"en","tag":"For debt collection","count":9},{"language":"pt-BR","tag":"Webhooks de Campanha","count":9},{"language":"pt-BR","tag":"Webhooks de Agente","count":9},{"language":"pt-BR","tag":"Para cobrança","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":[]}
{"page":{"pagePath":"en/api-reference/endpoints/get-agent-calls","slug":"/en/api-reference/endpoints/get-agent-calls","pageMetadata":{"title":"Get Agent Calls","description":"Retrieve all calls for a specific agent with filtering and pagination","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"},"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: \"Retrieve all calls for a specific agent with filtering and pagination\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`get-agent-calls`,children:`Get Agent Calls`}),`\n`,_jsx(_components.p,{children:`Retrieve all calls for a specific agent with various filtering options and pagination support.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /api/v1/agents/{agent_id}/calls`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`agent`,type:`string`,required:true,id:`param-agent`,children:_jsx(_components.p,{children:`The unique identifier of the agent.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`include`,type:`string`,required:false,id:`param-include`,children:_jsxs(_components.p,{children:[`Adds the conversation result to each call. Only accepted value: `,_jsx(_components.code,{children:`insight`}),`. Any other value returns `,_jsx(_components.code,{children:`422`}),`. See `,_jsx(_components.a,{href:`/en/api-reference/endpoints/list-calls#the-insight-block`,children:`List calls`}),` for the fields.`]})}),`\n`,_jsx(ParamField,{query:`status`,type:`string`,required:false,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by call status. Options: `,_jsx(_components.code,{children:`initiated`}),`, `,_jsx(_components.code,{children:`ringing`}),`, `,_jsx(_components.code,{children:`answered`}),`, `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`busy`}),`, `,_jsx(_components.code,{children:`no-answer`})]})}),`\n`,_jsx(ParamField,{query:`direction`,type:`string`,required:false,id:`param-direction`,children:_jsxs(_components.p,{children:[`Filter by call direction. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`})]})}),`\n`,_jsx(ParamField,{query:`date_from`,type:`string`,required:false,id:`param-date-from`,children:_jsx(_components.p,{children:`Filter calls from date (YYYY-MM-DD)`})}),`\n`,_jsx(ParamField,{query:`date_to`,type:`string`,required:false,id:`param-date-to`,children:_jsx(_components.p,{children:`Filter calls to date (YYYY-MM-DD)`})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,required:false,id:`param-search`,children:_jsx(_components.p,{children:`Search in phone numbers or call SID`})}),`\n`,_jsx(ParamField,{query:`per_page`,type:`integer`,required:false,id:`param-per-page`,children:_jsx(_components.p,{children:`Number of items per page (default: 20, max: 100)`})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,required:false,id:`param-page`,children:_jsx(_components.p,{children:`Page number (default: 1)`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-200-ok`,children:`Success Response (200 OK)`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Indicates if the operation was successful.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`Array of call objects for the specific agent.`}),_jsxs(Expandable,{title:`Call Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the call.`})}),_jsx(ResponseField,{name:`sid`,type:`string`,required:true,id:`param-sid`,children:_jsx(_components.p,{children:`Call SID from the telephony provider.`})}),_jsx(ResponseField,{name:`to`,type:`string`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Destination phone number in E.164 format.`})}),_jsx(ResponseField,{name:`to_formatted`,type:`string`,required:true,id:`param-to-formatted`,children:_jsx(_components.p,{children:`Formatted destination phone number for display.`})}),_jsx(ResponseField,{name:`from`,type:`string`,required:true,id:`param-from`,children:_jsx(_components.p,{children:`Source phone number in E.164 format.`})}),_jsx(ResponseField,{name:`from_formatted`,type:`string`,required:true,id:`param-from-formatted`,children:_jsx(_components.p,{children:`Formatted source phone number for display.`})}),_jsx(ResponseField,{name:`is_testing`,type:`boolean`,required:true,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether this is a test call.`})}),_jsx(ResponseField,{name:`direction`,type:`string`,required:true,id:`param-direction-1`,children:_jsxs(_components.p,{children:[`Direction of the call. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Current status of the call. Options: `,_jsx(_components.code,{children:`initiated`}),`, `,_jsx(_components.code,{children:`ringing`}),`, `,_jsx(_components.code,{children:`answered`}),`, `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`busy`}),`, `,_jsx(_components.code,{children:`no-answer`}),`.`]})}),_jsx(ResponseField,{name:`duration`,type:`integer`,required:true,id:`param-duration`,children:_jsx(_components.p,{children:`Call duration in seconds (0 if not completed).`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call was created.`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call was last updated.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`pagination`,type:`object`,required:true,id:`param-pagination`,children:[_jsx(_components.p,{children:`Pagination metadata.`}),_jsxs(Expandable,{title:`Pagination Object`,children:[_jsx(ResponseField,{name:`current_page`,type:`integer`,required:true,id:`param-current-page`,children:_jsx(_components.p,{children:`Current page number.`})}),_jsx(ResponseField,{name:`last_page`,type:`integer`,required:true,id:`param-last-page`,children:_jsx(_components.p,{children:`Last page number.`})}),_jsx(ResponseField,{name:`per_page`,type:`integer`,required:true,id:`param-per-page-1`,children:_jsx(_components.p,{children:`Number of items per page.`})}),_jsx(ResponseField,{name:`total`,type:`integer`,required:true,id:`param-total`,children:_jsx(_components.p,{children:`Total number of items.`})}),_jsx(ResponseField,{name:`from`,type:`integer`,required:true,id:`param-from-1`,children:_jsx(_components.p,{children:`Starting item number for current page.`})}),_jsx(ResponseField,{name:`to`,type:`integer`,required:true,id:`param-to-1`,children:_jsx(_components.p,{children:`Ending item number for current page.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`422-validation-error`,children:`422 Validation Error`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`500-server-error`,children:`500 Server Error`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified agent does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Query parameter validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_ERROR`})}),_jsx(_components.td,{children:`Internal server error occurred`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Agent-specific filtering.`}),` This endpoint returns only calls associated with the specified agent.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Same filtering options.`}),` All filtering options from the main calls endpoint are available.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No agent object.`}),` The response doesn’t include the agent object since it’s already specified in the URL.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Conversation result.`}),` Pass `,_jsx(_components.code,{children:`include=insight`}),` to get `,_jsx(_components.code,{children:`analysis_status`}),`, `,_jsx(_components.code,{children:`human_detected`}),`, `,_jsx(_components.code,{children:`call_result`}),`, `,_jsx(_components.code,{children:`collected_data`}),` and `,_jsx(_components.code,{children:`campaign_id`}),` on each call. Without it the response is unchanged.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Campaigns`}),`: `,_jsx(_components.code,{children:`GET /api/v1/campaigns`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get call insight`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls/{call_id}/insight`})]}),`\n`]})]})}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":{"config":{},"pageMetadata":{"title":"Get Agent Calls","description":"Retrieve all calls for a specific agent with filtering and pagination","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"}}},"mdxSourceWithNoJs":{"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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`get-agent-calls`,children:`Get Agent Calls`}),`\n`,_jsx(_components.p,{children:`Retrieve all calls for a specific agent with various filtering options and pagination support.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /api/v1/agents/{agent_id}/calls`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`agent`,type:`string`,required:true,id:`param-agent`,children:_jsx(_components.p,{children:`The unique identifier of the agent.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`include`,type:`string`,required:false,id:`param-include`,children:_jsxs(_components.p,{children:[`Adds the conversation result to each call. Only accepted value: `,_jsx(_components.code,{children:`insight`}),`. Any other value returns `,_jsx(_components.code,{children:`422`}),`. See `,_jsx(_components.a,{href:`/en/api-reference/endpoints/list-calls#the-insight-block`,children:`List calls`}),` for the fields.`]})}),`\n`,_jsx(ParamField,{query:`status`,type:`string`,required:false,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by call status. Options: `,_jsx(_components.code,{children:`initiated`}),`, `,_jsx(_components.code,{children:`ringing`}),`, `,_jsx(_components.code,{children:`answered`}),`, `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`busy`}),`, `,_jsx(_components.code,{children:`no-answer`})]})}),`\n`,_jsx(ParamField,{query:`direction`,type:`string`,required:false,id:`param-direction`,children:_jsxs(_components.p,{children:[`Filter by call direction. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`})]})}),`\n`,_jsx(ParamField,{query:`date_from`,type:`string`,required:false,id:`param-date-from`,children:_jsx(_components.p,{children:`Filter calls from date (YYYY-MM-DD)`})}),`\n`,_jsx(ParamField,{query:`date_to`,type:`string`,required:false,id:`param-date-to`,children:_jsx(_components.p,{children:`Filter calls to date (YYYY-MM-DD)`})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,required:false,id:`param-search`,children:_jsx(_components.p,{children:`Search in phone numbers or call SID`})}),`\n`,_jsx(ParamField,{query:`per_page`,type:`integer`,required:false,id:`param-per-page`,children:_jsx(_components.p,{children:`Number of items per page (default: 20, max: 100)`})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,required:false,id:`param-page`,children:_jsx(_components.p,{children:`Page number (default: 1)`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 1: Get all calls for a specific agent`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer talq_your_environment_token_here\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 1: Get all calls for a specific agent`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'GET'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 2: Get completed calls for agent from specific date`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?status=completed\u0026date_from=2024-01-01\u0026per_page=50\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer talq_your_environment_token_here\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 2: Get completed calls for agent from specific date`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?status=completed\u0026date_from=2024-01-01\u0026per_page=50'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'GET'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 3: Get outbound calls for agent with search`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?direction=outbound\u0026search=+1234567890\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer talq_your_environment_token_here\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 3: Get outbound calls for agent with search`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls?direction=outbound\u0026search=+1234567890'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'GET'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-200-ok`,children:`Success Response (200 OK)`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`41`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`41`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call-uuid-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_sid_123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to_formatted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"(123) 456-7890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+0987654321\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from_formatted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"(098) 765-4321\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_testing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T00:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call-uuid-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_sid_456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1987654321\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to_formatted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"(987) 654-3210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+0987654321\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from_formatted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"(098) 765-4321\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_testing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"answered\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`180`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T01:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T01:03:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagination\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"per_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Indicates if the operation was successful.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`Array of call objects for the specific agent.`}),_jsxs(Expandable,{title:`Call Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the call.`})}),_jsx(ResponseField,{name:`sid`,type:`string`,required:true,id:`param-sid`,children:_jsx(_components.p,{children:`Call SID from the telephony provider.`})}),_jsx(ResponseField,{name:`to`,type:`string`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Destination phone number in E.164 format.`})}),_jsx(ResponseField,{name:`to_formatted`,type:`string`,required:true,id:`param-to-formatted`,children:_jsx(_components.p,{children:`Formatted destination phone number for display.`})}),_jsx(ResponseField,{name:`from`,type:`string`,required:true,id:`param-from`,children:_jsx(_components.p,{children:`Source phone number in E.164 format.`})}),_jsx(ResponseField,{name:`from_formatted`,type:`string`,required:true,id:`param-from-formatted`,children:_jsx(_components.p,{children:`Formatted source phone number for display.`})}),_jsx(ResponseField,{name:`is_testing`,type:`boolean`,required:true,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether this is a test call.`})}),_jsx(ResponseField,{name:`direction`,type:`string`,required:true,id:`param-direction-1`,children:_jsxs(_components.p,{children:[`Direction of the call. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Current status of the call. Options: `,_jsx(_components.code,{children:`initiated`}),`, `,_jsx(_components.code,{children:`ringing`}),`, `,_jsx(_components.code,{children:`answered`}),`, `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`busy`}),`, `,_jsx(_components.code,{children:`no-answer`}),`.`]})}),_jsx(ResponseField,{name:`duration`,type:`integer`,required:true,id:`param-duration`,children:_jsx(_components.p,{children:`Call duration in seconds (0 if not completed).`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call was created.`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,required:true,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call was last updated.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`pagination`,type:`object`,required:true,id:`param-pagination`,children:[_jsx(_components.p,{children:`Pagination metadata.`}),_jsxs(Expandable,{title:`Pagination Object`,children:[_jsx(ResponseField,{name:`current_page`,type:`integer`,required:true,id:`param-current-page`,children:_jsx(_components.p,{children:`Current page number.`})}),_jsx(ResponseField,{name:`last_page`,type:`integer`,required:true,id:`param-last-page`,children:_jsx(_components.p,{children:`Last page number.`})}),_jsx(ResponseField,{name:`per_page`,type:`integer`,required:true,id:`param-per-page-1`,children:_jsx(_components.p,{children:`Number of items per page.`})}),_jsx(ResponseField,{name:`total`,type:`integer`,required:true,id:`param-total`,children:_jsx(_components.p,{children:`Total number of items.`})}),_jsx(ResponseField,{name:`from`,type:`integer`,required:true,id:`param-from-1`,children:_jsx(_components.p,{children:`Starting item number for current page.`})}),_jsx(ResponseField,{name:`to`,type:`integer`,required:true,id:`param-to-1`,children:_jsx(_components.p,{children:`Ending item number for current page.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthorized\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`422-validation-error`,children:`422 Validation Error`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The given data was invalid.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The selected status is invalid.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The selected direction is invalid.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date_from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The date from must be a valid date.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`500-server-error`,children:`500 Server Error`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal server error.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified agent does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Query parameter validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_ERROR`})}),_jsx(_components.td,{children:`Internal server error occurred`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Agent-specific filtering.`}),` This endpoint returns only calls associated with the specified agent.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Same filtering options.`}),` All filtering options from the main calls endpoint are available.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No agent object.`}),` The response doesn’t include the agent object since it’s already specified in the URL.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Conversation result.`}),` Pass `,_jsx(_components.code,{children:`include=insight`}),` to get `,_jsx(_components.code,{children:`analysis_status`}),`, `,_jsx(_components.code,{children:`human_detected`}),`, `,_jsx(_components.code,{children:`call_result`}),`, `,_jsx(_components.code,{children:`collected_data`}),` and `,_jsx(_components.code,{children:`campaign_id`}),` on each call. Without it the response is unchanged.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Campaigns`}),`: `,_jsx(_components.code,{children:`GET /api/v1/campaigns`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get call insight`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls/{call_id}/insight`})]}),`\n`]})]})}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":{"config":{},"pageMetadata":{"title":"Get Agent Calls","description":"Retrieve all calls for a specific agent with filtering and pagination","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Get Agent Calls","slug":"get-agent-calls","depth":1,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request headers","slug":"request-headers","depth":2,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Example requests","slug":"example-requests","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success Response (200 OK)","slug":"success-response-200-ok","depth":3,"children":[]},{"title":"Response fields","slug":"response-fields","depth":3,"children":[]}]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[{"title":"404 Not Found","slug":"404-not-found","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]},{"title":"422 Validation Error","slug":"422-validation-error","depth":3,"children":[]},{"title":"500 Server Error","slug":"500-server-error","depth":3,"children":[]}]},{"title":"Error codes","slug":"error-codes","depth":2,"children":[]},{"title":"Important notes","slug":"important-notes","depth":2,"children":[]},{"title":"Related endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Request 1: Get all calls for a specific agent\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer talq_your_environment_token_here\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Request 1: Get all calls for a specific agent\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://app.talkover.ai/api/v1/agents/agent-uuid-1/calls'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'GET'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer talq_your_environment_token_here'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"41\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"call-uuid-1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"call_sid_123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+1234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to_formatted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"(123) 456-7890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+0987654321\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from_formatted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"(098) 765-4321\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_testing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"outbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">120\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T00:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"call-uuid-2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"call_sid_456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+1987654321\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to_formatted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"(987) 654-3210\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+0987654321\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from_formatted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"(098) 765-4321\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_testing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"answered\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">180\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T01:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-01T01:03:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pagination\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"current_page\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_page\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"per_page\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">20\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">50\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">20\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Agent Calls","path":"/api/v1/agents/{agent_id}/calls","method":"get","request":{"security":[],"parameters":{"query":{"include":{"schema":[{"type":"string","description":"Adds the conversation result to each call. Only accepted value: `insight` . Any other value returns `422` . See List calls for the fields."}]},"status":{"schema":[{"type":"string","description":"Filter by call status. Options: `initiated` , `ringing` , `answered` , `completed` , `failed` , `busy` , `no-answer`"}]},"direction":{"schema":[{"type":"string","description":"Filter by call direction. Options: `inbound` , `outbound`"}]},"date_from":{"schema":[{"type":"string","description":"Filter calls from date (YYYY-MM-DD)"}]},"date_to":{"schema":[{"type":"string","description":"Filter calls to date (YYYY-MM-DD)"}]},"search":{"schema":[{"type":"string","description":"Search in phone numbers or call SID"}]},"per_page":{"schema":[{"type":"integer","description":"Number of items per page (default: 20, max: 100)"}]},"page":{"schema":[{"type":"integer","description":"Page number (default: 1)"}]}},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token for authentication. Format: `Bearer talq_your_environment_token_here`","required":true}]}},"cookie":{},"path":{"agent":{"schema":[{"type":"string","description":"The unique identifier of the agent.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indicates if the operation was successful.","required":true}],"data":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the call.","required":true}],"sid":[{"type":"string","description":"Call SID from the telephony provider.","required":true}],"to":[{"type":"string","description":"Destination phone number in E.164 format.","required":true}],"to_formatted":[{"type":"string","description":"Formatted destination phone number for display.","required":true}],"from":[{"type":"string","description":"Source phone number in E.164 format.","required":true}],"from_formatted":[{"type":"string","description":"Formatted source phone number for display.","required":true}],"is_testing":[{"type":"boolean","description":"Whether this is a test call.","required":true}],"direction":[{"type":"string","description":"Direction of the call. Options: `inbound` , `outbound` .","required":true}],"status":[{"type":"string","description":"Current status of the call. Options: `initiated` , `ringing` , `answered` , `completed` , `failed` , `busy` , `no-answer` .","required":true}],"duration":[{"type":"integer","description":"Call duration in seconds (0 if not completed).","required":true}],"created_at":[{"type":"string","description":"ISO 8601 timestamp when the call was created.","required":true}],"updated_at":[{"type":"string","description":"ISO 8601 timestamp when the call was last updated.","required":true}]}}],"description":"Array of call objects for the specific agent.","required":true}],"pagination":[{"type":"object","properties":{"current_page":[{"type":"integer","description":"Current page number.","required":true}],"last_page":[{"type":"integer","description":"Last page number.","required":true}],"per_page":[{"type":"integer","description":"Number of items per page.","required":true}],"total":[{"type":"integer","description":"Total number of items.","required":true}],"from":[{"type":"integer","description":"Starting item number for current page.","required":true}],"to":[{"type":"integer","description":"Ending item number for current page.","required":true}]},"description":"Pagination metadata.","required":true}]}}],"examples":{"example":{"value":{"success":true,"data":[{"id":"\u003cstring>","sid":"\u003cstring>","to":"\u003cstring>","to_formatted":"\u003cstring>","from":"\u003cstring>","from_formatted":"\u003cstring>","is_testing":true,"direction":"\u003cstring>","status":"\u003cstring>","duration":123,"created_at":"\u003cstring>","updated_at":"\u003cstring>"}],"pagination":{"current_page":123,"last_page":123,"per_page":123,"total":123,"from":123,"to":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"talqove","siteName":"Talkover","title":"Get Agent Calls - Talkover","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/endpoints/get-agent-calls","matchLevel":0},"pt-BR":{"href":"/pt-br/api-reference/endpoints/get-agent-calls","matchLevel":1}}},"lastModified":"2026-09-21T21:43:30.031Z","originalFileLocation":"en/api-reference/endpoints/get-agent-calls.mdx","locale":"en"},"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=\"Retrieve all calls for a specific agent with filtering and pagination\">\u003cmeta data-mint-head name=\"application-name\" content=\"Talkover\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Agent Calls - Talkover\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve all calls for a specific agent with filtering and pagination\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Talkover\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Calls+%26+Campaigns\u0026amp;title=Get+Agent+Calls\u0026amp;description=Retrieve+all+calls+for+a+specific+agent+with+filtering+and+pagination\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=3815f40c1ad617140158191bfd9a4be8643752ed25f939dc42c230d33651a5a8\">\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 Agent Calls - Talkover\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve all calls for a specific agent with filtering and pagination\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Calls+%26+Campaigns\u0026amp;title=Get+Agent+Calls\u0026amp;description=Retrieve+all+calls+for+a+specific+agent+with+filtering+and+pagination\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=3815f40c1ad617140158191bfd9a4be8643752ed25f939dc42c230d33651a5a8\">\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/talqove/PKfJxicXqCCm-q-y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Talkover\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DFC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/endpoints/get-agent-calls.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.talkover.ai/pt-br/api-reference/endpoints/get-agent-calls\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.talkover.ai/#organization\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.talkover.ai#website\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls#webpage\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\",\"name\":\"Get Agent Calls\",\"description\":\"Retrieve all calls for a specific agent with filtering and pagination\",\"dateModified\":\"2026-09-21T21:43:30.031Z\",\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.talkover.ai/en/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Calls \u0026 Campaigns\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/list-calls\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Agent Calls\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls#apireference\",\"headline\":\"Get Agent Calls\",\"name\":\"Get Agent Calls\",\"description\":\"Retrieve all calls for a specific agent with filtering and pagination\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls\",\"mainEntityOfPage\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/get-agent-calls#webpage\"},\"dateModified\":\"2026-09-21T21:43:30.031Z\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Talkover\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Talkover\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/endpoints/get-agent-calls.md","siteName":"Talkover","nav":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"groups":[{"group":"Get Started","pages":[{"title":"Talkover API","href":"/en/introduction"},{"title":"Quick start Guide","href":"/en/getting-started/quickstart"},{"title":"Authentication","href":"/en/getting-started/authentication"},{"title":"Make Your First Call","href":"/en/getting-started/first-call"}]},{"group":"Concepts","pages":[{"title":"Voice Agents","href":"/en/concepts/voice-agents"},{"title":"Call Flows","href":"/en/concepts/call-flows"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/introduction"},{"title":"Authentication","href":"/en/api-reference/authentication"},{"group":"Voice Templates \u0026 Phone Numbers","pages":[{"title":"List Voice Templates","api":"GET /api/v1/voice-templates","href":"/en/api-reference/endpoints/list-voice-templates"},{"title":"Generate Voice Template Demo","api":"GET /api/v1/voice-templates/{voice_template_id}/demo","href":"/en/api-reference/endpoints/generate-voice-demo"},{"title":"List Phone Numbers","api":"GET /api/v1/phone-numbers","href":"/en/api-reference/endpoints/list-phone-numbers"},{"title":"List Release Requests","api":"GET /api/v1/phone-numbers/release-requests","href":"/en/api-reference/endpoints/list-release-requests"},{"title":"Request Phone Number Release","api":"POST /api/v1/phone-numbers/{phone_number_id}/request-release","href":"/en/api-reference/endpoints/request-phone-release"},{"title":"Cancel Release Request","api":"DELETE /api/v1/phone-numbers/release-requests/{release_request_id}","href":"/en/api-reference/endpoints/cancel-release-request"}]},{"group":"Setup Agents","pages":[{"group":"Agents","pages":[{"title":"List Agents","api":"GET /api/v1/agents","href":"/en/api-reference/endpoints/list-agents"},{"title":"Create Agent","api":"POST /api/v1/agents","href":"/en/api-reference/endpoints/create-agent"},{"title":"Get Agent","api":"GET /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/get-agent"},{"title":"Update Agent Knowledge","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"},{"title":"Update Agent Voice","api":"PUT /api/v1/agents/{agent_id}/voice","href":"/en/api-reference/endpoints/update-agent-voice"},{"title":"Update Agent Calling Settings","api":"PUT /api/v1/agents/{agent_id}/calling","href":"/en/api-reference/endpoints/update-agent-calling"},{"title":"Publish Agent","api":"POST /api/v1/agents/{agent_id}/publish","href":"/en/api-reference/endpoints/publish-agent"},{"title":"Unpublish Agent","api":"POST /api/v1/agents/{agent_id}/unpublish","href":"/en/api-reference/endpoints/unpublish-agent"},{"title":"Delete Agent","api":"DELETE /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/delete-agent"},{"title":"Update Advanced Settings","api":"PATCH /api/v1/agents/{agent_id}/advanced-settings","href":"/en/api-reference/endpoints/update-advanced-settings"},{"title":"Check Optimized Costs Eligibility","api":"GET /api/v1/agents/{agent_id}/optimized-costs-eligibility","href":"/en/api-reference/endpoints/check-optimized-costs-eligibility"},{"title":"Get Agent Pricing","api":"GET /api/v1/agents/{agent_id}/pricing","href":"/en/api-reference/endpoints/get-agent-pricing"},{"title":"Get Agent Pricing Summary","api":"GET /api/v1/agents/{agent_id}/pricing/summary","href":"/en/api-reference/endpoints/get-agent-pricing-summary"}]},{"group":"Trainings","pages":[{"title":"List Trainings","api":"GET /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/list-trainings"},{"title":"Create/Update Training","api":"POST /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/create-training"},{"title":"Delete Training","api":"DELETE /api/v1/agents/{agent_id}/trainings/{training_id}","href":"/en/api-reference/endpoints/delete-training"}]},{"group":"Actions","pages":[{"title":"List Actions","api":"GET /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/list-actions"},{"title":"Create/Update Action","api":"POST /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/create-action"},{"title":"Delete Action","api":"DELETE /api/v1/agents/{agent_id}/actions/{action_id}","href":"/en/api-reference/endpoints/delete-action"},{"title":"List Action Integrations","api":"GET /api/v1/action-integrations","href":"/en/api-reference/endpoints/list-action-integrations"}]}]},{"group":"Conversation Flow","pages":[{"title":"Get Agent Flow","api":"GET /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/get-agent-flow"},{"title":"Update Agent Flow","api":"PUT /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/update-agent-flow"},{"title":"Validate Agent Flow","api":"POST /api/v1/agents/{agent_id}/flow/validate","href":"/en/api-reference/endpoints/validate-agent-flow"},{"title":"List Agent Flow Versions","api":"GET /api/v1/agents/{agent_id}/flow/versions","href":"/en/api-reference/endpoints/list-agent-flow-versions"}]},{"group":"Make a Call","pages":[{"title":"Make a Call","api":"POST /api/v1/agents/{agent_id}/call","href":"/en/api-reference/endpoints/make-call"},{"title":"Make Campaign Call","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"},{"title":"End Call","api":"POST /api/v1/agents/{agent_id}/end-call","href":"/en/api-reference/endpoints/end-call"},{"title":"Get Active Call by Phone","api":"GET /api/v1/agents/{agent_id}/active-call/{phone}","href":"/en/api-reference/endpoints/get-active-call"}]},{"group":"Calls \u0026 Campaigns","pages":[{"title":"List calls","description":"Return the calls of the environment, with filters, cursor pagination and the optional conversation result","api":"GET /api/v1/calls","href":"/en/api-reference/endpoints/list-calls"},{"title":"Get Agent Calls","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"},{"title":"Get call insight","description":"Return the conversation result of one call: analysis status, collected data, summary and transcript","api":"GET /api/v1/calls/{call_id}/insight","href":"/en/api-reference/endpoints/get-call-insight"},{"title":"List Campaigns","api":"GET /api/v1/campaigns","href":"/en/api-reference/endpoints/list-campaigns"},{"title":"Create Campaign","api":"POST /api/v1/campaigns","href":"/en/api-reference/endpoints/create-campaign"},{"title":"Get Campaign","api":"GET /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/get-campaign"},{"title":"Update Campaign","api":"PUT /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/update-campaign"},{"title":"Update Campaign Status","api":"PATCH /api/v1/campaigns/{campaign_id}/status","href":"/en/api-reference/endpoints/update-campaign-status"},{"title":"Delete Campaign","api":"DELETE /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/delete-campaign"},{"title":"Clear campaign","api":"POST /api/v1/campaigns/{campaign_id}/clear","href":"/en/api-reference/endpoints/clear-campaign"},{"title":"Upload contact list","api":"POST /api/v1/campaigns/{campaign_id}/files","href":"/en/api-reference/endpoints/upload-campaign-list"},{"title":"Get list import progress","api":"GET /api/v1/campaigns/{campaign_id}/files/{file_data_id}/progress","href":"/en/api-reference/endpoints/get-campaign-list-progress"}]},{"group":"Campaign Integrations","pages":[{"group":"Campaign Webhooks","pages":[{"title":"List Campaign Webhooks","api":"GET /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/list-campaign-webhooks"},{"title":"Create Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/create-campaign-webhook"},{"title":"Get Campaign Webhook","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-campaign-webhook"},{"title":"Update Campaign Webhook","api":"PUT /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-campaign-webhook"},{"title":"Delete Campaign Webhook","api":"DELETE /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-campaign-webhook"},{"title":"Toggle Campaign Webhook","api":"PATCH /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-campaign-webhook"},{"title":"Test Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-campaign-webhook"},{"title":"List Campaign Webhook Logs","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-campaign-webhook-logs"},{"title":"Retry Campaign Webhook Delivery","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-campaign-webhook-log"}]},{"group":"Campaign SFTP","pages":[{"title":"Get Campaign SFTP Config","api":"GET /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/get-campaign-sftp"},{"title":"Create Campaign SFTP Config","api":"POST /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/create-campaign-sftp"},{"title":"Update Campaign SFTP Config","api":"PUT /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/update-campaign-sftp"},{"title":"Test Campaign SFTP Connection","api":"POST /api/v1/campaigns/{campaign_id}/sftp/test-connection","href":"/en/api-reference/endpoints/test-campaign-sftp-connection"},{"title":"Trigger SFTP Import","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-import","href":"/en/api-reference/endpoints/trigger-campaign-sftp-import"},{"title":"Trigger SFTP Export","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-export","href":"/en/api-reference/endpoints/trigger-campaign-sftp-export"},{"title":"List Campaign SFTP Logs","api":"GET /api/v1/campaigns/{campaign_id}/sftp/logs","href":"/en/api-reference/endpoints/list-campaign-sftp-logs"}]}]},{"group":"Callback Agents","pages":[{"title":"List Callback Agents","api":"GET /api/v1/callback-agents","href":"/en/api-reference/endpoints/list-callback-agents"},{"title":"List Callback Source Agents","api":"GET /api/v1/callback-agents/source-agents","href":"/en/api-reference/endpoints/list-callback-source-agents"},{"title":"Get Callback Stats","api":"GET /api/v1/callback-agents/stats","href":"/en/api-reference/endpoints/get-callback-stats"},{"title":"Get Callback Agent","api":"GET /api/v1/callback-agents/{agent_id}","href":"/en/api-reference/endpoints/get-callback-agent"},{"title":"Check Callback Constraints","api":"POST /api/v1/callback-agents/{agent_id}/check-constraints","href":"/en/api-reference/endpoints/check-callback-constraints"},{"title":"Set Agent as Callback","api":"POST /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/set-agent-as-callback"},{"title":"Update Callback Sources","api":"PUT /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/update-callback-sources"},{"title":"Remove Callback Role","api":"DELETE /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/remove-callback-role"}]},{"group":"Calendars","pages":[{"group":"Calendars","pages":[{"title":"List Calendars","api":"GET /api/v1/calendars","href":"/en/api-reference/endpoints/list-calendars"},{"title":"Create Calendar","api":"POST /api/v1/calendars","href":"/en/api-reference/endpoints/create-calendar"},{"title":"Get Calendar","api":"GET /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/get-calendar"},{"title":"Update Calendar","api":"PUT /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/update-calendar"},{"title":"Delete Calendar","api":"DELETE /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/delete-calendar"},{"title":"Get Events (Batch)","api":"GET /api/v1/calendars/events","href":"/en/api-reference/endpoints/get-calendar-events-batch"},{"title":"Trigger Calendars Sync","api":"POST /api/v1/calendars/sync","href":"/en/api-reference/endpoints/trigger-calendars-sync"},{"title":"Get Calendars Sync Status","api":"GET /api/v1/calendars/sync-status","href":"/en/api-reference/endpoints/get-calendars-sync-status"}]},{"group":"Members","pages":[{"title":"List Calendar Members","api":"GET /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/list-calendar-members"},{"title":"Add Calendar Member","api":"POST /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/add-calendar-member"},{"title":"Update Calendar Member","api":"PUT /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/update-calendar-member"},{"title":"Remove Calendar Member","api":"DELETE /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/remove-calendar-member"}]},{"group":"Events","pages":[{"title":"List Calendar Events","api":"GET /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/list-calendar-events"},{"title":"Create Calendar Event","api":"POST /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/create-calendar-event"},{"title":"Get Calendar Event","api":"GET /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/get-calendar-event"},{"title":"Update Calendar Event","api":"PUT /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/update-calendar-event"},{"title":"Delete Calendar Event","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/delete-calendar-event"},{"title":"Create Event Meeting Link","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/meeting","href":"/en/api-reference/endpoints/create-event-meeting"},{"title":"Add Event Attendee","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/attendees","href":"/en/api-reference/endpoints/add-event-attendee"},{"title":"Remove Event Attendee","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}/attendees/{attendee_id}","href":"/en/api-reference/endpoints/remove-event-attendee"}]},{"group":"Availability","pages":[{"title":"List Availability Rules","api":"GET /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/list-availability-rules"},{"title":"Create Availability Rule","api":"POST /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/create-availability-rule"},{"title":"Update Availability Rule","api":"PUT /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/update-availability-rule"},{"title":"Delete Availability Rule","api":"DELETE /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/delete-availability-rule"},{"title":"Query Availability","api":"GET /api/v1/calendars/{calendar_id}/availability","href":"/en/api-reference/endpoints/query-availability"}]},{"group":"Provider Connections","pages":[{"title":"List Provider Connections","api":"GET /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/list-provider-connections"},{"title":"Create Provider Connection","api":"POST /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/create-provider-connection"},{"title":"Disconnect Provider","api":"DELETE /api/v1/calendars/{calendar_id}/providers/{provider_id}","href":"/en/api-reference/endpoints/disconnect-provider"},{"title":"Trigger Provider Sync","api":"POST /api/v1/calendars/{calendar_id}/providers/{provider_id}/sync","href":"/en/api-reference/endpoints/trigger-provider-sync"}]}]},{"group":"Custom SIP Trunks","pages":[{"title":"List SIP Trunks","api":"GET /api/v1/sip-trunks","href":"/en/api-reference/endpoints/list-sip-trunks"},{"title":"Create SIP Trunk","api":"POST /api/v1/sip-trunks","href":"/en/api-reference/endpoints/create-sip-trunk"},{"title":"Get SIP Trunk","api":"GET /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/get-sip-trunk"},{"title":"Update SIP Trunk","api":"PUT /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/update-sip-trunk"},{"title":"Delete SIP Trunk","api":"DELETE /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/delete-sip-trunk"},{"title":"Verify SIP Trunk","api":"POST /api/v1/sip-trunks/{trunk_id}/verify","href":"/en/api-reference/endpoints/verify-sip-trunk"},{"title":"Get SIP Trunk Health","api":"GET /api/v1/sip-trunks/{trunk_id}/health","href":"/en/api-reference/endpoints/get-sip-trunk-health"},{"title":"List SIP Trunk DIDs","api":"GET /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/list-sip-trunk-dids"},{"title":"Create SIP Trunk DID","api":"POST /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/create-sip-trunk-did"},{"title":"Delete SIP Trunk DID","api":"DELETE /api/v1/sip-trunks/{trunk_id}/dids/{phone_number_id}","href":"/en/api-reference/endpoints/delete-sip-trunk-did"}]},{"group":"Agent Webhooks","pages":[{"title":"List Agent Webhooks","api":"GET /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/list-agent-webhooks"},{"title":"Create Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/create-webhook"},{"title":"Get Webhook Details","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-webhook-details"},{"title":"Update Webhook","api":"PUT /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-webhook"},{"title":"Delete Webhook","api":"DELETE /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-webhook"},{"title":"Toggle Webhook Status","api":"PATCH /api/v1/agents/{agent_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-webhook-status"},{"title":"Test Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-webhook"},{"title":"List Webhook Delivery Logs","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-webhook-logs"},{"title":"Retry Webhook Delivery","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-webhook-log"}]},{"group":"Billing \u0026 Auto Topup","pages":[{"title":"Get Auto Topup Settings","api":"GET /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/get-auto-topup-settings"},{"title":"Update Auto Topup Settings","api":"PUT /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/update-auto-topup-settings"},{"title":"Test Auto Topup","api":"POST /api/v1/auto-topup/test","href":"/en/api-reference/endpoints/test-auto-topup"},{"title":"Disable Auto Topup","api":"POST /api/v1/auto-topup/disable","href":"/en/api-reference/endpoints/disable-auto-topup"},{"title":"Get Auto Topup History","api":"GET /api/v1/auto-topup/history","href":"/en/api-reference/endpoints/get-auto-topup-history"},{"title":"List Payment Methods","api":"GET /api/v1/auto-topup/payment-methods","href":"/en/api-reference/endpoints/list-auto-topup-payment-methods"}]},{"group":"Account API","pages":[{"title":"Get Current User","api":"GET /api/user","href":"/en/api-reference/endpoints/get-current-user"},{"title":"List User API Tokens","api":"GET /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/list-user-api-tokens"},{"title":"Create User API Token","api":"POST /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/create-user-api-token"},{"title":"Delete User API Token","api":"DELETE /api/v1/user/api-tokens/{token_id}","href":"/en/api-reference/endpoints/delete-user-api-token"},{"title":"Purchase Credits","api":"POST /api/v1/credits/purchase","href":"/en/api-reference/endpoints/purchase-credits"},{"title":"Get Credits Balance","api":"GET /api/v1/credits/balance","href":"/en/api-reference/endpoints/get-credits-balance"},{"title":"Health Check","api":"GET /api/v1/health","href":"/en/api-reference/endpoints/health"}]}]},{"group":"For debt collection","pages":[{"title":"Debt collection portfolio","href":"/en/api-reference/portfolio/overview"},{"title":"Send portfolio","api":"POST /api/v1/portfolio/debts","href":"/en/api-reference/portfolio/send-debts"},{"title":"Get contract","api":"GET /api/v1/portfolio/debts/{external_debt_id}","href":"/en/api-reference/portfolio/get-debt"},{"title":"Record payment","api":"POST /api/v1/portfolio/debts/{external_debt_id}/payments","href":"/en/api-reference/portfolio/record-payment"},{"title":"Record return","api":"POST /api/v1/portfolio/debts/{external_debt_id}/return","href":"/en/api-reference/portfolio/record-return"},{"title":"Collection cadences","href":"/en/api-reference/portfolio/cadences"},{"title":"Cadence draft","api":"PUT /api/v1/cadences/{id}/draft","href":"/en/api-reference/portfolio/cadence-draft"},{"title":"Publish and versions","api":"POST /api/v1/cadences/{id}/publish","href":"/en/api-reference/portfolio/cadence-lifecycle"},{"title":"General rules and channels","api":"PUT /api/v1/cadences/settings","href":"/en/api-reference/portfolio/cadence-settings"}]},{"group":"Guides","pages":[{"title":"Voice Agent Setup","href":"/en/guides/voice-agent-setup"},{"title":"Call Flow Design","href":"/en/guides/call-flow-design"},{"title":"Voice Agent Setup","href":"/en/guides/integration-examples"},{"title":"Best Practices","href":"/en/guides/best-practices"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-br/api-reference/endpoints/get-agent-calls"}]}]},"basePath":"","title":"Get Agent Calls - Talkover","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js"]}