/v1/modelsModels
Return the current public model catalog that the caller can actually use under their package and API key rules.
Примечания к запросу
- This endpoint already filters by account access, API key model allow-list, disabled pricing items, and currently available model entries.
- Use it before building model pickers or caching a catalog on the client side.
- Metadata includes billing type, label, and the public usage context for the alias.
Публичный контракт
Используйте эти поля и ограничения как границу публичной интеграции.
Заголовки
AuthorizationBearer token issued by XVAPI.Примечания к ответу
- Responses use JSON unless the endpoint explicitly documents a streaming or multipart flow.
- The list is already filtered by the caller's account and API key access.
- Image models may include metadata.image_generation with supported sizes, qualities, and native 4K support.
Рекомендации по повтору
- Retry 429 only after applying backoff. When Retry-After is present, wait at least that many seconds.
- Do not blindly retry 400, 401, 402, or 403 responses; fix the request, key, balance, or access rule first.
- A 502/503 may be temporary, but retry with bounded exponential backoff and keep the same public model name.
