Aex Brain
ReferenceAPI

List models

GET/v1/models

Authorization

serverToken
AuthorizationBearer <token>

The server's BRAIN_API_TOKEN, sent as Authorization: Bearer . Required for application API calls when configured; optional only on a loopback server started without a token.

In: header

Query Parameters

provider?string

Provider identifier

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/models" \  -H "Authorization: Bearer YOUR_TOKEN"
{  "providers": [    {      "dialect": "openai_responses",      "id": "string",      "media_inputs": [        "string"      ],      "models": [        {          "attachment": true,          "context_window_tokens": 0,          "cost": {            "cache_read": 0.1,            "cache_write": 0.1,            "input": 0.1,            "output": 0.1          },          "id": "string",          "input_modalities": [            "string"          ],          "max_output_tokens": 0,          "output_modalities": [            "string"          ],          "reasoning": true,          "structured_output": true,          "tool_call": true        }      ]    }  ],  "snapshot_digest": "string"}