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 returnresponse_api_only instead.
Resolution
Check which APIs the model supports: readsupported_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.