Skip to main content
Code for each endpoint: Chat Completions, Responses.

Models without schema support

Check supported_parameters in /v1/models for response_format. The list covers every provider of the model, so the provider serving a request can still lack schema support. Then NagaAI sends JSON mode and adds your schema to the prompt, and schema compliance is not guaranteed. Parse the result and validate it against the schema in your code.