Zorveus LogoZorveusDOCS
Inference API

Model discovery

View Markdown

Query the models endpoint to discover live available models permitted for your API key.

GET/v1/models
API Key (Bearer zrv_...)

The /v1/models endpoint returns the dynamic list of concrete model IDs your API key is currently authorized to route.

Optional key for interactive API requests. Stored in memory only.


Policy expansion

When your App Connection defines wildcard policies like * or openai/*, the /v1/models endpoint expands those wildcards into concrete routable model IDs (e.g. openai/gpt-4.1-mini, openai/gpt-4.1, anthropic/claude-3-7-sonnet).

Wildcard strings are policy configurations—not valid target model identifiers in chat completion requests.


Code example

Client SDK / Framework:
from openai import OpenAI

client = OpenAI(
    base_url="https://api.zorveus.com/v1",
    api_key="zrv_your_api_key",
)

models = client.models.list()
for model in models.data:
    print(f"Available Model: {model.id} (Owner: {model.owned_by})")

Expected response

{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-4.1-mini",
      "object": "model",
      "created": 1723580000,
      "owned_by": "openai"
    },
    {
      "id": "openai/gpt-4.1",
      "object": "model",
      "created": 1723580000,
      "owned_by": "openai"
    },
    {
      "id": "anthropic/claude-3-7-sonnet",
      "object": "model",
      "created": 1723580000,
      "owned_by": "anthropic"
    },
    {
      "id": "gemini/gemini-2.5-flash",
      "object": "model",
      "created": 1723580000,
      "owned_by": "google"
    }
  ]
}
Was this page helpful?
Edit this page on GitHub

On this page