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

# List models

> Return the model a key can call, in OpenAI's model list format.

Source: https://docs.heurastudios.com/api/models/

`GET https://app.heurastudios.com/v1/models`

Lists the models the key can call. A key belongs to one model, so the list has one entry. Use it to check a key works and to read the model's id.

```bash
curl https://app.heurastudios.com/v1/models \
  -H "Authorization: Bearer $HEURA_API_KEY"
```

## Response

```json
{
  "object": "list",
  "data": [
    {
      "id": "quarry-3f9a1c2b7d",
      "object": "model",
      "created": 1795230000,
      "owned_by": "Fernbrook"
    }
  ]
}
```

**Fields**

- `id` (string, optional): The model's id: what `model` takes in a chat completion.
- `created` (integer, optional): When the model was created, in Unix seconds.
- `owned_by` (string, optional): The company named in the model's script, or `heura-studio` when it names none.
