Searches historical call results with advanced filtering, full-text search, nested JSON queries,
and aggregations. Supports complex queries including date ranges, status filters, agent filtering,
and custom field searches within call additional data.
Analytics dashboards: Aggregate call data by custom metrics
Quality assurance: Search calls by sentiment or specific keywords
Compliance tracking: Filter calls by date range and status
Custom reporting: Query nested JSON fields from post-call analysis
Body
application/jsontext/jsonapplication/*+json
Search criteria and options
Search parameters for querying completed call results with flexible filtering, pagination, and aggregation options. Enables searching call history by various criteria including agent, status, date range, and custom data fields for analytics and reporting.
Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.
Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.
Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure.
Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.
End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.
Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.
Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.
Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.
Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.
Field name to sort results by. Common values include "completedTime" (when the call ended), "createdTime" (when the call was queued), "durationSeconds" (call length). Defaults to "completedTime" to show most recent calls first when using descending order.
Whether to include aggregated statistics in the response. When true, the response includes counts by status, agent, endpoint, and time periods. Useful for dashboards and analytics without requiring separate aggregation queries.
Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.
IANA time zone (for example "America/New_York") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.
Response
Returns search results successfully
Search results for completed calls including pagination metadata, optional aggregations, and performance metrics. Contains all matching call records plus statistics for navigating large result sets and analyzing call patterns.
Call results in the current page. Each result includes call details, status, duration, transcription, recording links, and custom data. Results are ordered according to the search request's sort parameters.
Total number of calls matching the search criteria across all pages. Use this to calculate pagination metrics (total pages, progress indicators) and understand overall result volume.
Search execution time in milliseconds. Indicates query performance and can help identify slow searches that may benefit from more specific filters or indexing optimizations.
Aggregated statistics about the search results including counts by status, agent, endpoint, and time periods. Only present when IncludeAggregations was true in the search request. Useful for dashboards and analytics without additional queries.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Dasha BlackBox Documentation","description":"Build, deploy, and monitor voice AI agents with Dasha BlackBox. Complete documentation for creating intelligent conversational AI agents with advanced voice capabilities.","colors":{"primary":"#4F46E5","light":"#6366F1","dark":"#312E81"},"logo":{"light":"https://mintcdn.com/dasha-628f9d33/OIOU150RbPNcpw0P/docs/logo-wordmark-light.svg?fit=max\u0026auto=format\u0026n=OIOU150RbPNcpw0P\u0026q=85\u0026s=d09a8bf9e3455eda1fccc003884b3cdf","dark":"https://mintcdn.com/dasha-628f9d33/OIOU150RbPNcpw0P/docs/logo-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=OIOU150RbPNcpw0P\u0026q=85\u0026s=1a3ce52b54cb5126d7f2cd2a42c27fa3","href":"https://blackbox.dasha.ai"},"favicon":"https://mintcdn.com/dasha-628f9d33/PM9rl5FBZe1J7dH8/docs/logo.svg?fit=max\u0026auto=format\u0026n=PM9rl5FBZe1J7dH8\u0026q=85\u0026s=21c9365f53a83564419467531fb20a5d","api":{"playground":{"display":"interactive"},"examples":{"languages":["javascript","curl","python"]}},"navbar":{"links":[{"href":"https://dasha.ai","label":"Explore other Dasha products"},{"href":"mailto:support+blackbox@dasha.ai","label":"Get Support"}],"primary":{"type":"button","label":"Go to Dashboard","href":"https://blackbox.dasha.ai"}},"footer":{"socials":{"x":"https://x.com/dashaai_","linkedin":"https://www.linkedin.com/company/dashaai","github":"https://github.com/dasha-ai"},"links":[{"header":"Resources","items":[{"label":"Main Website","href":"https://dasha.ai"},{"label":"Dashboard","href":"https://blackbox.dasha.ai"},{"label":"Status","href":"https://status.dasha.ai"}]},{"header":"Support","items":[{"label":"Get Support","href":"mailto:support+blackbox@dasha.ai"}]}]},"search":{"prompt":"Search Dasha BlackBox docs..."},"seo":{"metatags":{"canonical":"https://blackbox.dasha.ai"},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"integrations":{"posthog":{"apiKey":"phc_bF01JhDcDBEhCGS2wY8QMkGqrzgBQ25KxhcziHgwDvm","apiHost":"https://us.i.posthog.com"}},"errors":{"404":{"redirect":false,"title":"Page Not Found","description":"This page doesn't exist. Try using the search or navigation to find what you're looking for."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"chart-line","href":"https://status.dasha.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dasha-628f9d33","hasAudioNarration":false,"actualSubdomain":"dasha-628f9d33","customDomains":["docs.blackbox.dasha.ai"],"gitSource":{"type":"github","owner":"dasha-ai","repo":"blackbox-docs","deployBranch":"production","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeafa53b434e7d02a3a2567","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":119},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Create","count":19},{"language":"default","tag":"Advanced Features","count":18},{"language":"default","tag":"Deploy","count":11},{"language":"default","tag":"Introduction","count":9},{"language":"default","tag":"Calls","count":9},{"language":"default","tag":"Misc","count":9},{"language":"default","tag":"WebIntegrations","count":9},{"language":"default","tag":"Document","count":8}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@dasha.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"docs/api-reference/callresults/search-call-results","slug":"/docs/api-reference/callresults/search-call-results","pageMetadata":{"title":"Search call results","description":"Searches historical call results with advanced filtering, full-text search, nested JSON queries,\nand aggregations. Supports complex queries including date ranges, status filters, agent filtering,\nand custom field searches within call additional data.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/callresults/search","href":"/docs/api-reference/callresults/search-call-results","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Searches historical call results with advanced filtering, full-text search, nested JSON queries,\\nand aggregations. Supports complex queries including date ranges, status filters, agent filtering,\\nand custom field searches within call additional data.\"\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={code:`code`,li:`li`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`search-capabilities`,children:`Search Capabilities`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Date range filtering`}),`: Filter by creation or completion time`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Status filtering`}),`: Filter by call status (Completed, Failed, etc.)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Agent filtering`}),`: Search calls for specific agents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Full-text search`}),`: Search across call transcripts and metadata`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nested JSON queries`}),`: Query custom fields in call additional data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Aggregations`}),`: Get statistics grouped by custom fields`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sorting`}),`: Sort by any field with ascending/descending order`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`search-examples`,children:`Search Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Basic Search`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`20`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromDate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"toDate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2024-01-31T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"callStatuses\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Completed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Failed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"includeAggregations\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Text Search`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"searchText\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"connection timeout\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`50`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Agent Filtering`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"agentIds\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"agent-123\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"agent-456\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"endpoint\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sales-webhook\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"includeAggregations\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Nested JSON Search`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"additionalDataFilters\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"result.postCallAnalysis.info.age\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\"gt\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`36`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"result.postCallAnalysis.info.name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Andrew\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"result.postCallAnalysis.sentiment\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"positive\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Complex Search`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromDate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"callStatuses\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Completed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"additionalDataFilters\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"result.postCallAnalysis.info.age\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\"gte\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`25`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\"lte\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`65`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"includeAggregations\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"aggregationFields\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"result.postCallAnalysis.info.city\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"result.postCallAnalysis.sentiment\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sortField\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"completedTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sortDirection\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Descending\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`100`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Analytics dashboards`}),`: Aggregate call data by custom metrics`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Quality assurance`}),`: Search calls by sentiment or specific keywords`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Compliance tracking`}),`: Filter calls by date range and status`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Custom reporting`}),`: Query nested JSON fields from post-call analysis`]}),`\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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Search call results","description":"Searches historical call results with advanced filtering, full-text search, nested JSON queries,\nand aggregations. Supports complex queries including date ranges, status filters, agent filtering,\nand custom field searches within call additional data.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/callresults/search","href":"/docs/api-reference/callresults/search-call-results","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Search Capabilities","slug":"search-capabilities","depth":2,"children":[]},{"title":"Search Examples","slug":"search-examples","depth":2,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["CallResults"],"summary":"Search call results","description":"Searches historical call results with advanced filtering, full-text search, nested JSON queries,\nand aggregations. Supports complex queries including date ranges, status filters, agent filtering,\nand custom field searches within call additional data.","requestBody":"be3970e8-5c58-425d-9974-a261461c14b1","responses":{"200":"12f82b1a-ca9c-4053-88d4-4474348a81aa","400":"fa3c2f62-77cd-4e96-bfa5-abb1e3552423","401":"3cb63ae0-4835-42df-b0c2-be015ffb583f","403":"6497dd0b-db88-4519-b517-232678509027","500":"0a6704d4-935a-4ed2-af0d-c66751c95f0f"},"x-mint":{"content":"## Search Capabilities\n\n- **Date range filtering**: Filter by creation or completion time\n- **Status filtering**: Filter by call status (Completed, Failed, etc.)\n- **Agent filtering**: Search calls for specific agents\n- **Full-text search**: Search across call transcripts and metadata\n- **Nested JSON queries**: Query custom fields in call additional data\n- **Aggregations**: Get statistics grouped by custom fields\n- **Sorting**: Sort by any field with ascending/descending order\n\n## Search Examples\n\n\u003cCodeGroup>\n\n```json Basic Search\n{\n \"page\": 0,\n \"size\": 20,\n \"fromDate\": \"2024-01-01T00:00:00Z\",\n \"toDate\": \"2024-01-31T23:59:59Z\",\n \"callStatuses\": [\"Completed\", \"Failed\"],\n \"includeAggregations\": true\n}\n```\n\n```json Text Search\n{\n \"searchText\": \"connection timeout\",\n \"size\": 50\n}\n```\n\n```json Agent Filtering\n{\n \"agentIds\": [\"agent-123\", \"agent-456\"],\n \"endpoint\": \"sales-webhook\",\n \"includeAggregations\": true\n}\n```\n\n```json Nested JSON Search\n{\n \"additionalDataFilters\": {\n \"result.postCallAnalysis.info.age\": { \"gt\": 36 },\n \"result.postCallAnalysis.info.name\": \"Andrew\",\n \"result.postCallAnalysis.sentiment\": \"positive\"\n }\n}\n```\n\n```json Complex Search\n{\n \"fromDate\": \"2024-01-01T00:00:00Z\",\n \"callStatuses\": [\"Completed\"],\n \"additionalDataFilters\": {\n \"result.postCallAnalysis.info.age\": { \"gte\": 25, \"lte\": 65 }\n },\n \"includeAggregations\": true,\n \"aggregationFields\": [\"result.postCallAnalysis.info.city\", \"result.postCallAnalysis.sentiment\"],\n \"sortField\": \"completedTime\",\n \"sortDirection\": \"Descending\",\n \"size\": 100\n}\n```\n\n\u003c/CodeGroup>\n\n## Use Cases\n\n- **Analytics dashboards**: Aggregate call data by custom metrics\n- **Quality assurance**: Search calls by sentiment or specific keywords\n- **Compliance tracking**: Filter calls by date range and status\n- **Custom reporting**: Query nested JSON fields from post-call analysis"},"method":"post","type":"path","servers":["5fb0835c-a4f0-4503-aebe-00595f89e21f"],"security":["438e7f68-a155-42fd-8675-9d1199ae2693","bcfc7084-0b9a-4851-80ea-de419eddc013"],"path":"/api/v1/callresults/search","baseUrlOptions":["https://blackbox.dasha.ai"],"title":"Search call results","codeSamples":[],"requestExampleLanguages":["javascript","bash","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Search criteria and options","content":{"application/json":{"schema":{"type":"object","description":"Search parameters for querying completed call results with flexible filtering, pagination, and aggregation options. Enables searching call history by various criteria including agent, status, date range, and custom data fields for analytics and reporting.","properties":{"page":{"type":"integer","description":"Page number for pagination, using 0-based indexing where 0 is the first page. Defaults to 0 to return the first page of results.","format":"int32","uniqueKey":"page","typeLabel":"integer\u003cint32>"},"size":{"maximum":100,"minimum":1,"type":"integer","description":"Number of call results to return per page. Defaults to 20, allowing you to balance between fewer requests and manageable response sizes.","format":"int32","uniqueKey":"size","typeLabel":"integer\u003cint32>"},"agentIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agentIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentIds","typeLabel":"string[] | null"},"callStatuses":{"oneOf":[{"type":"array","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure.","uniqueKey":"callStatuses.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure."},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.1","typeLabel":"null"}],"uniqueKey":"callStatuses","typeLabel":"enum\u003cstring>[] | null"},"fromDate":{"oneOf":[{"type":"string","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"fromDate","typeLabel":"string\u003cdate-time> | null"},"toDate":{"oneOf":[{"type":"string","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toDate","typeLabel":"string\u003cdate-time> | null"},"searchText":{"oneOf":[{"type":"string","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.1","typeLabel":"null"}],"uniqueKey":"searchText","typeLabel":"string | null"},"callIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"callIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"callIds","typeLabel":"string[] | null"},"endpoint":{"oneOf":[{"type":"string","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"endpoint","typeLabel":"string | null"},"additionalDataFilters":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.0.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.1.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.1","typeLabel":"null"}],"uniqueKey":"additionalDataFilters","typeLabel":"object | null"},"sortField":{"oneOf":[{"type":"string","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.0","typeLabel":"string"},{"type":"null","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.1","typeLabel":"null"}],"uniqueKey":"sortField","typeLabel":"string | null"},"sortDirection":{"type":"string","description":"Direction to sort results. Use Descending (default) to show newest or highest values first, or Ascending to show oldest or lowest values first.","enum":["Ascending","Descending"],"uniqueKey":"sortDirection","typeLabel":"enum\u003cstring>"},"includeAggregations":{"type":"boolean","description":"Whether to include aggregated statistics in the response. When true, the response includes counts by status, agent, endpoint, and time periods. Useful for dashboards and analytics without requiring separate aggregation queries.","uniqueKey":"includeAggregations","typeLabel":"boolean"},"aggregationFields":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"aggregationFields.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregationFields","typeLabel":"string[] | null"},"timeZone":{"oneOf":[{"type":"string","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.1","typeLabel":"null"}],"uniqueKey":"timeZone","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"page":123,"size":50,"agentIds":["\u003cstring>"],"callStatuses":[],"fromDate":"2023-11-07T05:31:56Z","toDate":"2023-11-07T05:31:56Z","searchText":"\u003cstring>","callIds":["\u003cstring>"],"endpoint":"\u003cstring>","additionalDataFilters":{},"sortField":"\u003cstring>","includeAggregations":true,"aggregationFields":["\u003cstring>"],"timeZone":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","description":"Search parameters for querying completed call results with flexible filtering, pagination, and aggregation options. Enables searching call history by various criteria including agent, status, date range, and custom data fields for analytics and reporting.","properties":{"page":{"type":"integer","description":"Page number for pagination, using 0-based indexing where 0 is the first page. Defaults to 0 to return the first page of results.","format":"int32","uniqueKey":"page","typeLabel":"integer\u003cint32>"},"size":{"maximum":100,"minimum":1,"type":"integer","description":"Number of call results to return per page. Defaults to 20, allowing you to balance between fewer requests and manageable response sizes.","format":"int32","uniqueKey":"size","typeLabel":"integer\u003cint32>"},"agentIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agentIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentIds","typeLabel":"string[] | null"},"callStatuses":{"oneOf":[{"type":"array","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure.","uniqueKey":"callStatuses.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure."},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.1","typeLabel":"null"}],"uniqueKey":"callStatuses","typeLabel":"enum\u003cstring>[] | null"},"fromDate":{"oneOf":[{"type":"string","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"fromDate","typeLabel":"string\u003cdate-time> | null"},"toDate":{"oneOf":[{"type":"string","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toDate","typeLabel":"string\u003cdate-time> | null"},"searchText":{"oneOf":[{"type":"string","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.1","typeLabel":"null"}],"uniqueKey":"searchText","typeLabel":"string | null"},"callIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"callIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"callIds","typeLabel":"string[] | null"},"endpoint":{"oneOf":[{"type":"string","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"endpoint","typeLabel":"string | null"},"additionalDataFilters":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.0.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.1.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.1","typeLabel":"null"}],"uniqueKey":"additionalDataFilters","typeLabel":"object | null"},"sortField":{"oneOf":[{"type":"string","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.0","typeLabel":"string"},{"type":"null","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.1","typeLabel":"null"}],"uniqueKey":"sortField","typeLabel":"string | null"},"sortDirection":{"type":"string","description":"Direction to sort results. Use Descending (default) to show newest or highest values first, or Ascending to show oldest or lowest values first.","enum":["Ascending","Descending"],"uniqueKey":"sortDirection","typeLabel":"enum\u003cstring>"},"includeAggregations":{"type":"boolean","description":"Whether to include aggregated statistics in the response. When true, the response includes counts by status, agent, endpoint, and time periods. Useful for dashboards and analytics without requiring separate aggregation queries.","uniqueKey":"includeAggregations","typeLabel":"boolean"},"aggregationFields":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"aggregationFields.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregationFields","typeLabel":"string[] | null"},"timeZone":{"oneOf":[{"type":"string","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.1","typeLabel":"null"}],"uniqueKey":"timeZone","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"page":123,"size":50,"agentIds":["\u003cstring>"],"callStatuses":[],"fromDate":"2023-11-07T05:31:56Z","toDate":"2023-11-07T05:31:56Z","searchText":"\u003cstring>","callIds":["\u003cstring>"],"endpoint":"\u003cstring>","additionalDataFilters":{},"sortField":"\u003cstring>","includeAggregations":true,"aggregationFields":["\u003cstring>"],"timeZone":"\u003cstring>"}}},"exampleType":"generated"},"application/*+json":{"schema":{"type":"object","description":"Search parameters for querying completed call results with flexible filtering, pagination, and aggregation options. Enables searching call history by various criteria including agent, status, date range, and custom data fields for analytics and reporting.","properties":{"page":{"type":"integer","description":"Page number for pagination, using 0-based indexing where 0 is the first page. Defaults to 0 to return the first page of results.","format":"int32","uniqueKey":"page","typeLabel":"integer\u003cint32>"},"size":{"maximum":100,"minimum":1,"type":"integer","description":"Number of call results to return per page. Defaults to 20, allowing you to balance between fewer requests and manageable response sizes.","format":"int32","uniqueKey":"size","typeLabel":"integer\u003cint32>"},"agentIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"agentIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to calls handled by specific agents. When specified, only returns calls from the listed agents. Useful for analyzing individual agent performance or filtering to specific use cases.","uniqueKey":"agentIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentIds","typeLabel":"string[] | null"},"callStatuses":{"oneOf":[{"type":"array","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure.","uniqueKey":"callStatuses.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","items":{"enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"type":"string","description":"Current status of a call in its lifecycle. Tracks the call's progress from creation through completion or failure."},"description":"Filter results by call completion status. When specified, only returns calls with matching statuses (Completed, Failed, Canceled, etc.). Useful for analyzing success rates or investigating failed calls.","uniqueKey":"callStatuses.oneOf.1","typeLabel":"null"}],"uniqueKey":"callStatuses","typeLabel":"enum\u003cstring>[] | null"},"fromDate":{"oneOf":[{"type":"string","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Start of date range for filtering call results by completion time. Only returns calls completed on or after this timestamp. Combine with ToDate for specific time period analysis.","format":"date-time","uniqueKey":"fromDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"fromDate","typeLabel":"string\u003cdate-time> | null"},"toDate":{"oneOf":[{"type":"string","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"End of date range for filtering call results by completion time. Only returns calls completed on or before this timestamp. Combine with FromDate for specific time period analysis.","format":"date-time","uniqueKey":"toDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toDate","typeLabel":"string\u003cdate-time> | null"},"searchText":{"oneOf":[{"type":"string","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text search query that searches across multiple call fields including transcriptions, additional data, endpoints, and other text content. Uses full-text search capabilities for natural language queries.","uniqueKey":"searchText.oneOf.1","typeLabel":"null"}],"uniqueKey":"searchText","typeLabel":"string | null"},"callIds":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"callIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Filter results to specific call IDs. When specified, only returns calls with matching identifiers. Useful for retrieving exact calls or investigating specific customer interactions.","uniqueKey":"callIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"callIds","typeLabel":"string[] | null"},"endpoint":{"oneOf":[{"type":"string","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter results by the called endpoint (phone number or SIP address). Only returns calls to the specified destination. Useful for analyzing calls to specific numbers or SIP endpoints.","uniqueKey":"endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"endpoint","typeLabel":"string | null"},"additionalDataFilters":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.0.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalDataFilters.oneOf.1.additionalProperties","typeLabel":"any"},"description":"Filter results by values in the call's additional data fields. Allows querying custom business data passed to calls, enabling searches like finding all calls with specific customer IDs, order numbers, or campaign tags.","uniqueKey":"additionalDataFilters.oneOf.1","typeLabel":"null"}],"uniqueKey":"additionalDataFilters","typeLabel":"object | null"},"sortField":{"oneOf":[{"type":"string","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.0","typeLabel":"string"},{"type":"null","description":"Field name to sort results by. Common values include \"completedTime\" (when the call ended), \"createdTime\" (when the call was queued), \"durationSeconds\" (call length). Defaults to \"completedTime\" to show most recent calls first when using descending order.","uniqueKey":"sortField.oneOf.1","typeLabel":"null"}],"uniqueKey":"sortField","typeLabel":"string | null"},"sortDirection":{"type":"string","description":"Direction to sort results. Use Descending (default) to show newest or highest values first, or Ascending to show oldest or lowest values first.","enum":["Ascending","Descending"],"uniqueKey":"sortDirection","typeLabel":"enum\u003cstring>"},"includeAggregations":{"type":"boolean","description":"Whether to include aggregated statistics in the response. When true, the response includes counts by status, agent, endpoint, and time periods. Useful for dashboards and analytics without requiring separate aggregation queries.","uniqueKey":"includeAggregations","typeLabel":"boolean"},"aggregationFields":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"aggregationFields.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Custom fields to aggregate on in addition to standard aggregations. Allows creating custom breakdowns of call data by specific additional data fields or other call properties.","uniqueKey":"aggregationFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregationFields","typeLabel":"string[] | null"},"timeZone":{"oneOf":[{"type":"string","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"IANA time zone (for example \"America/New_York\") whose days the per-day call histogram counts. Defaults to UTC; an unknown zone also falls back to UTC.","uniqueKey":"timeZone.oneOf.1","typeLabel":"null"}],"uniqueKey":"timeZone","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"page":123,"size":50,"agentIds":["\u003cstring>"],"callStatuses":[],"fromDate":"2023-11-07T05:31:56Z","toDate":"2023-11-07T05:31:56Z","searchText":"\u003cstring>","callIds":["\u003cstring>"],"endpoint":"\u003cstring>","additionalDataFilters":{},"sortField":"\u003cstring>","includeAggregations":true,"aggregationFields":["\u003cstring>"],"timeZone":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"12f82b1a-ca9c-4053-88d4-4474348a81aa":{"description":"Returns search results successfully","content":{"application/json":{"schema":{"required":["executionTimeMs","page","results","size","totalCount","totalPages"],"type":"object","properties":{"results":{"type":"array","items":{"required":["agentId","callAdditionalData","callId","callStatus","callType","completedTime","createdTime","durationSeconds","orgId"],"type":"object","properties":{"callId":{"minLength":1,"type":"string","description":"Unique identifier of the call.","isRequired":true,"uniqueKey":"results.items.[INDEX].callId","typeLabel":"string"},"agentId":{"minLength":1,"type":"string","description":"Agent that handled this call.","isRequired":true,"uniqueKey":"results.items.[INDEX].agentId","typeLabel":"string"},"orgId":{"minLength":1,"type":"string","description":"Organization that owns this call.","isRequired":true,"uniqueKey":"results.items.[INDEX].orgId","typeLabel":"string"},"callAdditionalData":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"results.items.[INDEX].callAdditionalData.additionalProperties","typeLabel":"any"},"description":"Custom business data that was passed to the call. Contains application-specific information like customer IDs, order numbers, campaign tags, or any other context provided when the call was enqueued.","isRequired":true,"uniqueKey":"results.items.[INDEX].callAdditionalData","typeLabel":"object"},"callStatus":{"type":"string","description":"Final status of the call indicating how it ended. Common values include Completed (successfully finished), Failed (error occurred), or Canceled (deadline exceeded or manually canceled).","enum":["Unknown","Created","Pending","Queued","Completed","Failed","Canceled","Running","Registered"],"isRequired":true,"uniqueKey":"results.items.[INDEX].callStatus","typeLabel":"enum\u003cstring>"},"callType":{"type":"string","description":"Type of connection used for the call indicating how the conversation was conducted (phone, web call, chat, etc.).","enum":["Unknown","InboundAudio","OutboundAudio","WebChat","WebCall","WebPhone"],"isRequired":true,"uniqueKey":"results.items.[INDEX].callType","typeLabel":"enum\u003cstring>"},"completedTime":{"type":"string","description":"Timestamp when the call completed (ended or failed).","format":"date-time","isRequired":true,"uniqueKey":"results.items.[INDEX].completedTime","typeLabel":"string\u003cdate-time>"},"createdTime":{"type":"string","description":"Timestamp when the call was originally created and enqueued.","format":"date-time","isRequired":true,"uniqueKey":"results.items.[INDEX].createdTime","typeLabel":"string\u003cdate-time>"},"durationSeconds":{"type":"number","description":"Duration of the call in seconds from start to completion. For failed calls, this may represent partial duration before failure.","format":"double","isRequired":true,"uniqueKey":"results.items.[INDEX].durationSeconds","typeLabel":"number\u003cdouble>"},"endpoint":{"oneOf":[{"type":"string","description":"Phone number or SIP endpoint that was called.","uniqueKey":"results.items.[INDEX].endpoint.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number or SIP endpoint that was called.","uniqueKey":"results.items.[INDEX].endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].endpoint","typeLabel":"string | null"},"sip":{"oneOf":[{"description":"The SIP dialog of the phone call (SipInfo): From and To addresses, diversion headers, the custom X- headers (xHeaders, by header name), the User-to-User header (uui) and the Call-ID (callId), the value your PBX or carrier logs for the call. On an inbound call From is the caller; on an outbound call From is the agent's caller ID and To the number dialed. Null for web calls and chats.","uniqueKey":"results.items.[INDEX].sip.oneOf.0","typeLabel":"any"},{"description":"The SIP dialog of the phone call (SipInfo): From and To addresses, diversion headers, the custom X- headers (xHeaders, by header name), the User-to-User header (uui) and the Call-ID (callId), the value your PBX or carrier logs for the call. On an inbound call From is the caller; on an outbound call From is the agent's caller ID and To the number dialed. Null for web calls and chats.","type":"null","uniqueKey":"results.items.[INDEX].sip.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].sip","typeLabel":"any | null"},"result":{"oneOf":[{"description":"Structured result data from the call's conversation logic. Contains outcomes, decisions, collected information, or any data the agent's conversation flow produced during the call.","uniqueKey":"results.items.[INDEX].result.oneOf.0","typeLabel":"any"},{"description":"Structured result data from the call's conversation logic. Contains outcomes, decisions, collected information, or any data the agent's conversation flow produced during the call.","type":"null","uniqueKey":"results.items.[INDEX].result.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].result","typeLabel":"any | null"},"transcription":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"results.items.[INDEX].transcription.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Conversation transcription as a list of turn-by-turn utterances. Each entry represents what was said during the call, useful for quality assurance, sentiment analysis, and conversation review.","uniqueKey":"results.items.[INDEX].transcription.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"Conversation transcription as a list of turn-by-turn utterances. Each entry represents what was said during the call, useful for quality assurance, sentiment analysis, and conversation review.","uniqueKey":"results.items.[INDEX].transcription.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].transcription","typeLabel":"any[] | null"},"toolCalls":{"oneOf":[{"type":"array","items":{"required":["id","name","startTime"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Identifier of this tool invocation, unique within the conversation.","isRequired":true,"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].id","typeLabel":"string"},"name":{"minLength":1,"type":"string","description":"Name of the tool the agent called.","isRequired":true,"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].name","typeLabel":"string"},"startTime":{"type":"string","description":"Timestamp when the agent called the tool.","format":"date-time","isRequired":true,"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].startTime","typeLabel":"string\u003cdate-time>"},"arguments":{"oneOf":[{"description":"Arguments the agent passed to the tool. A JSON value when the arguments were valid JSON, otherwise the raw string. Null when the tool was called without arguments.","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].arguments.oneOf.0","typeLabel":"any"},{"description":"Arguments the agent passed to the tool. A JSON value when the arguments were valid JSON, otherwise the raw string. Null when the tool was called without arguments.","type":"null","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].arguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].arguments","typeLabel":"any | null"},"result":{"oneOf":[{"description":"Value the tool returned to the agent. A JSON value when the result was valid JSON, otherwise the raw string. Null when the tool did not return a result.","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].result.oneOf.0","typeLabel":"any"},{"description":"Value the tool returned to the agent. A JSON value when the result was valid JSON, otherwise the raw string. Null when the tool did not return a result.","type":"null","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].result.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].result","typeLabel":"any | null"},"endTime":{"oneOf":[{"type":"string","description":"Timestamp when the tool returned. Null when the tool had not returned by the end of the conversation.","format":"date-time","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].endTime.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Timestamp when the tool returned. Null when the tool had not returned by the end of the conversation.","format":"date-time","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].endTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX].endTime","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"A tool invocation made by the agent during the conversation. Covers custom webhook tools, MCP tools, and built-in tools.","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tools the agent called during the conversation, ordered by start time. Each entry has the tool name, the arguments passed, the result returned, and start and end times. Null or empty for calls without tool calls and for calls recorded before tool calls were stored.","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["id","name","startTime"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Identifier of this tool invocation, unique within the conversation."},"name":{"minLength":1,"type":"string","description":"Name of the tool the agent called."},"arguments":{"oneOf":[{"description":"Arguments the agent passed to the tool. A JSON value when the arguments were valid JSON, otherwise the raw string. Null when the tool was called without arguments."},{"description":"Arguments the agent passed to the tool. A JSON value when the arguments were valid JSON, otherwise the raw string. Null when the tool was called without arguments.","type":"null"}]},"result":{"oneOf":[{"description":"Value the tool returned to the agent. A JSON value when the result was valid JSON, otherwise the raw string. Null when the tool did not return a result."},{"description":"Value the tool returned to the agent. A JSON value when the result was valid JSON, otherwise the raw string. Null when the tool did not return a result.","type":"null"}]},"startTime":{"type":"string","description":"Timestamp when the agent called the tool.","format":"date-time"},"endTime":{"oneOf":[{"type":"string","description":"Timestamp when the tool returned. Null when the tool had not returned by the end of the conversation.","format":"date-time"},{"type":"null","description":"Timestamp when the tool returned. Null when the tool had not returned by the end of the conversation.","format":"date-time"}]}},"additionalProperties":false,"description":"A tool invocation made by the agent during the conversation. Covers custom webhook tools, MCP tools, and built-in tools."},"description":"Tools the agent called during the conversation, ordered by start time. Each entry has the tool name, the arguments passed, the result returned, and start and end times. Null or empty for calls without tool calls and for calls recorded before tool calls were stored.","uniqueKey":"results.items.[INDEX].toolCalls.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].toolCalls","typeLabel":"object[] | null"},"serverJobId":{"oneOf":[{"type":"string","description":"Internal server job identifier used for tracking call execution in the runtime infrastructure. Useful for debugging and correlating with server logs.","uniqueKey":"results.items.[INDEX].serverJobId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Internal server job identifier used for tracking call execution in the runtime infrastructure. Useful for debugging and correlating with server logs.","uniqueKey":"results.items.[INDEX].serverJobId.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].serverJobId","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","description":"Error message if the call failed. Describes what went wrong during call execution, useful for troubleshooting and identifying systematic issues.","uniqueKey":"results.items.[INDEX].errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error message if the call failed. Describes what went wrong during call execution, useful for troubleshooting and identifying systematic issues.","uniqueKey":"results.items.[INDEX].errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].errorMessage","typeLabel":"string | null"},"failure":{"oneOf":[{"type":"object","description":"Structured, customer-safe attribution for the terminal failure. Present for newly recorded structured failures and absent for successful or historical calls without attribution data.","required":["message","reason","stage"],"properties":{"stage":{"maxLength":64,"minLength":1,"type":"string","description":"Pipeline stage that failed.","isRequired":true,"uniqueKey":"results.items.[INDEX].failure.oneOf.0.stage","typeLabel":"string"},"reason":{"maxLength":64,"minLength":1,"type":"string","description":"Provider-independent failure reason.","isRequired":true,"uniqueKey":"results.items.[INDEX].failure.oneOf.0.reason","typeLabel":"string"},"message":{"maxLength":512,"minLength":1,"type":"string","description":"Concise customer-safe explanation without raw provider data.","isRequired":true,"uniqueKey":"results.items.[INDEX].failure.oneOf.0.message","typeLabel":"string"},"upstreamOwner":{"oneOf":[{"maxLength":32,"type":"string","description":"Whether the failed upstream is controlled by the customer or Dasha.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamOwner.oneOf.0","typeLabel":"string"},{"maxLength":32,"type":"null","description":"Whether the failed upstream is controlled by the customer or Dasha.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamOwner.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamOwner","typeLabel":"string | null"},"protocol":{"oneOf":[{"maxLength":32,"type":"string","description":"Transport protocol for the status code, when known.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.protocol.oneOf.0","typeLabel":"string"},{"maxLength":32,"type":"null","description":"Transport protocol for the status code, when known.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.protocol.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure.oneOf.0.protocol","typeLabel":"string | null"},"statusCode":{"oneOf":[{"type":"integer","description":"HTTP, SIP, or gRPC status code, when known.","format":"int32","uniqueKey":"results.items.[INDEX].failure.oneOf.0.statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"HTTP, SIP, or gRPC status code, when known.","format":"int32","uniqueKey":"results.items.[INDEX].failure.oneOf.0.statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure.oneOf.0.statusCode","typeLabel":"integer\u003cint32> | null"},"retryable":{"oneOf":[{"type":"boolean","description":"Whether retrying the operation may succeed, when known.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether retrying the operation may succeed, when known.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure.oneOf.0.retryable","typeLabel":"boolean | null"},"upstreamMessage":{"oneOf":[{"maxLength":1024,"type":"string","description":"Sanitized provider error text, permitted only for customer-managed upstreams.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamMessage.oneOf.0","typeLabel":"string"},{"maxLength":1024,"type":"null","description":"Sanitized provider error text, permitted only for customer-managed upstreams.","uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure.oneOf.0.upstreamMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"results.items.[INDEX].failure.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"results.items.[INDEX].failure.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].failure","typeLabel":"object | null"},"inspectorUrl":{"oneOf":[{"type":"string","description":"URL to the call inspector interface for detailed conversation analysis, debugging, and quality review. Provides visualization of conversation flow, agent decisions, and execution timeline.","uniqueKey":"results.items.[INDEX].inspectorUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to the call inspector interface for detailed conversation analysis, debugging, and quality review. Provides visualization of conversation flow, agent decisions, and execution timeline.","uniqueKey":"results.items.[INDEX].inspectorUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].inspectorUrl","typeLabel":"string | null"},"recordingUrl":{"oneOf":[{"type":"string","description":"URL to download or stream the call audio recording. Available when recording was enabled for the call.","uniqueKey":"results.items.[INDEX].recordingUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to download or stream the call audio recording. Available when recording was enabled for the call.","uniqueKey":"results.items.[INDEX].recordingUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].recordingUrl","typeLabel":"string | null"},"score":{"oneOf":[{"type":"number","description":"Search relevance score when using text search. Higher scores indicate better matches to the search query. Only present when SearchText was used in the query, helping prioritize most relevant results.","format":"double","uniqueKey":"results.items.[INDEX].score.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Search relevance score when using text search. Higher scores indicate better matches to the search query. Only present when SearchText was used in the query, helping prioritize most relevant results.","format":"double","uniqueKey":"results.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].score","typeLabel":"number\u003cdouble> | null"},"highlights":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].highlights.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].highlights.oneOf.0.additionalProperties","typeLabel":"string[]"},"description":"Highlighted snippets from fields matching the search query. Keys are field names, values are arrays of text excerpts with search terms highlighted. Helps users quickly see why a result matched their search without reading full transcripts.","uniqueKey":"results.items.[INDEX].highlights.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].highlights.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].highlights.oneOf.1.additionalProperties","typeLabel":"string[]"},"description":"Highlighted snippets from fields matching the search query. Keys are field names, values are arrays of text excerpts with search terms highlighted. Helps users quickly see why a result matched their search without reading full transcripts.","uniqueKey":"results.items.[INDEX].highlights.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].highlights","typeLabel":"object | null"},"startWebhookInfo":{"oneOf":[{"type":"object","description":"Information about the start webhook execution for this call. Contains HTTP status code, response body, execution timing, and success status. Only present when a start webhook was configured for the agent. Useful for debugging calls that were cancelled or rejected due to incorrect start webhook replies.","required":["triggered"],"properties":{"triggered":{"type":"boolean","description":"Whether a start webhook was configured and triggered for this call.","isRequired":true,"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.triggered","typeLabel":"boolean"},"statusCode":{"oneOf":[{"type":"integer","description":"HTTP status code returned by the start webhook endpoint.","format":"int32","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"HTTP status code returned by the start webhook endpoint.","format":"int32","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusCode","typeLabel":"integer\u003cint32> | null"},"statusText":{"oneOf":[{"type":"string","description":"HTTP status text (reason phrase) returned by the start webhook endpoint.","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusText.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTTP status text (reason phrase) returned by the start webhook endpoint.","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusText.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.statusText","typeLabel":"string | null"},"responseBody":{"oneOf":[{"type":"string","description":"Response body returned by the start webhook endpoint (serialized as JSON string).","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.responseBody.oneOf.0","typeLabel":"string"},{"type":"null","description":"Response body returned by the start webhook endpoint (serialized as JSON string).","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.responseBody.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.responseBody","typeLabel":"string | null"},"executionTimeMs":{"oneOf":[{"type":"number","description":"Total execution time of the start webhook call in milliseconds, including retries.","format":"double","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.executionTimeMs.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Total execution time of the start webhook call in milliseconds, including retries.","format":"double","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.executionTimeMs.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.executionTimeMs","typeLabel":"number\u003cdouble> | null"},"isSuccess":{"oneOf":[{"type":"boolean","description":"Whether the start webhook call was successful (returned a success HTTP status code).","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.isSuccess.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the start webhook call was successful (returned a success HTTP status code).","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.isSuccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0.isSuccess","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"results.items.[INDEX].startWebhookInfo.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].startWebhookInfo","typeLabel":"object | null"}},"additionalProperties":false,"description":"Completed call record with full details including conversation data, recordings, and search relevance information. Contains all information about a finished call for analysis, quality assurance, and customer service review.","uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"description":"Call results in the current page. Each result includes call details, status, duration, transcription, recording links, and custom data. Results are ordered according to the search request's sort parameters.","isRequired":true,"uniqueKey":"results","typeLabel":"object[]"},"totalCount":{"type":"integer","description":"Total number of calls matching the search criteria across all pages. Use this to calculate pagination metrics (total pages, progress indicators) and understand overall result volume.","format":"int64","isRequired":true,"uniqueKey":"totalCount","typeLabel":"integer\u003cint64>"},"page":{"type":"integer","description":"Current page number using 0-based indexing. Matches the Page parameter from the search request.","format":"int32","isRequired":true,"uniqueKey":"page","typeLabel":"integer\u003cint32>"},"size":{"type":"integer","description":"Number of results per page. Matches the Size parameter from the search request.","format":"int32","isRequired":true,"uniqueKey":"size","typeLabel":"integer\u003cint32>"},"totalPages":{"type":"integer","description":"Total number of pages available based on TotalCount and Size. Useful for building pagination controls and determining if more pages exist.","format":"int32","isRequired":true,"uniqueKey":"totalPages","typeLabel":"integer\u003cint32>"},"executionTimeMs":{"type":"integer","description":"Search execution time in milliseconds. Indicates query performance and can help identify slow searches that may benefit from more specific filters or indexing optimizations.","format":"int64","isRequired":true,"uniqueKey":"executionTimeMs","typeLabel":"integer\u003cint64>"},"aggregations":{"oneOf":[{"type":"object","description":"Aggregated statistics about the search results including counts by status, agent, endpoint, and time periods. Only present when IncludeAggregations was true in the search request. Useful for dashboards and analytics without additional queries.","properties":{"statusCounts":{"oneOf":[{"type":"object","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.statusCounts.oneOf.0.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by final status. Keys are status names (Completed, Failed, Canceled, etc.), values are call counts. Useful for calculating success rates, identifying failure patterns, and monitoring call completion health.","uniqueKey":"aggregations.oneOf.0.statusCounts.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.statusCounts.oneOf.1.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by final status. Keys are status names (Completed, Failed, Canceled, etc.), values are call counts. Useful for calculating success rates, identifying failure patterns, and monitoring call completion health.","uniqueKey":"aggregations.oneOf.0.statusCounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations.oneOf.0.statusCounts","typeLabel":"object | null"},"agentCounts":{"oneOf":[{"type":"object","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.agentCounts.oneOf.0.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by agent. Keys are agent IDs, values are call counts. Useful for comparing agent activity levels, distributing workload, and identifying high-volume agents.","uniqueKey":"aggregations.oneOf.0.agentCounts.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.agentCounts.oneOf.1.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by agent. Keys are agent IDs, values are call counts. Useful for comparing agent activity levels, distributing workload, and identifying high-volume agents.","uniqueKey":"aggregations.oneOf.0.agentCounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations.oneOf.0.agentCounts","typeLabel":"object | null"},"endpointCounts":{"oneOf":[{"type":"object","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.endpointCounts.oneOf.0.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by destination endpoint (phone number or SIP address). Keys are endpoints, values are call counts. Useful for identifying frequently called numbers, analyzing destination patterns, and detecting issues with specific endpoints.","uniqueKey":"aggregations.oneOf.0.endpointCounts.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"integer","format":"int64","uniqueKey":"aggregations.oneOf.0.endpointCounts.oneOf.1.additionalProperties","typeLabel":"integer\u003cint64>"},"description":"Count of calls grouped by destination endpoint (phone number or SIP address). Keys are endpoints, values are call counts. Useful for identifying frequently called numbers, analyzing destination patterns, and detecting issues with specific endpoints.","uniqueKey":"aggregations.oneOf.0.endpointCounts.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations.oneOf.0.endpointCounts","typeLabel":"object | null"},"dateHistogram":{"oneOf":[{"type":"array","items":{"required":["count","date"],"type":"object","properties":{"date":{"type":"string","description":"Start timestamp of this time bucket. Represents the beginning of the time interval (hour, day, week, etc.) for which calls are counted.","format":"date-time","isRequired":true,"uniqueKey":"aggregations.oneOf.0.dateHistogram.oneOf.0.items.[INDEX].date","typeLabel":"string\u003cdate-time>"},"count":{"type":"integer","description":"Number of calls that completed during this time bucket. Use this to plot call volume over time, identify busy periods, and track trends.","format":"int64","isRequired":true,"uniqueKey":"aggregations.oneOf.0.dateHistogram.oneOf.0.items.[INDEX].count","typeLabel":"integer\u003cint64>"}},"additionalProperties":false,"description":"Time period bucket for date histogram aggregations showing call volume at a specific time interval. Used for visualizing call trends, identifying peak periods, and analyzing activity patterns over time.","uniqueKey":"aggregations.oneOf.0.dateHistogram.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Count of calls grouped by time periods showing call volume over time. Each bucket represents a time interval with a timestamp and call count. Useful for identifying peak periods, trending call volumes, and visualizing activity patterns.","uniqueKey":"aggregations.oneOf.0.dateHistogram.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["count","date"],"type":"object","properties":{"date":{"type":"string","description":"Start timestamp of this time bucket. Represents the beginning of the time interval (hour, day, week, etc.) for which calls are counted.","format":"date-time"},"count":{"type":"integer","description":"Number of calls that completed during this time bucket. Use this to plot call volume over time, identify busy periods, and track trends.","format":"int64"}},"additionalProperties":false,"description":"Time period bucket for date histogram aggregations showing call volume at a specific time interval. Used for visualizing call trends, identifying peak periods, and analyzing activity patterns over time."},"description":"Count of calls grouped by time periods showing call volume over time. Each bucket represents a time interval with a timestamp and call count. Useful for identifying peak periods, trending call volumes, and visualizing activity patterns.","uniqueKey":"aggregations.oneOf.0.dateHistogram.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations.oneOf.0.dateHistogram","typeLabel":"object[] | null"},"customAggregations":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"aggregations.oneOf.0.customAggregations.oneOf.0.additionalProperties","typeLabel":"any"},"description":"Custom aggregations on user-specified fields from the AggregationFields request parameter. Allows grouping and counting calls by custom business data fields or other call properties not covered by standard aggregations.","uniqueKey":"aggregations.oneOf.0.customAggregations.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"aggregations.oneOf.0.customAggregations.oneOf.1.additionalProperties","typeLabel":"any"},"description":"Custom aggregations on user-specified fields from the AggregationFields request parameter. Allows grouping and counting calls by custom business data fields or other call properties not covered by standard aggregations.","uniqueKey":"aggregations.oneOf.0.customAggregations.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations.oneOf.0.customAggregations","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"aggregations.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"aggregations.oneOf.1","typeLabel":"null"}],"uniqueKey":"aggregations","typeLabel":"object | null"}},"additionalProperties":false,"description":"Search results for completed calls including pagination metadata, optional aggregations, and performance metrics. Contains all matching call records plus statistics for navigating large result sets and analyzing call patterns.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"results":[{"callId":"\u003cstring>","agentId":"\u003cstring>","orgId":"\u003cstring>","callAdditionalData":{},"callStatus":"Unknown","callType":"Unknown","completedTime":"2023-11-07T05:31:56Z","createdTime":"2023-11-07T05:31:56Z","durationSeconds":123,"endpoint":"\u003cstring>","sip":"\u003cunknown>","result":"\u003cunknown>","transcription":["\u003cunknown>"],"toolCalls":[{"id":"\u003cstring>","name":"\u003cstring>","startTime":"2023-11-07T05:31:56Z","arguments":"\u003cunknown>","result":"\u003cunknown>","endTime":"2023-11-07T05:31:56Z"}],"serverJobId":"\u003cstring>","errorMessage":"\u003cstring>","failure":{"stage":"\u003cstring>","reason":"\u003cstring>","message":"\u003cstring>","upstreamOwner":"\u003cstring>","protocol":"\u003cstring>","statusCode":123,"retryable":true,"upstreamMessage":"\u003cstring>"},"inspectorUrl":"\u003cstring>","recordingUrl":"\u003cstring>","score":123,"highlights":{},"startWebhookInfo":{"triggered":true,"statusCode":123,"statusText":"\u003cstring>","responseBody":"\u003cstring>","executionTimeMs":123,"isSuccess":true}}],"totalCount":123,"page":123,"size":123,"totalPages":123,"executionTimeMs":123,"aggregations":{"statusCounts":{},"agentCounts":{},"endpointCounts":{},"dateHistogram":[{"date":"2023-11-07T05:31:56Z","count":123}],"customAggregations":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"fa3c2f62-77cd-4e96-bfa5-abb1e3552423":{"description":"Invalid search parameters or validation errors","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3cb63ae0-4835-42df-b0c2-be015ffb583f":{"description":"Authentication failed or API key is missing","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6497dd0b-db88-4519-b517-232678509027":{"description":"Access denied to organization resources","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0a6704d4-935a-4ed2-af0d-c66751c95f0f":{"description":"Server error occurred during search","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"438e7f68-a155-42fd-8675-9d1199ae2693":{"ApiKey":{"type":"http","description":"API Key Authentication (Bearer {key})","scheme":"Bearer","scopes":[],"schemeName":"ApiKey"}},"bcfc7084-0b9a-4851-80ea-de419eddc013":{"OAuth":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.dasha.ai/connect/authorize","scopes":{"platform_api":"Platform API"}}},"scopes":[],"schemeName":"OAuth"}}},"servers":{"5fb0835c-a4f0-4503-aebe-00595f89e21f":{"url":"https://blackbox.dasha.ai","description":"Dasha BlackBox Agent API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"API Key Authentication (Bearer {key})","scheme":"Bearer","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API Key Authentication (Bearer {key})","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKey","name":"Authorization"}],"title":"ApiKey"},{"schemes":[{"scheme":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.dasha.ai/connect/authorize","scopes":{"platform_api":"Platform API"}}},"scopes":[],"schemeName":"OAuth"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth","name":"Authorization"}],"title":"OAuth"}]},"originalFileLocation":"https://blackbox.dasha.ai/swagger/v1/swagger.json"},"subdomain":"dasha-628f9d33","siteName":"Dasha BlackBox Documentation","title":"Search call results - Dasha BlackBox Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T09:27:34.376Z","originalFileLocation":"docs/api-reference/callresults/search-call-results.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Searches historical call results with advanced filtering, full-text search, nested JSON queries, and aggregations. Supports complex queries including date ranges, status filters, agent filtering, and custom field searches within call additional data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dasha BlackBox Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_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/dasha-628f9d33/fTvoboiNZnitZ8gw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search call results - Dasha BlackBox Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Searches historical call results with advanced filtering, full-text search, nested JSON queries, and aggregations. Supports complex queries including date ranges, status filters, agent filtering, and custom field searches within call additional data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dasha BlackBox Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dasha-628f9d33.mintlify.site/_mintlify/api/og/v2?division=CallResults\u0026amp;title=Search+call+results\u0026amp;description=Searches+historical+call+results+with+advanced+filtering%2C+full-text+search%2C+nested+JSON+queries%2C%0Aand+aggregations.+Supports+complex+queries+including+date+range\u0026amp;theme=8f648b54f3a39a57bca8af12\u0026amp;signature=4750c9d5764d1f340f4ef4347c2ce56cf4be95bcb2e24b09bc17d8974fed486c\">\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=\"Search call results - Dasha BlackBox Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Searches historical call results with advanced filtering, full-text search, nested JSON queries, and aggregations. Supports complex queries including date ranges, status filters, agent filtering, and custom field searches within call additional data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dasha-628f9d33.mintlify.site/_mintlify/api/og/v2?division=CallResults\u0026amp;title=Search+call+results\u0026amp;description=Searches+historical+call+results+with+advanced+filtering%2C+full-text+search%2C+nested+JSON+queries%2C%0Aand+aggregations.+Supports+complex+queries+including+date+range\u0026amp;theme=8f648b54f3a39a57bca8af12\u0026amp;signature=4750c9d5764d1f340f4ef4347c2ce56cf4be95bcb2e24b09bc17d8974fed486c\">\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/dasha-628f9d33/fTvoboiNZnitZ8gw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dasha BlackBox Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4F46E5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/callresults/search-call-results.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://blackbox.dasha.ai/#organization\",\"name\":\"Dasha BlackBox Documentation\",\"url\":\"https://blackbox.dasha.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dasha-628f9d33/OIOU150RbPNcpw0P/docs/logo-wordmark-light.svg?fit=max\u0026auto=format\u0026n=OIOU150RbPNcpw0P\u0026q=85\u0026s=d09a8bf9e3455eda1fccc003884b3cdf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://blackbox.dasha.ai#website\",\"name\":\"Dasha BlackBox Documentation\",\"url\":\"https://blackbox.dasha.ai\",\"publisher\":{\"@id\":\"https://blackbox.dasha.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results#webpage\",\"url\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results\",\"name\":\"Search call results\",\"description\":\"Searches historical call results with advanced filtering, full-text search, nested JSON queries, and aggregations. Supports complex queries including date ranges, status filters, agent filtering, and custom field searches within call additional data.\",\"dateModified\":\"2026-11-04T09:27:34.376Z\",\"isPartOf\":{\"@id\":\"https://blackbox.dasha.ai#website\"},\"breadcrumb\":{\"@id\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dasha BlackBox Documentation\",\"item\":\"https://blackbox.dasha.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search call results\",\"item\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results#apireference\",\"headline\":\"Search call results\",\"name\":\"Search call results\",\"description\":\"Searches historical call results with advanced filtering, full-text search, nested JSON queries, and aggregations. Supports complex queries including date ranges, status filters, agent filtering, and custom field searches within call additional data.\",\"url\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results\",\"mainEntityOfPage\":{\"@id\":\"https://blackbox.dasha.ai/docs/api-reference/callresults/search-call-results#webpage\"},\"dateModified\":\"2026-11-04T09:27:34.376Z\",\"publisher\":{\"@id\":\"https://blackbox.dasha.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://blackbox.dasha.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dasha BlackBox Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dasha BlackBox Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/callresults/search-call-results.md","siteName":"Dasha BlackBox Documentation","nav":{"global":{"anchors":[{"anchor":"Status","icon":"chart-line","href":"https://status.dasha.ai"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/introduction/what-is-blackbox"}]},{"tab":"API Reference","groups":[{"group":"ActivityLogs","pages":[{"title":"Search activity log","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/activity-logs/search","href":"/docs/api-reference/activitylogs/search-activity-log"}]},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/agents","href":"/docs/api-reference/agents/list-agents"},{"title":"Create agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/agents","href":"/docs/api-reference/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/agents/{agentId}","href":"/docs/api-reference/agents/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/agents/{agentId}","href":"/docs/api-reference/agents/update-agent"},{"title":"Delete agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/agents/{agentId}","href":"/docs/api-reference/agents/delete-agent"},{"title":"Clone agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/agents/{agentId}/clone","href":"/docs/api-reference/agents/clone-agent"},{"title":"Get agents linked to knowledge base","description":"Retrieves a list of all agents in your organization that are connected to knowledge bases.\nThis endpoint helps you understand which agents have knowledge base integrations enabled.\n \n**Query Options:**\n- Without parameters: Returns all agents with any knowledge base links\n- With knowledgeBaseId: Returns only agents linked to the specified knowledge base\n \n**Response Format:**\nEach item includes:\n- Agent ID and name\n- List of knowledge base IDs linked to the agent\n- Link creation timestamps\n \n**Use Cases:**\n- Track which agents use specific knowledge bases\n- Identify agents that need knowledge base configuration\n- Manage knowledge base access across agents","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/agents/knowledge-base/list","href":"/docs/api-reference/agents/get-agents-linked-to-knowledge-base"}]},{"group":"AgentTestCases","pages":[]},{"group":"AgentToolTestResults","pages":[]},{"group":"CallResults","pages":[{"title":"Search call results","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/callresults/search","href":"/docs/api-reference/callresults/search-call-results"}]},{"group":"Calls","pages":[{"title":"Create call","description":"Schedules a new outbound voice call with an AI agent. The system assigns a unique call ID\nand calculates the schedule time based on the provided deadline and timezone.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/calls","href":"/docs/api-reference/calls/create-call"},{"title":"Register inbound call","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/calls/register","href":"/docs/api-reference/calls/register-inbound-call"},{"title":"Create bulk calls","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/calls/bulk","href":"/docs/api-reference/calls/create-bulk-calls"},{"title":"Get call","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/{callId}","href":"/docs/api-reference/calls/get-call"},{"title":"Cancel call","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/calls/{callId}","href":"/docs/api-reference/calls/cancel-call"},{"title":"Get call queue","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/queue/list","href":"/docs/api-reference/calls/get-call-queue"},{"title":"Get call statistics","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/statistics/statuses","href":"/docs/api-reference/calls/get-call-statistics"},{"title":"Get call recording","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/media/{recordId}","href":"/docs/api-reference/calls/get-call-recording"},{"title":"Get SIP traces","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/{callId}/sip-traces","href":"/docs/api-reference/calls/get-sip-traces"}]},{"group":"Chats","pages":[{"title":"List chat sessions matching the supplied filters.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/chats","href":"/docs/api-reference/chats/list-chat-sessions-matching-the-supplied-filters"},{"title":"Open a new chat session.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/chats","href":"/docs/api-reference/chats/open-a-new-chat-session"},{"title":"Submit one user turn to an existing chat session.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/chats/{id}/messages","href":"/docs/api-reference/chats/submit-one-user-turn-to-an-existing-chat-session"},{"title":"Retrieve a chat session — full transcript and lifecycle status.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/chats/{id}","href":"/docs/api-reference/chats/retrieve-a-chat-session-—-full-transcript-and-lifecycle-status"},{"title":"End a chat session under the `user_end` reason.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/chats/{id}/end","href":"/docs/api-reference/chats/end-a-chat-session-under-the-`user_end`-reason"}]},{"group":"Copilot","pages":[]},{"group":"CustomerData","pages":[]},{"group":"Mcp","pages":[{"title":"Verify MCP connection","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/mcp/verify","href":"/docs/api-reference/mcp/verify-mcp-connection"}]},{"group":"Media","pages":[{"title":"List media files","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/media","href":"/docs/api-reference/media/list-media-files"},{"title":"Upload media file","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/media","href":"/docs/api-reference/media/upload-media-file"},{"title":"Get media file","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/media/{id}","href":"/docs/api-reference/media/get-media-file"},{"title":"Delete media file","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/media/{id}","href":"/docs/api-reference/media/delete-media-file"},{"title":"Update media file","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json patch /api/v1/media/{id}","href":"/docs/api-reference/media/update-media-file"},{"title":"Download media file","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/media/{id}/download","href":"/docs/api-reference/media/download-media-file"},{"title":"Get agents using media","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/media/{id}/affected-agents","href":"/docs/api-reference/media/get-agents-using-media"}]},{"group":"Misc","pages":[{"title":"Get server configuration","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc","href":"/docs/api-reference/misc/get-server-configuration"},{"title":"Get current organization","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/me","href":"/docs/api-reference/misc/get-current-organization"},{"title":"Get concurrency limits","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/concurrency","href":"/docs/api-reference/misc/get-concurrency-limits"},{"title":"Get agent template","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/agent-initial-data","href":"/docs/api-reference/misc/get-agent-template"},{"title":"List predefined background sounds","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/background-sounds","href":"/docs/api-reference/misc/list-predefined-background-sounds"},{"title":"List predefined builtin media","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/builtin-media","href":"/docs/api-reference/misc/list-predefined-builtin-media"},{"title":"List predefined built-in tools","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/builtin-tools","href":"/docs/api-reference/misc/list-predefined-built-in-tools"},{"title":"Get platform capabilities","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/misc/capabilities","href":"/docs/api-reference/misc/get-platform-capabilities"},{"title":"Get capabilities of available models","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/misc/capabilities","href":"/docs/api-reference/misc/get-capabilities-of-available-models"}]},{"group":"OpsDashboard","pages":[]},{"group":"PronunciationDictionaries","pages":[{"title":"List pronunciation dictionaries","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/pronunciation-dictionaries","href":"/docs/api-reference/pronunciationdictionaries/list-pronunciation-dictionaries"},{"title":"Create pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/pronunciation-dictionaries","href":"/docs/api-reference/pronunciationdictionaries/create-pronunciation-dictionary"},{"title":"Get pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/pronunciation-dictionaries/{providerId}","href":"/docs/api-reference/pronunciationdictionaries/get-pronunciation-dictionary"},{"title":"Delete pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/pronunciation-dictionaries/{providerId}","href":"/docs/api-reference/pronunciationdictionaries/delete-pronunciation-dictionary"},{"title":"Add pronunciation rules","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/pronunciation-dictionaries/{providerId}/add-rules","href":"/docs/api-reference/pronunciationdictionaries/add-pronunciation-rules"},{"title":"Remove pronunciation rules","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/pronunciation-dictionaries/{providerId}/remove-rules","href":"/docs/api-reference/pronunciationdictionaries/remove-pronunciation-rules"},{"title":"Get agents using pronunciation dictionary","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/pronunciation-dictionaries/{providerId}/affected-agents","href":"/docs/api-reference/pronunciationdictionaries/get-agents-using-pronunciation-dictionary"}]},{"group":"Providers","pages":[{"title":"List providers","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/providers","href":"/docs/api-reference/providers/list-providers"},{"title":"Get provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/providers/{id}","href":"/docs/api-reference/providers/get-provider"},{"title":"Delete provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/providers/{id}","href":"/docs/api-reference/providers/delete-provider"},{"title":"Verify provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/providers/{id}/verify","href":"/docs/api-reference/providers/verify-provider"}]},{"group":"SipAliases","pages":[]},{"group":"SipCredentials","pages":[{"title":"List SIP credentials","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-credentials","href":"/docs/api-reference/sipcredentials/list-sip-credentials"},{"title":"Create SIP credential","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/sip-credentials","href":"/docs/api-reference/sipcredentials/create-sip-credential"},{"title":"Get SIP credential","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-credentials/{id}","href":"/docs/api-reference/sipcredentials/get-sip-credential"},{"title":"Update SIP credential","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/sip-credentials/{id}","href":"/docs/api-reference/sipcredentials/update-sip-credential"},{"title":"Delete SIP credential","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/sip-credentials/{id}","href":"/docs/api-reference/sipcredentials/delete-sip-credential"},{"title":"Get agents using SIP credential","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-credentials/{id}/affected-agents","href":"/docs/api-reference/sipcredentials/get-agents-using-sip-credential"}]},{"group":"SipDomains","pages":[{"title":"List custom SIP domains","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-domains","href":"/docs/api-reference/sipdomains/list-custom-sip-domains"},{"title":"Add custom SIP domain","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/sip-domains","href":"/docs/api-reference/sipdomains/add-custom-sip-domain"},{"title":"Get custom SIP domain","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-domains/{id}","href":"/docs/api-reference/sipdomains/get-custom-sip-domain"},{"title":"Delete custom SIP domain","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/sip-domains/{id}","href":"/docs/api-reference/sipdomains/delete-custom-sip-domain"},{"title":"Update inbound routing of a custom SIP domain","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json patch /api/v1/sip-domains/{id}","href":"/docs/api-reference/sipdomains/update-inbound-routing-of-a-custom-sip-domain"},{"title":"Verify custom SIP domain","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/sip-domains/{id}/verify","href":"/docs/api-reference/sipdomains/verify-custom-sip-domain"}]},{"group":"SipPhoneNumbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-phone-numbers","href":"/docs/api-reference/sipphonenumbers/list-phone-numbers"},{"title":"Create phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/sip-phone-numbers","href":"/docs/api-reference/sipphonenumbers/create-phone-number"},{"title":"Get phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-phone-numbers/{id}","href":"/docs/api-reference/sipphonenumbers/get-phone-number"},{"title":"Update phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/sip-phone-numbers/{id}","href":"/docs/api-reference/sipphonenumbers/update-phone-number"},{"title":"Delete phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/sip-phone-numbers/{id}","href":"/docs/api-reference/sipphonenumbers/delete-phone-number"},{"title":"Link phone number to agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/sip-phone-numbers/{id}/agent-link","href":"/docs/api-reference/sipphonenumbers/link-phone-number-to-agent"},{"title":"Unlink phone number from agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/sip-phone-numbers/{id}/agent-link","href":"/docs/api-reference/sipphonenumbers/unlink-phone-number-from-agent"},{"title":"Get agents using phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/sip-phone-numbers/{id}/affected-agents","href":"/docs/api-reference/sipphonenumbers/get-agents-using-phone-number"}]},{"group":"SipRegisterCallWebhook","pages":[]},{"group":"TextChat","pages":[{"title":"Run one stateless text-chat completion turn.","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/text-chat/completion","href":"/docs/api-reference/textchat/run-one-stateless-text-chat-completion-turn"}]},{"group":"TwilioProvider","pages":[{"title":"Get Twilio provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/providers/twilio/{id}","href":"/docs/api-reference/twilioprovider/get-twilio-provider"},{"title":"Update Twilio provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/providers/twilio/{id}","href":"/docs/api-reference/twilioprovider/update-twilio-provider"},{"title":"Create Twilio provider","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/providers/twilio","href":"/docs/api-reference/twilioprovider/create-twilio-provider"},{"title":"Update Auth Token","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json patch /api/v1/providers/twilio/{id}/auth-token","href":"/docs/api-reference/twilioprovider/update-auth-token"},{"title":"List available phone numbers","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/providers/twilio/{id}/available-numbers","href":"/docs/api-reference/twilioprovider/list-available-phone-numbers"},{"title":"Import phone numbers","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/providers/twilio/{id}/import-numbers","href":"/docs/api-reference/twilioprovider/import-phone-numbers"},{"title":"Remove phone number","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/providers/twilio/{id}/phone-numbers/{phoneNumberId}","href":"/docs/api-reference/twilioprovider/remove-phone-number"}]},{"group":"Voice","pages":[{"title":"List available voices","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/voice","href":"/docs/api-reference/voice/list-available-voices"},{"title":"Synthesize text to speech","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/voice/synthesize","href":"/docs/api-reference/voice/synthesize-text-to-speech"},{"title":"Get built-in sound audio","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/voice/builtin-media","href":"/docs/api-reference/voice/get-built-in-sound-audio"},{"title":"Clone voice from audio","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/voice/clone","href":"/docs/api-reference/voice/clone-voice-from-audio"},{"title":"Delete cloned voice","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/voice/clone/{voiceId}","href":"/docs/api-reference/voice/delete-cloned-voice"},{"title":"Update cloned voice","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json patch /api/v1/voice/clone/{voiceId}","href":"/docs/api-reference/voice/update-cloned-voice"}]},{"group":"WebhookTest","pages":[{"title":"Test webhook endpoint","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/webhooks/test","href":"/docs/api-reference/webhooktest/test-webhook-endpoint"}]},{"group":"WebIntegrations","pages":[{"title":"List web integrations","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/web-integrations","href":"/docs/api-reference/webintegrations/list-web-integrations"},{"title":"Update web integration","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/web-integrations","href":"/docs/api-reference/webintegrations/update-web-integration"},{"title":"Create web integration","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/web-integrations","href":"/docs/api-reference/webintegrations/create-web-integration"},{"title":"Get web integrations by agent","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/web-integrations/agent","href":"/docs/api-reference/webintegrations/get-web-integrations-by-agent"},{"title":"Get web integration","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/web-integrations/integration","href":"/docs/api-reference/webintegrations/get-web-integration"},{"title":"Delete web integration","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/web-integrations/{integrationId}","href":"/docs/api-reference/webintegrations/delete-web-integration"},{"title":"Create integration token","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/web-integrations/{integrationId}/tokens","href":"/docs/api-reference/webintegrations/create-integration-token"},{"title":"Delete integration token","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/web-integrations/{integrationId}/tokens/{tokenId}","href":"/docs/api-reference/webintegrations/delete-integration-token"},{"title":"Validate integration token","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/web-integrations/discover","href":"/docs/api-reference/webintegrations/validate-integration-token"}]},{"group":"WebSocket","pages":[{"title":"WebSocket endpoint for web calls","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/ws/webCall","href":"/docs/api-reference/websocket/websocket-endpoint-for-web-calls"},{"title":"Get WebSocket endpoint information","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/ws/info","href":"/docs/api-reference/websocket/get-websocket-endpoint-information"}]},{"group":"Document","pages":[{"title":"List documents in a knowledge base","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/document","href":"/docs/api-reference/document/list-documents-in-a-knowledge-base"},{"title":"Upload a document to a knowledge base","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/document","href":"/docs/api-reference/document/upload-a-document-to-a-knowledge-base"},{"title":"Get document details with status","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/document/{id}","href":"/docs/api-reference/document/get-document-details-with-status"},{"title":"Update a document content in KB","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/document/{id}","href":"/docs/api-reference/document/update-a-document-content-in-kb"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/rag/document/{id}","href":"/docs/api-reference/document/delete-a-document"},{"title":"Get document chunks","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/document/{id}/chunks","href":"/docs/api-reference/document/get-document-chunks"},{"title":"Get document chunk information","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/document/chunks/{chunkId}","href":"/docs/api-reference/document/get-document-chunk-information"},{"title":"Download document content","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/document/{id}/download","href":"/docs/api-reference/document/download-document-content"}]},{"group":"KnowledgeBase","pages":[{"title":"Get all knowledge","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/kb","href":"/docs/api-reference/knowledgebase/get-all-knowledge"},{"title":"Create a new knowledge base","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/kb","href":"/docs/api-reference/knowledgebase/create-a-new-knowledge-base"},{"title":"Get knowledge base details with statistics","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/kb/{id}","href":"/docs/api-reference/knowledgebase/get-knowledge-base-details-with-statistics"},{"title":"Update knowledge base settings","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/rag/kb/{id}","href":"/docs/api-reference/knowledgebase/update-knowledge-base-settings"},{"title":"Delete a knowledge base and all its content","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/rag/kb/{id}","href":"/docs/api-reference/knowledgebase/delete-a-knowledge-base-and-all-its-content"}]},{"group":"KnowledgeBaseSource","pages":[{"title":"List the URL sources of a knowledge base","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/kb/{kbId}/sources","href":"/docs/api-reference/knowledgebasesource/list-the-url-sources-of-a-knowledge-base"},{"title":"Add a URL source to a knowledge base","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/kb/{kbId}/sources","href":"/docs/api-reference/knowledgebasesource/add-a-url-source-to-a-knowledge-base"},{"title":"Get a URL source","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/kb/{kbId}/sources/{sourceId}","href":"/docs/api-reference/knowledgebasesource/get-a-url-source"},{"title":"Update the settings of a URL source","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json put /api/v1/rag/kb/{kbId}/sources/{sourceId}","href":"/docs/api-reference/knowledgebasesource/update-the-settings-of-a-url-source"},{"title":"Remove a URL source","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json delete /api/v1/rag/kb/{kbId}/sources/{sourceId}","href":"/docs/api-reference/knowledgebasesource/remove-a-url-source"},{"title":"Crawl a URL source now","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/kb/{kbId}/sources/{sourceId}/crawl","href":"/docs/api-reference/knowledgebasesource/crawl-a-url-source-now"},{"title":"List the pages of a URL source","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/kb/{kbId}/sources/{sourceId}/pages","href":"/docs/api-reference/knowledgebasesource/list-the-pages-of-a-url-source"},{"title":"Get the page usage of all URL sources","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/rag/sources/usage","href":"/docs/api-reference/knowledgebasesource/get-the-page-usage-of-all-url-sources"}]},{"group":"Search","pages":[{"title":"Search within a multi knowledge bases","deprecated":null,"version":null,"openapi":"https://blackbox.dasha.ai/swagger/v1/swagger.json post /api/v1/rag/search","href":"/docs/api-reference/search/search-within-a-multi-knowledge-bases"}]}]}]},"basePath":"","title":"Search call results - Dasha BlackBox Documentation","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}