v3
latestOpenAPI 3.1.02026-07-311,4541,5202.3 MBApi Models List List
GET/POST /api/models/list/ (Public API) GET/POST /api/llm_models/models/list/ (Platform)
List models. Authentication is optional (OpenRouter-style catalog) — the SAME endpoint serves both public and authenticated callers:
- Unauthenticated → managed/shared models only (organization=None). Rate-limited per client IP.
- API key / JWT → managed models PLUS the caller's own custom models.
Read-only: there is no create/write path (ListAPIView); post() only delegates to get() to support POST-body filtering (BE conventions). Both auth modes fully support filtering.
Optionally enriches each model with cross-org performance metrics (opt-in via is_including_metrics) over an absolute UTC [start_time, end_time) window read at time_tick grain (dashboard convention). Each model gets a metrics object: average_tps / average_ttft / average_latency (OpenRouter-style averages), uptime_percent, number_of_requests, cost, the prompt/completion/ cache token sums, and cache_hit_percentage. Sourced from the cross-org get_public_breakdown_metrics reader (clickhouse/tasks.py). The metrics are cross-org aggregates, so they're identical regardless of auth.
Filtering: Use standard filter syntax: { "filters": { "affiliation_category": { "value": ["CUSTOM"] } } } See boilerplates/keywordsai/feature_docs/shared/filters_api_reference.md
Query parameters
A page number within the paginated result set.
Number of results to return per page.
Headers
JWT access token or Respan API key