EZAT RouterDocs
API 参考

List models (OpenAI format)

GET
/openai/v1/models

Lists the models your key can use, in OpenAI's format: the same models as GET /v1/models, with canonical author/model ids. owned_by is the part of the id before the slash.

Authorization

headerx-api-key<token>

Your EZAT Router key (ezat_sk_…) in the x-api-key header, as the Anthropic SDKs send it. Accepted on every /v1 and /openai/v1 endpoint.

Response Body

The models your key can use.

application/json
  1. response
object*string
data*array<>
Example Request
curl -X GET 'https://api.router.ezat.io/openai/v1/models' \  -H "Authorization: Bearer $EZAT_API_KEY"
Example Response
{  "object": "list",  "data": [    {      "id": "anthropic/claude-opus-5-5",      "object": "model",      "created": 1793178764,      "owned_by": "anthropic"    },    {      "id": "anthropic/claude-sonnet-5-5",      "object": "model",      "created": 1793178764,      "owned_by": "anthropic"    }  ]}