---
title: "List calls"
description: "The latest calls in this key's mode.\n\nLive keys see live calls; test keys see test calls.\n"
---

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

Path: Qomni Agents API › Calls

`GET /calls`

The latest calls in this key's mode.

Live keys see live calls; test keys see test calls.

## Authentication

- `apiKey`, http, header `Authorization`, format `sk_agents_{live|test}_{cell}_{body}{checksum}`

## Code samples

### TypeScript

```typescript
import { Qomni } from "@qomni/sdk";

const qomni = new Qomni({ apiKey: process.env.QOMNI_KEY! });

const calls = await qomni.agents.listCalls();
console.log(calls);

```

### cURL

```bash
curl --request GET \
  --url https://api.qomni.ai/agents/v1/calls \
  --header 'Authorization: Bearer <token>'
```

### Python

```python
import requests

url = "https://api.qomni.ai/agents/v1/calls"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Calls, newest first.

#### Example

```json
{
  "data": [
    {
      "id": "string",
      "to": "string",
      "status": "queued",
      "livemode": true,
      "cell": "string",
      "region": "string",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ],
  "has_more": true,
  "cell": "string",
  "region": "string"
}
```

- `data` (`listCalls.response.200.data`; array<object>, required)
  - `id` (`listCalls.response.200.data.id`; string, required)
    - pattern `^call_[0-9a-z]+$`
  - `to` (`listCalls.response.200.data.to`; string, required)
  - `status` (`listCalls.response.200.data.status`; string, required)
    - one of `"queued"`, `"completed"`, `"busy"`, `"no-answer"`
  - `livemode` (`listCalls.response.200.data.livemode`; boolean, required)
  - `created_at` (`listCalls.response.200.data.created_at`; string, required)
    - format `date-time`
  - `cell` (`listCalls.response.200.data.cell`; string, optional)
  - `region` (`listCalls.response.200.data.region`; string, optional)
- `has_more` (`listCalls.response.200.has_more`; boolean, required)
- `cell` (`listCalls.response.200.cell`; string, optional)
- `region` (`listCalls.response.200.region`; string, optional)

### 401

Missing or invalid credentials (`unauthenticated`).

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "fields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    }
  }
}
```

- `error` (`listCalls.response.401.error`; object, required)
  - `code` (`listCalls.response.401.error.code`; string, required) — Stable, machine-readable; each operation lists the codes it can return.
    - pattern `^[a-z][a-z0-9_]*$`
  - `message` (`listCalls.response.401.error.message`; string, required) — For people; may change at any time.
  - `request_id` (`listCalls.response.401.error.request_id`; string, optional)
  - `fields` (`listCalls.response.401.error.fields`; map<array<string>>, optional) — Only for validation_failed, the messages per field.

### 403

Valid credentials that may not do this (`insufficient_scope`, `api_key_wrong_product`…).

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "fields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    }
  }
}
```

- `error` (`listCalls.response.403.error`; object, required)
  - `code` (`listCalls.response.403.error.code`; string, required) — Stable, machine-readable; each operation lists the codes it can return.
    - pattern `^[a-z][a-z0-9_]*$`
  - `message` (`listCalls.response.403.error.message`; string, required) — For people; may change at any time.
  - `request_id` (`listCalls.response.403.error.request_id`; string, optional)
  - `fields` (`listCalls.response.403.error.fields`; map<array<string>>, optional) — Only for validation_failed, the messages per field.

### 429

Too many requests for this key (`rate_limited`); retry after `Retry-After` seconds.

#### Example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string",
    "fields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    }
  }
}
```

- `error` (`listCalls.response.429.error`; object, required)
  - `code` (`listCalls.response.429.error.code`; string, required) — Stable, machine-readable; each operation lists the codes it can return.
    - pattern `^[a-z][a-z0-9_]*$`
  - `message` (`listCalls.response.429.error.message`; string, required) — For people; may change at any time.
  - `request_id` (`listCalls.response.429.error.request_id`; string, optional)
  - `fields` (`listCalls.response.429.error.fields`; map<array<string>>, optional) — Only for validation_failed, the messages per field.


Source: https://docs.qomni.ai/agents-api/calls/list/index.md
