> ## 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.

# Get Problems

> Summary of the problems found by an analyzer

Counts of problems by category and severity, plus the top recurring problems (up to 20), each with an example call.

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

## Request

### Headers

**Authorization** `string` *required*

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

### Path

**agentId** `string` *required*

Analyzer ID (UUID)

### Query

**from** `string`

ISO date. Start of the range

**to** `string`

ISO date. End of the range

## Response

**200**

```json theme={null}
{
  "success": true,
  "data": {
    "analyzed": 40,
    "with_problems": 7,
    "by_category": [
      {
        "category": "wrong_information",
        "problems": 5,
        "recordings": 4
      }
    ],
    "by_severity": {
      "high": 3,
      "medium": 3,
      "low": 1
    },
    "top": [
      {
        "reason": "Wrong refund window",
        "category": "wrong_information",
        "severity": "high",
        "recordings": 4,
        "example_call_id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d"
      }
    ]
  }
}
```

## 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.

## Example

```bash cURL theme={null}
curl 'https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/problems' \
  -H "Authorization: Bearer your-api-key"
```

```javascript JavaScript theme={null}
const res = await fetch('https://api.60db.ai/deep-analytics/analysis-agents/3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f/problems', {
  headers: { Authorization: 'Bearer your-api-key' },
});
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.