curl -X POST 'https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls' \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"call_ids": ["7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"]}'
const res = await fetch('https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls', {
method: 'POST',
headers: {
Authorization: 'Bearer your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"call_ids": [
"7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"
]
}),
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);
Call Analysis
Analyze AI Agent Calls
Queue past AI agent calls for analysis
POST
/
deep-analytics
/
analysis-agents
/
:agentId
/
agent-calls
curl -X POST 'https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls' \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"call_ids": ["7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"]}'
const res = await fetch('https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls', {
method: 'POST',
headers: {
Authorization: 'Bearer your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"call_ids": [
"7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"
]
}),
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);
Picks specific past AI-agent calls (1–100) and queues them for analysis. Only completed, recorded calls in this workspace qualify. Analysis uses paid speech-to-text and model credits.
Needs
manage on the analyzer.Request
Headers
Path
Body
Response
202 Acceptedqueued are new. not_analyzable are unrecorded, unfinished or from another workspace. already_queued are already in this analyzer.
{
"success": true,
"data": {
"queued": 1,
"not_analyzable": 0,
"already_queued": 0
}
}
Errors
Errors use{ "success": false, "message": "...", "code": "..." }. See the overview for the codes every route can return.
This endpoint
| Status | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | call_ids is empty, over 100, or malformed |
Example
curl -X POST 'https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls' \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"call_ids": ["7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"]}'
const res = await fetch('https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/agent-calls', {
method: 'POST',
headers: {
Authorization: 'Bearer your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"call_ids": [
"7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"
]
}),
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);