HridaSpro Docs

Api Reference

List Models

List all models available through the Spro gateway.

API console
GET/v1/models
Bash
curl https://spro.hridaai.com/v1/models \  -H "Authorization: Bearer spro-xxxxxxxxxxxxxxxx"
JSON
{  "object": "list",  "data": [    {      "id": "gpt-oss-20b",      "object": "model",      "provider": "openai",      "owned_by": "openai",      "created_at": "2026-08-05T09:14:00+00:00"    },    {      "id": "anthropic/claude-sonnet-4",      "object": "model",      "provider": "anthropic",      "owned_by": "anthropic",      "created_at": "2026-07-22T14:30:00+00:00"    }  ]}

GET https://spro.hridaai.com/v1/models

Lists every model currently active on the Spro gateway for your account. OpenAI-compatible — client.models.list() works unchanged.

The model object

FieldTypeDescription
idstringModel ID to pass as model on any endpoint — provider-prefixed, e.g. anthropic/claude-sonnet-4, or a bare name for automatic routing.
objectstringAlways model.
providerstringThe provider slug owning the model (openai, anthropic, google, …).
owned_bystringSame as provider — kept for OpenAI SDK compatibility.
created_atstringWhen the model was added to the catalog.

Using the list

The list is the programmatic source of truth for what you can call right now — useful for building model pickers, validating IDs before a request, or detecting newly added models:

ids = {m.id for m in client.models.list()}
if "google/gemini-2.5-flash" in ids:    model = "google/gemini-2.5-flash"

For pricing, context windows, and capability flags per model, use the Models page in the dashboard — see Models.