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

# Fetch Recordings

> Download pending URL rows in bulk

For `csv_urls` batches. Downloads up to `limit` pending rows, 3 at a time. Call it again until `attempted` is `0`. Fetching never starts analysis.

> [!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

**batchId** `string` *required*

Batch ID (UUID)

### Body

**limit** `integer` (default: 25)

1–100

## Response

**200** `items` holds one result per attempted row.

```json theme={null}
{
  "success": true,
  "data": {
    "attempted": 2,
    "stored": 1,
    "failed": 1,
    "skipped": 0,
    "items": []
  }
}
```

## 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 |
| - | - | - |
| 409 | `ACQUISITION_IN_PROGRESS` | A row was started in the last 5 minutes |

## Example

```bash cURL theme={null}
curl -X POST 'https://api.60db.ai/deep-analytics/imports/batches/9b7e6d5c-4b3a-4291-8f0e-1d2c3b4a5968/fetch-recordings' \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"limit": 25}'
```

```javascript JavaScript theme={null}
const res = await fetch('https://api.60db.ai/deep-analytics/imports/batches/9b7e6d5c-4b3a-4291-8f0e-1d2c3b4a5968/fetch-recordings', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer your-api-key',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "limit": 25
  }),
});
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.