v1
latestOpenAPI 3.1.02026-07-1381112.3 KBmodels
List Models
OpenAI-style model listing. Returns: {"object":"list","data":[{...model objects...}]}
Models are filtered based on:
- enabled: must be True
- listed: must be True (unless an admin/manager passes include_hidden=true)
- provider: must be openrouter or prime
- custom models: unauthenticated callers only see base model routes
- enabled_tenants: empty array = public, otherwise user/team must be in list (admin/manager can bypass only with include_hidden=true)
- lora_status: LoRAs must be "ready" (base models always pass)
get/api/v1/models
Query parameters
include_hiddenboolean
Include hidden and tenant-scoped models outside the caller's normal scope. Honored only for ADMIN/MANAGER; ignored otherwise.
Include hidden and tenant-scoped models outside the caller's normal scope. Honored only for ADMIN/MANAGER; ignored otherwise.
Headers
authorizationstring nullable
x-api-keystring nullable
X-Prime-Team-Idstring nullable
Response
Successful Response