Docs
Dashboard
API reference / AgentBeta

List models

List models.

GET/v1/agent/models

Request

Method and pathGET/v1/agent/models
Base URLhttps://api.boxline.dev
AuthenticationYour API key in the x-api-key header (or Authorization: Bearer). The examples read it from BOXLINE_API_KEY.
curl "https://api.boxline.dev/v1/agent/models" \  -H "x-api-key: $BOXLINE_API_KEY"

Responses

200 OK

Providers and their models, and which are configured on this server.

Fields

NameTypeDefaultAllowed valuesDescription
defaultobject––
default.providerstring–anthropic, openai, xai, googleAnthropic Claude, OpenAI, Grok (xAI), Google Gemini. Grok and Gemini have no computer use (mode computer is 400).
default.modelstring––
providersobject[]––
providers[].idstring–anthropic, openai, xai, googleAnthropic Claude, OpenAI, Grok (xAI), Google Gemini. Grok and Gemini have no computer use (mode computer is 400).
providers[].namestring––
providers[].availableboolean––A call could be made now for this project.
providers[].keySourcestring | null–project, platformWhose key a call would use now (the project's effective choice); null when there is none.
providers[].reasonstring | null––
providers[].modelsobject[]––
providers[].models[].idstring––
providers[].models[].namestring––
providers[].models[].notestring––
providers[].models[].pricePerMTokobject––
providers[].models[].pricePerMTok.inputnumber––
providers[].models[].pricePerMTok.outputnumber––
providers[].models[].supportsEffortboolean––
providers[].models[].supportsComputerUseboolean––Agent runs with mode "computer" work with this model.
providers[].models[].computerToolstring | null–computer_toolset_20260801, computer, nullThe provider's computer-use tool the model gets in mode "computer" (Claude's computer toolset, or OpenAI's GA computer tool).
providers[].models[].defaultboolean––
Response 200
{  "default": {    "provider": "anthropic",    "model": "claude-sonnet-5-5"  },  "providers": [    {      "id": "anthropic",      "name": "Work account",      "available": false,      "keySource": "project",      "reason": "…",      "models": [        {          "id": "…",          "name": "Work account",          "note": "…",          "pricePerMTok": {},          "supportsEffort": false,          "supportsComputerUse": false,          "computerTool": "computer_toolset_20260801",          "default": false        }      ]    }  ]}

Errors

Errors have a matching HTTP status and the same body. code is stable, so check it in your code; message is for people. See Errors and request ids.

StatusCodesWhen
401 UnauthorizedunauthorizedMissing or invalid API key.
Error body
{  "error": {    "code": "not_found",    "message": "session not found",    "requestId": "req_4fJx0aQm2Lk9Pz7N"  }}

Learn more

These docs describe a beta API. Endpoints, fields and SDK methods may change before general availability; breaking changes will be listed in the changelog.