Returns all models available to the current API key.
GET /v1/models
Auth: {'type': 'bearer', 'prefix': 'sk-', 'description': 'Pass your API key in the `Authorization: Bearer sk-xxx` header.'}
Compatible with OpenAI model list endpoint. If the key is configured with `allowed_models`, only returns the allowed list; otherwise returns all enabled models.
200 — Model arraycurl https://api.router.ai/v1/models \
-H "Authorization: Bearer sk-xxx"