POST /v1/responses. Choose a model that supports Responses. A Chat Completions request body cannot be reused unchanged.
Minimal request
SetAPIONE_API_KEY and APIONE_MODEL as described in the quickstart. Choose an ID from available models. This example uses the basic Responses text format:
output[]: select items with type: "message", then text blocks with type: "output_text" in their content[]. The text is in text, rather than Chat Completions’ choices[0].message.content.
Configure the client
Usehttps://api.apione.ai/v1 as the OpenAI SDK Base URL. For clients requiring a complete endpoint, use https://api.apione.ai/v1/responses. See Codex integration.
Verify text before tools or streaming. Storage, background tasks, built-in tools, and extension fields require separate compatibility checks. On failure, save the status, error body, and the actual request-identifier header names and values for troubleshooting.
Sources: APIONE endpoints and the OpenAI Responses format.
