/v1/modelsModels
Return the current public model catalog that the caller can actually use under their package and API key rules.
Ghi chú yêu cầu
- 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.
Hợp đồng công khai
Dùng các trường và giới hạn này làm ranh giới tích hợp công khai.
Header
AuthorizationBearer token issued by XVAPI.Ghi chú phản hồi
- 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.
Hướng dẫn thử lại
- 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.
