> ## Documentation Index
> Fetch the complete documentation index at: https://docs.60db.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyze Dialer Calls

> Queue past dialer calls for analysis

Picks specific past dialer 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.

> [!NOTE]
>
> Needs `manage` on the analyzer.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key: `Bearer sk_...`

**Content-Type** `string` *required*

application/json

### Path

**agentId** `string` *required*

Analyzer ID (UUID)

### Body

**call\_ids** `string[]` *required*

1–100 IDs of past dialer calls (strings up to 200 characters)

## Response

**202 Accepted** `queued` are new. `not_analyzable` are unrecorded, unfinished or from another workspace. `already_queued` are already in this analyzer.

```json theme={null}
{
  "success": true,
  "data": {
    "queued": 1,
    "not_analyzable": 0,
    "already_queued": 0
  }
}
```

## Errors

Errors use `{ "success": false, "message": "...", "code": "..." }`. See the [overview](https://docs.60db.ai/api-reference/call-analysis/overview.md#errors) for the codes every route can return.

### This endpoint

| Status | Code | When |
| - | - | - |
| 400 | `VALIDATION_ERROR` | `call_ids` is empty, over 100, or malformed |

## Example

```bash cURL theme={null}
curl -X POST 'https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/dialer-calls' \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"call_ids": ["call-id-1"]}'
```

```javascript JavaScript theme={null}
const res = await fetch('https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/dialer-calls', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer your-api-key',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "call_ids": [
      "call-id-1"
    ]
  }),
});
const { success, data, message, code } = await res.json();
if (!success) throw new Error(`${code}: ${message}`);
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.