curl --request POST \
--url https://apiany.ai/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "gpt-5.5",
"input": "Review this API design and list the main risks.",
"reasoning": {
"effort": "high",
"summary": "auto"
},
"text": {
"verbosity": "medium"
}
}
'{
"id": "<string>",
"object": "response",
"status": "<string>",
"model": "<string>",
"output": [
{}
],
"created_at": 123,
"output_text": "<string>",
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"input_tokens": 123,
"output_tokens": 123,
"cached_input_tokens": 123
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}Create response
OpenAI Responses-compatible endpoint. Supports Responses-native input, reasoning controls, built-in tools such as web search, and official Responses SSE when stream is true.
curl --request POST \
--url https://apiany.ai/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "gpt-5.5",
"input": "Review this API design and list the main risks.",
"reasoning": {
"effort": "high",
"summary": "auto"
},
"text": {
"verbosity": "medium"
}
}
'{
"id": "<string>",
"object": "response",
"status": "<string>",
"model": "<string>",
"output": [
{}
],
"created_at": 123,
"output_text": "<string>",
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"input_tokens": 123,
"output_tokens": 123,
"cached_input_tokens": 123
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"param": "<string>",
"code": "<string>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
"gpt-5.5"
Responses input. Can be a string or an array of message / tool-result items.
System or developer instructions.
Maximum reasoning plus final-answer tokens. Model-specific limits apply; exhausting the budget can leave the answer incomplete.
x >= 10 <= x <= 20 <= x <= 1Show child attributes
Show child attributes
Show child attributes
Show child attributes
Responses tools, including function tools and built-in tools such as web_search_preview.
If true, responses are streamed as OpenAI Responses SSE events.
Compatibility alias for reasoning.effort. When both effort forms are present, their values must match; conflicting values return 400. Reasoning effort. These are syntactic values, not a support guarantee for every model. Supported values vary by model; unsupported values return 400. Kimi K3 supports low, high and max (default max); GPT-5.4/5.5 support none, low, medium, high, xhigh. See /models/chat-models for Claude and Gemini limits. Omission keeps the model default. Per-model levels, defaults and whether reasoning can be disabled are published in GET /v1/models under capability_metadata.reasoning.
none, minimal, low, medium, high, xhigh, max