1. Chat
AboAI
English
  • äø­ę–‡
  • English
  • Home Page
  • AboAi-API
    • Model
      • Native OpenAI Format
      • Native Gemini Format
    • Chat
      • Native OpenAI Format
        POST
      • Native Gemini Format
        POST
      • Native Claude Format
        POST
      • Responses Request (openai)
        POST
    • Audio
      • Native OpenAI Format TTS
      • Native Gemini Format TTS
    • Images
      • Native OpenAI Format Image Generation
      • Native Gemini Format Image Generation
      • Native OpenAI Format Image Editing (JSON)
      • Native OpenAI Format Image Editing (Multipart)
    • Video
      • Seedance2.0 format
        • Create Video Generation Task
        • Query Video Generation Task Status
    • Vector
      • Embeddings
        • Create Embedding
    • Translation
      • Speech Translation
  • AI application
    • AboAI API Integration with Claude Code
    • AboAI API Integration with Cursor
    • AboAI API Integration with Codex-cli
    • AboAI API Integration with Codex Desktop
    • AboAI API Integration with Hermes Agent
  1. Chat

Responses Request (openai)

POST
/v1/responses

šŸ“˜ API Introduction (OpenAI Native)#

Responses API is a next-generation conversational interface introduced by OpenAI, specifically designed for reasoning models (GPT-5 series) and advanced capabilities.
Compared to the traditional Chat Completions API, the Responses API offers:
Finer reasoning control
Built-in tool calling capabilities (Tools)
Support for multimodal inputs (Text / Images / Files)

šŸŽÆ Applicable Scenarios#

🧠 Reasoning-Intensive Tasks#

Suitable for scenarios requiring complex reasoning (such as the GPT-5 series models).

🌐 Requires Web Search#

Features a built-in Web Search Preview tool to support real-time information retrieval.

šŸ› ļø Advanced Tool Calling#

Supports the following capabilities:
Function Call
Custom Tool Call

šŸ”„ Multi-turn Conversation Continuation#

Maintains context using previous_response_id to achieve conversation continuity.

šŸ” Authentication#

All requests must be authenticated via a Bearer Token.

Header Example#

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Bodyapplication/json

🟠400
šŸ”“500
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.aboai.ai/v1/responses' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "GPT-5.2-Chat",
    "input": [
        {
            "role": "system",
            "content": "You are a rigorous assistant."
        },
        {
            "role": "user",
            "content": "Translate: Hello World"
        }
    ],
    "maxOutputTokens": 120
}'
Response Response Example
200 - 1
{
    "error": {
        "message": "string",
        "type": "string",
        "param": "string",
        "code": "string"
    }
}
Modified atĀ 2026-06-16 03:16:37
Previous
Native Claude Format
Next
Native OpenAI Format TTS
Built with