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/responsesBase URL
https://api.overagent.cc/v1Request body
| Field | Type | Description |
|---|---|---|
modelrequired | string | A model id from the catalog. |
inputrequired | string | array | A prompt string, or an array of typed input items. |
instructions | string | System-level guidance, equivalent to a system message. |
max_output_tokens | integer | Output ceiling. max_tokens is accepted as an alias. |
stream | boolean | Emit response.output_text.delta events. See Streaming. |
tools | array | Function 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.