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
| Field | Type | Description |
|---|---|---|
id | string | Model ID to pass as model on any endpoint — provider-prefixed, e.g. anthropic/claude-sonnet-4, or a bare name for automatic routing. |
object | string | Always model. |
provider | string | The provider slug owning the model (openai, anthropic, google, …). |
owned_by | string | Same as provider — kept for OpenAI SDK compatibility. |
created_at | string | When 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.
