Models

List the models your key can use. The id a model returns is exactly what you pass as the model parameter on every other endpoint.

List models#

GET/v1/models

Returns the chat-capable models available to your API key.

bash
curl https://api.studio.whalli.com/v1/models \
  -H "Authorization: Bearer $WHALLI_API_KEY"

Response:

json
{
  "object": "list",
  "data": [
    { "id": "gpt-5.5", "object": "model", "created": 1782000000, "owned_by": "openai" },
    { "id": "claude-opus-4-6", "object": "model", "created": 1779970620, "owned_by": "anthropic" }
  ]
}

Retrieve a model#

GET/v1/models/{id}
bash
curl https://api.studio.whalli.com/v1/models/gpt-5.5 \
  -H "Authorization: Bearer $WHALLI_API_KEY"
/v1/models lists text/chat models. Image, audio, and async (music / sfx / video) model ids are documented on their respective endpoint pages and in the Console.
If your key has an allowed-models list, /v1/models only returns those ids — handy for discovering exactly what a given key may call.