API reference

Responses

The OpenAI Responses format. This is the wire protocol Codex CLI speaks, so if you are configuring Codex this is the endpoint behind it.

POST/v1/responses
Base URLhttps://api.overagent.cc/v1

Request body

FieldTypeDescription
modelrequiredstringA model id from the catalog.
inputrequiredstring | arrayA prompt string, or an array of typed input items.
instructionsstringSystem-level guidance, equivalent to a system message.
max_output_tokensintegerOutput ceiling. max_tokens is accepted as an alias.
streambooleanEmit response.output_text.delta events. See Streaming.
toolsarrayFunction tools, in the Responses shape.

Example

curl https://api.overagent.cc/v1/responses \
  -H "Authorization: Bearer $OVERAGENT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-sol",
    "input": "Write a haiku about prepaid billing."
  }'

Using it from Codex

Codex needs wire_api = "responses" and a base URL that includes /v1. The full configuration is on the Codex page.