Responses

Use the OpenAI Responses API for reasoning and tool-use with advanced models.

Endpoint

POST/v1/responses

Request body

modelstringrequired
Model ID. Any model that lists /v1/responses in its supported_endpoints.
inputstring | arrayrequired
The input prompt or message array.
toolsarray
Tools the model may call during the response.
tool_choicestring | object
Controls tool calling. auto, none, required, or specific tool.
max_output_tokensinteger
Maximum tokens to generate.
temperaturenumber
Sampling temperature from 0 to 2. Default: 1
top_pnumber
Nucleus sampling. Default: 1
storeboolean
Whether to store the response for later retrieval.
previous_response_idstring
ID of a previous response to continue the conversation.

Example request

curl https://api.aetherapi.dev/v1/responses \
  -H "Authorization: Bearer sk-aetherapi-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5",
    "input": "What is the capital of France?"
  }'

Example response

{
  "id": "resp_abc123",
  "object": "response",
  "created": 1677652288,
  "model": "gpt-5.5",
  "output": [
    {
      "type": "message",
      "role": "assistant",
      "content": [
        {
          "type": "output_text",
          "text": "The capital of France is Paris."
        }
      ]
    }
  ],
  "usage": {
    "input_tokens": 12,
    "output_tokens": 8,
    "total_tokens": 20
  }
}

Supported models

The list changes as providers ship new models. For the current set, call GET /v1/models and keep the models whose supported_endpoints include /v1/responses, or browse the model catalogue.

Tip

The Responses API supports tool use, reasoning, and conversation state management via previous_response_id.