ApiX Docs
Docs / Responses API
·View as Markdown

Responses API

POST /v1/responses is the OpenAI Responses API, used by Codex-style clients.

FieldNotes
modelpublic id
inputstring or a list of input items
instructionssystem prompt
max_output_tokensoutput cap
toolsfunction tools
streamResponses events
bash
curl "$APIX_BASE/v1/responses" \
  -H "Authorization: Bearer $APIX_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "2/glm-5.3-flash", "input": "Explain SSE in one line."}'

ApiX chooses the path per model: providers that speak Responses natively are used as-is; the rest are converted to chat and back. Streaming works in both cases.