---
title: "List the OpenRouter models an agent can name"
method: GET
path: "/api/v1/models/openrouter"
tags: ["authed"]
---

# List the OpenRouter models an agent can name

`GET /api/v1/models/openrouter`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/models/openrouter`
- Auth: none declared

## Response `200`

Successful Response

- OpenRouterModelsResponse
  - `listing` 'available' | 'unavailable', required
  - `keys` ProviderKeyStates, required: Each provider's key state; None means the org holds no key there.
    - `anthropic` 'verifying' | 'active' | 'bounced', required: Where an org's BYOK model-provider key stands. Save lands VERIFYING (a probe workflow is deciding whether the key works — deliberately not yet funding calls; the balance pays meanwhile, but never for OpenRouter); a green probe flips ACTIVE (the key now pays for every model call the org causes at its provider); a red probe or a run-time 401/403/credit-exhausted decline flips BOUNCED (work at its provider is refused until the key is replaced — the balance never covers a declined key; the key-declined alert says so).
    - `openai` 'verifying' | 'active' | 'bounced', required: Where an org's BYOK model-provider key stands. Save lands VERIFYING (a probe workflow is deciding whether the key works — deliberately not yet funding calls; the balance pays meanwhile, but never for OpenRouter); a green probe flips ACTIVE (the key now pays for every model call the org causes at its provider); a red probe or a run-time 401/403/credit-exhausted decline flips BOUNCED (work at its provider is refused until the key is replaced — the balance never covers a declined key; the key-declined alert says so).
    - `openrouter` 'verifying' | 'active' | 'bounced', required: Where an org's BYOK model-provider key stands. Save lands VERIFYING (a probe workflow is deciding whether the key works — deliberately not yet funding calls; the balance pays meanwhile, but never for OpenRouter); a green probe flips ACTIVE (the key now pays for every model call the org causes at its provider); a red probe or a run-time 401/403/credit-exhausted decline flips BOUNCED (work at its provider is refused until the key is replaced — the balance never covers a declined key; the key-declined alert says so).
  - `models` OpenModelRow[], required
    - `id` string, required
    - `displayName` string, required
    - `provider` 'openrouter', required
    - `providerDisplayName` string, required
    - `efforts` ThinkingEffort[], required
    - `thinkingFloor` 'off' | 'lowest_effort', required
    - `thinkingCanBeOff` boolean, required
    - `canUseTools` boolean, required
    - `contextWindowTokens` integer, required
    - `inputModalities` string[], required
    - `expiresOn` string, date, nullable, required
    - `aliasTarget` OpenModelAliasTarget, required
      - `id` string, required
      - `displayName` string, required
    - `pageUrl` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error

---

[API](https://skmtc.dev/teaflask/apis/teaflask-api.md) - [All operations](https://skmtc.dev/teaflask/apis/teaflask-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teaflask/apis/teaflask-api/revisions/d23e9286b847?raw)
