Documentation

Your familiar SDK. A clear path from API key to first response.

Responses

Choose a guide or find an API method. Copy examples to your project; this page does not execute requests.

Responses

POST /v1/responses

Request

Send model and input as a string or input-item array. Standard authentication headers are sufficient for current GPT routes. Native max_output_tokens is forwarded as a hint, without a guaranteed limit. Set stream to true for streaming.

Example request

Read output by its item type. Preserve reasoning and encrypted state, calls and call IDs, tool results, search results, citations and generated images. Return function_call_output or custom_tool_call_output with the corresponding call_id to continue a tool workflow. Inline image and file data are accepted; a stored service file ID requires project ownership.

Base URL
curl "https://api.quanteex.com/v1/responses" \
  -H "Authorization: Bearer $QUANTEEX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-Quanteex-Output-Policy: provider_maximum" \
  --data '{
  "model": "gpt-6-astra",
  "input": "Hello"
}'

Continuation

Use previous_response_id only with a response created by the same project. Keep response IDs private and handle an unavailable or expired ID as a new conversation.

Supported operations

JSON/SSE generation, function/custom tools, JSON Schema, reasoning, image/PDF inputs and web search are available on GPT-6.1 Sol. Stored retrieval/deletion, input-item listing and compaction routes depend on model-service availability; the current GPT connections do not expose those service operations. Background jobs, stored conversations and audio are not currently available.

Search documentation