curl 'https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis' \
-H "Authorization: Bearer your-api-key"
const res = await fetch('https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis', {
headers: { Authorization: 'Bearer your-api-key' },
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);
Call Analysis
Get Call Analysis
Full analysis of one call: transcript, problems, summary
GET
/
deep-analytics
/
calls
/
:callId
/
analysis
curl 'https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis' \
-H "Authorization: Bearer your-api-key"
const res = await fetch('https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis', {
headers: { Authorization: 'Bearer your-api-key' },
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);
Returns the transcript and the analysis for one call. Only calls imported for an analyzer qualify. Any other call, including one of another workspace, returns
404 CALL_NOT_FOUND.
Needs read and evidence access on the call.
Request
Headers
Path
Response
200assessment_state is current, no_transcript or not_assessed_for_current_evidence. assessment is null until the analysis finishes. assessment.problems lists each problem with category, severity, quote, reason, correct_information and the time range in the audio. Transcript text is returned as spoken.
{
"success": true,
"data": {
"job": {
"status": "completed",
"stages": []
},
"transcript": {
"id": "<version-id>",
"version_no": 1,
"duration_ms": 184000,
"segments": [
{
"id": "s0",
"seq": 0,
"start_ms": 0,
"end_ms": 4200,
"speaker": "agent",
"text": "Thanks for calling.",
"language": "en"
}
]
},
"transcript_versions": [],
"assessment": {
"id": "<assessment-id>",
"status": "...",
"summary": "...",
"sentiment": "...",
"problems": [
{
"id": "<problem-id>",
"category": "wrong_information",
"severity": "high",
"speaker": "agent",
"quote": "Refunds take 30 days",
"reason": "The policy says 7 days",
"correct_information": "Refunds take 7 days",
"start_ms": 61000,
"end_ms": 64000
}
]
},
"assessment_state": "current",
"other_assessments": []
}
}
Errors
Errors use{ "success": false, "message": "...", "code": "..." }. See the overview for the codes every route can return.
This endpoint
| Status | Code | When |
|---|---|---|
| 404 | CALL_NOT_FOUND | The call is not part of an analyzer, or not in this workspace |
Example
curl 'https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis' \
-H "Authorization: Bearer your-api-key"
const res = await fetch('https://api.60db.ai/deep-analytics/calls/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d/analysis', {
headers: { Authorization: 'Bearer your-api-key' },
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);