Skip to content

OpenAI Responses API, answered by Polar

POST/api/v1/responses

What Codex speaks: base URL is the origin plus /api/v1. Needs polar.use. Responses are not stored.

Needs an API key in the Authorization header.

On this page

Request body

FieldTypeDescription
modelrequiredstring
JSON schema
{
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    }
  },
  "required": [
    "model"
  ]
}

Example request

curl -X POST "https://polaris.example.com/api/v1/responses" \
  -H "Authorization: Bearer $POLARIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "string"
}'

Responses

StatusMeaning
200OK

Can also answer the common errors 400, 401, 403, 404, 429. See common errors