GET
/
ai
List Available Models
curl --request GET \
  --url https://www.orgo.ai/api/ai \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "context_length": 123,
      "pricing": {
        "prompt": "<string>",
        "completion": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer token

Query Parameters

provider
enum<string>
required

Model provider (currently only 'openrouter' supported)

Available options:
openrouter

Response

200
application/json

List of available models

The response is of type object.