---
title: "Get Routers"
method: GET
path: "/v1/admin/routers"
tags: ["Admin"]
---

# Get Routers

`GET /v1/admin/routers`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Query parameters

- `offset` integer: Number of routers to skip.
- `limit` integer: Maximum number of routers to return.
- `sort_by` 'id' | 'name' | 'created'
- `sort_order` 'asc' | 'desc'

## Response `200`

Successful Response

- RoutersResponse
  - `object` 'list': Type of the object.
  - `total` integer, required: Total number of routers.
  - `offset` integer, required: Offset of the routers list.
  - `limit` integer, required: Limit of the routers list.
  - `data` RouterResponse[], required: List of routers.
    - `object` 'router': Type of the object.
    - `id` integer, required: ID of the router.
    - `name` string, required: Name of the router.
    - `user_id` integer, required: ID of the user that owns the router.
    - `type` 'automatic-speech-recognition' | 'image-to-text' | 'text-classification' | 'text-embeddings-inference' | 'text-generation', required
    - `aliases` string[], required: Aliases of the model. It will be used to identify the model by users.
    - `load_balancing_strategy` 'shuffle' | 'least_busy', required
    - `cost_prompt_tokens` number, required: Cost of a million prompt tokens (decrease user budget)
    - `cost_completion_tokens` number, required: Cost of a million completion tokens (decrease user budget)
    - `providers` integer: Number of providers in the router.
    - `created` integer, required: Time of creation, as Unix timestamp.
    - `updated` integer, required: Time of last update, as Unix timestamp.

## Other responses

- `401`: Invalid authentication scheme.<br>Invalid API key.
- `403`: User has no admin rights.<br>Your account has expired. Please contact support to renew your account.
- `422`: Validation Error

## Changes

- **2026-09-29** `2f7a4a0aac8f`: 1 info
  - endpoint added
- **2026-09-29** `da70d9cd1957`: 1 breaking
  - api path removed without deprecation
- **2026-09-21** `5fdbd3614b8c`: 1 info
  - removed the `image-text-to-text` enum value from the `data/items/type` response property for the response status `200`
- **2026-09-02** `b40c3f5c7bfe`: 2 warning
  - removed the optional property `data/items/max_context_length` from the response with the `200` status
  - removed the optional property `data/items/vector_size` from the response with the `200` status
- **2026-03-10** `ef3add9564c0`: 2 info
  - the response property `data/items/aliases` became required for the status `200`
  - response property `data/items/aliases` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

[Operation history](https://skmtc.dev/betagouv/apis/opengatellm/changes/v1/admin/routers/get.md)

---

[API](https://skmtc.dev/betagouv/apis/opengatellm.md) - [All operations](https://skmtc.dev/betagouv/apis/opengatellm/llms.txt) - [OpenAPI document](https://skmtc.dev/betagouv/apis/opengatellm/revisions/2f7a4a0aac8f?raw)
