GET /v1/models
Lists the enabled models available to the current account. Use this endpoint to choose the model value when creating or updating an Agent.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Query parameters
This endpoint does not currently accept query parameters.Example request
Example response
HTTP 200 OKResponse fields
| Field | Type | Description |
|---|---|---|
data | array | Available Model objects |
has_more | boolean | Always false; model listing is not paginated |
| Field | Type | Description |
|---|---|---|
id | string | Model identifier to pass as the Agent model |
type | string | Always "model" |
display_name | string | Human-readable model name |
source | string | Model source, usually system; user for account-specific models |
is_enabled | boolean | Whether the model is enabled and usable |
is_new | boolean | Whether the model is marked as new |
price_factor | number | Optional relative price multiplier |
efforts | array | Optional supported reasoning effort levels, such as none, low, medium, high, xhigh, or max |
default_effort | string | Optional default effort level when the upstream catalog designates one |
Notes
- Only enabled models are returned.
- The response does not include internal routing, provider, token limit, secret, or
descriptionfields. - The model catalog is resolved for the authenticated user and the service’s configured scene. The default scene is
assistant.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | PAT invalid or expired |
| 503 | api_error | Model catalog is temporarily unavailable |
Related
Agent setup
Create a reusable, versioned agent configuration.