> ## Documentation Index
> Fetch the complete documentation index at: https://evolink.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT All-Model API - Responses Quickstart

> - Call GPT series text models using the OpenAI Responses format (select the specific model via the `model` parameter)
- Reasoning + tool-calling models, supporting mixed text and image input
- This API supports server-side tools: web search, code execution, and file search
- Multi-turn conversations can be chained with `previous_response_id`, with no need to re-upload the history
- 💡 Need tools and the full parameter set? See the [full parameter reference](./responses-reference)

<Note>
  **BaseURL**: The default BaseURL is `https://direct.evolink.ai`, which has better support for text models and long-lived connections. `https://api.evolink.ai` is the primary endpoint for multimodal services and serves as a fallback address for text models.
</Note>


## OpenAPI

````yaml en/api-manual/language-series/gpt/responses/responses-quickstart.json POST /v1/responses
openapi: 3.1.0
info:
  title: GPT All-Model API - Responses Quickstart
  description: >-
    Quickstart examples for calling GPT series text models through the
    OpenAI-compatible Responses API (server-side tools are provided on this
    API).
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://direct.evolink.ai
    description: Production (recommended)
  - url: https://api.evolink.ai
    description: Alternative URL
security:
  - bearerAuth: []
tags:
  - name: Responses
    description: OpenAI Responses API with server-side tools
paths:
  /v1/responses:
    post:
      tags:
        - Responses
      summary: GPT Quick Response (All Models)
      description: >-
        - Call GPT series text models using the OpenAI Responses format (select
        the specific model via the `model` parameter)

        - Reasoning + tool-calling models, supporting mixed text and image input

        - This API supports server-side tools: web search, code execution, and
        file search

        - Multi-turn conversations can be chained with `previous_response_id`,
        with no need to re-upload the history

        - 💡 Need tools and the full parameter set? See the [full parameter
        reference](./responses-reference)
      operationId: gptResponsesQuickstart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponsesQuickRequest'
      responses:
        '200':
          description: Response generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponsesResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 400
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: Unauthorized, invalid or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 401
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Insufficient quota
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 402
                  message: Insufficient quota
                  type: insufficient_quota_error
                  fallback_suggestion: https://evolink.ai/dashboard/billing
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 429
                  message: Rate limit exceeded
                  type: rate_limit_error
                  fallback_suggestion: retry after 60 seconds
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 500
                  message: Internal server error
                  type: internal_server_error
                  fallback_suggestion: try again later
        '503':
          description: Service temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 503
                  message: Service temporarily unavailable
                  type: service_unavailable_error
                  fallback_suggestion: retry after 30 seconds
components:
  schemas:
    ResponsesQuickRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          description: >-
            Model to call:


            | Model ID | Context window | Positioning |

            |---|---|---|

            | `gpt-5.6-sol` | 1,050,000 | GPT-5.6 family, frontier reasoning |

            | `gpt-5.6-terra` | 1,050,000 | GPT-5.6 family, balanced production
            |

            | `gpt-5.6-luna` | 1,050,000 | GPT-5.6 family, high throughput and
            cost control |

            | `gpt-5.5` | 400,000 | General-purpose reasoning model |

            | `gpt-5.4` | 128,000 | General-purpose reasoning model |

            | `gpt-5.2` | 400,000 | General-purpose reasoning model |

            | `gpt-5.1` | 400,000 | General-purpose reasoning model |
          enum:
            - gpt-5.6-sol
            - gpt-5.6-terra
            - gpt-5.6-luna
            - gpt-5.5
            - gpt-5.4
            - gpt-5.2
            - gpt-5.1
          example: gpt-5.6-sol
        input:
          description: >-
            Model input: a plain string, or an array of input items.


            For the full multimodal and tool-result syntax, see the [full
            parameter reference](./responses-reference).


            ```json

            "input": [
              {
                "role": "user",
                "content": [
                  { "type": "input_text", "text": "What is in this image?" },
                  { "type": "input_image", "image_url": "https://example.com/photo.png" }
                ]
              }
            ]

            ```
          oneOf:
            - type: string
            - type: array
              items:
                type: object
          example: Explain quantum entanglement in one sentence.
    ResponsesResponse:
      type: object
      properties:
        id:
          type: string
          description: >-
            Unique ID of this response, which can be used as
            `previous_response_id` for the next turn
          example: resp_0f5c2b2c20c39e8a006a7ef545443081979e478b10927984b5
        object:
          type: string
          enum:
            - response
          description: Response type
          example: response
        status:
          type: string
          description: Response status
          enum:
            - completed
            - incomplete
            - failed
          example: completed
        model:
          type: string
          description: Actual model name used
          example: gpt-5.6-sol
        created_at:
          type: integer
          description: Creation timestamp
          example: 1786705221
        output:
          type: array
          description: >-
            Output items in generation order: the `reasoning` item (reasoning
            summary), tool call items, and finally the `message` item containing
            `output_text` content.
          items:
            $ref: '#/components/schemas/OutputItem'
        usage:
          $ref: '#/components/schemas/Usage'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
              description: HTTP status error code
            message:
              type: string
              description: Error description
            type:
              type: string
              description: Error type
            param:
              type: string
              description: Related parameter name
            fallback_suggestion:
              type: string
              description: Suggestion when error occurs
    OutputItem:
      type: object
      properties:
        id:
          type: string
          description: Output item identifier
        type:
          type: string
          description: Output item type
          enum:
            - reasoning
            - message
            - web_search_call
            - code_interpreter_call
            - file_search_call
            - function_call
          example: message
        status:
          type: string
          description: Output item status
          example: completed
        content:
          type: array
          description: Message content parts (`output_text`), present on `message` items
          items:
            type: object
    Usage:
      type: object
      description: >-
        Token usage statistics. Prompt caching applies automatically, and cached
        input tokens are billed at the lower cached rate.
      properties:
        input_tokens:
          type: integer
          description: Number of input tokens
          example: 18
        output_tokens:
          type: integer
          description: Number of output tokens (includes reasoning tokens)
          example: 42
        total_tokens:
          type: integer
          description: Total number of tokens
          example: 60
        input_tokens_details:
          type: object
          description: Detailed input token information
          properties:
            cached_tokens:
              type: integer
              description: Number of tokens served from cache
              example: 0
        output_tokens_details:
          type: object
          description: Detailed output token information
          properties:
            reasoning_tokens:
              type: integer
              description: Number of reasoning tokens
              example: 16
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##All APIs require Bearer Token authentication##


        **Get API Key:**


        Visit [API Key Management Page](https://evolink.ai/dashboard/keys) to
        get your API Key


        **Add to request header:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````