# List models

List the agent models and capabilities currently recognized by Operade.

## Endpoint

`GET /api/v1/models`

## Authentication

| Class | Authentication | Minimum role | API key |
| --- | --- | --- | --- |
| dashboard-session-api | Dashboard session cookie; mutations also require X-CX-Request: 1. | session | Not allowed |

## Parameters

This operation has no path, query, or header parameters.

## Request body

This operation has no request body.

## Example

```bash
curl --request GET 'https://operade.ai/api/v1/models' \
  --cookie 'cx_session=YOUR_SESSION_COOKIE'
```

## Responses

| Status | Description | Content |
| --- | --- | --- |
| 4XX | Handled client error | application/json: `ErrorResponse` |
| 200 | Successful Response | application/json: `ModelListResponse` |

### 4XX application/json response schema

| Field path | Type | Reference | Format | Nullable | Required | Enum | Description |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `$` | `object` | ErrorResponse | — | No | Yes | — | — |
| `error` | `object` | ErrorItem | — | No | Yes | — | — |
| `error.code` | `string` | — | — | No | Yes | — | — |
| `error.details` | `object` | — | — | No | No | — | — |
| `error.message` | `string` | — | — | No | Yes | — | — |

### 200 application/json response schema

| Field path | Type | Reference | Format | Nullable | Required | Enum | Description |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `$` | `object` | ModelListResponse | — | No | Yes | — | — |
| `items` | `array<ModelItem>` | — | — | No | Yes | — | — |
| `items[]` | `object` | ModelItem | — | No | Yes | — | — |
| `items[].adapter_active` | `boolean` | — | — | No | Yes | — | — |
| `items[].context_limit` | `integer` | — | — | No | Yes | — | — |
| `items[].default_temperature` | `number` | — | — | No | Yes | — | — |
| `items[].id` | `string` | — | — | No | Yes | — | — |
| `items[].input_price_per_million` | `number` | — | — | No | Yes | — | — |
| `items[].output_price_per_million` | `number` | — | — | No | Yes | — | — |
| `items[].temperature_adjustable` | `boolean` | — | — | No | Yes | — | — |

### Response example

```json
{
  "items": []
}
```

## Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the [distributed error index](/docs/reference/api/errors) to find each code's canonical domain page.

| Status | Code | Description |
| --- | --- | --- |
| 401 | `unauthenticated` | Authentication is missing, invalid, or revoked. |

## Related operations

No related operations in this resource group.
