# List models

Lists the models your workspace can use, each with the id a request sends as model_id.

`GET /v1/models` on `https://api.eu.vatis.tech`

## Headers

| header | values | default | meaning |
|---|---|---|---|
| `Authorization` | `Bearer <api key>` | required | Your API key ([Authentication and API keys](https://platform.vatis.tech/docs/authentication)). |

## Response fields

| field | when | meaning |
|---|---|---|
| `models` |  | The models. Each has the fields below. |
| `models[].id` |  | What a request sends as `model_id`: `<family>_<language>_<version>`, with `_realtime` for live models. |
| `models[].name` |  | Its name, for people. |
| `models[].mode` |  | `batch` for files, `realtime` for live sessions. |
| `models[].languages` |  | The language it transcribes, as ISO 639-1 codes: `["ro"]`. |
| `models[].licensed` |  | Always `null` here. It is for on-premise servers, where a license decides which models run. |

## Responses

`200`: The models.

```json
{
  "models": [
    {
      "id": "vatis_ro_v9_realtime",
      "name": "Romanian v9 real-time",
      "mode": "realtime",
      "languages": [
        "ro"
      ],
      "licensed": null
    }
  ]
}
```

`400` `invalid_parameter`: A query parameter: this endpoint takes none ([Strict parameters](https://platform.vatis.tech/docs/errors#strict-parameters)).

`401` `unauthorized`: No key, or a wrong, revoked or expired one.

```json
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid, revoked or expired key.",
    "param": null,
    "request_id": "req_bf2fed760ba5437ba0933a57"
  }
}
```

`503` `unavailable`: The service is busy for a moment. Send the request again after the seconds of the `Retry-After` header.

## Notes

- Live models work on every workspace. A model whose `mode` is `batch` shows here once batch transcription is open on your workspace ([Batch transcription](https://platform.vatis.tech/docs/batch)).
