Skip to main content

HTTP status

400 invalid_request_error

Typical cause

The model is in the catalog, but none of its providers serve the API you’re calling. Models that are only served via the Response API return response_api_only instead.

Resolution

Check which APIs the model supports: read supported_endpoints from GET /v1/models?endpoint=responses or from each provider entry in the model directory. Then call a supported endpoint, or choose a model that supports the API you need.