Developers / Agents

List language models

GET https://api.echonova.ai/v1/llm/models

Lists the language models an agent can think with. Pass a model as llmModel when you create or update an agent, or to GET /v1/llm/estimate for its price. Needs the agents:read scope on the key.

Headers

Authorization string Required

Bearer, a space, then your API key, which starts with ek_. Create keys in the portal under Developers, API Keys.

Response

200 application/json Every response uses this envelope.

data object

The result.

success boolean

true for a successful call.

statusCode integer

Repeats the HTTP status.

errorMessage string or null

null on success.

Errors

Same envelope, with success false and data null. All errors

GET /v1/llm/models

curl "https://api.echonova.ai/v1/llm/models" \
  -H "Authorization: Bearer YOUR_API_KEY"

{
  "data": [
    {
      "provider": "openai",
      "model": "gpt-4o",
      "label": "GPT-4o",
      "deprecatesAt": null
    }
  ],
  "success": true,
  "statusCode": 200,
  "errorMessage": null
}