Model Discovery
Use GET /v1/models as the authoritative source of public model IDs.
Model Registry is the source of truth for public model IDs, capabilities, pricing, and routes. Users never see upstream accounts or credentials.
The list can change with plans, subscriptions, provider health, or access rules, so clients should refresh it instead of caching forever.
Key points
- Endpoint: GET /v1/models.
- The response includes only models the current user may call.
- A public ID can be provider/model or an alias published by an administrator.
- Capabilities are checked again server-side when a request executes.
Example request
curl --request GET 'https://api.xpncore.com/v1/models' \
--max-time 35 \
--header "Authorization: Bearer $API_KEY"