Get startedAPI referenceGoing to productionExplore models

Capabilities

Structured outputs

For compatible models, use response_format with Chat Completions or text.format with Responses. PicoX converts JSON Schema settings between the two protocols.

Chat Completions JSON Schema
"response_format": {
  "type": "json_schema",
  "json_schema": {
    "name": "support_ticket",
    "strict": true,
    "schema": {
      "type": "object",
      "properties": {
        "priority": {"type": "string"},
        "summary": {"type": "string"}
      },
      "required": ["priority", "summary"],
      "additionalProperties": false
    }
  }
}
Copied