> ## 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 全モデルインターフェース - Responses クイックスタート

> - OpenAI Responses 形式で GPT シリーズのテキストモデルを呼び出します（具体的なモデルは `model` パラメータで選択）
- 推論 + ツール呼び出しモデル。テキストと画像の混在入力に対応
- この API はサーバーサイドツールに対応：ウェブ検索、コード実行、ドキュメント検索
- 複数ターンの会話は `previous_response_id` でつなげられ、履歴を再送信する必要はありません
- 💡 ツールと全パラメータが必要ですか？[完全なパラメータドキュメント](./responses-reference)をご覧ください

<Note>
  **BaseURL**：デフォルトの BaseURL は `https://direct.evolink.ai` で、テキストモデルへの対応が優れており、長時間接続をサポートします。`https://api.evolink.ai` はマルチモーダルの主力エンドポイントで、テキストモデルに対しては代替アドレスとして使用されます。
</Note>


## OpenAPI

````yaml ja/api-manual/language-series/gpt/responses/responses-quickstart.json POST /v1/responses
openapi: 3.1.0
info:
  title: GPT 全モデルインターフェース - Responses クイックスタート
  description: >-
    OpenAI 互換の Responses API で GPT シリーズのテキストモデルを呼び出すためのクイックスタート例（サーバーサイドツールはこの
    API で提供されます）。
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://direct.evolink.ai
    description: 本番環境（推奨）
  - url: https://api.evolink.ai
    description: 代替 URL
security:
  - bearerAuth: []
tags:
  - name: Responses
    description: サーバーサイドツール対応 OpenAI Responses API
paths:
  /v1/responses:
    post:
      tags:
        - Responses
      summary: GPT クイックレスポンス（全モデル）
      description: >-
        - OpenAI Responses 形式で GPT シリーズのテキストモデルを呼び出します（具体的なモデルは `model`
        パラメータで選択）

        - 推論 + ツール呼び出しモデル。テキストと画像の混在入力に対応

        - この API はサーバーサイドツールに対応：ウェブ検索、コード実行、ドキュメント検索

        - 複数ターンの会話は `previous_response_id` でつなげられ、履歴を再送信する必要はありません

        - 💡 ツールと全パラメータが必要ですか？[完全なパラメータドキュメント](./responses-reference)をご覧ください
      operationId: gptResponsesQuickstart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponsesQuickRequest'
      responses:
        '200':
          description: レスポンス生成成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponsesResponse'
        '400':
          description: 無効なリクエストパラメータ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 400
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 未認可、トークンが無効または期限切れです
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 401
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: クォータ不足
          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: レート制限を超えました
          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: サーバー内部エラー
          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: サービス一時利用不可
          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: |-
            呼び出すモデル：

            | モデル ID | コンテキストウィンドウ | 位置づけ |
            |---|---|---|
            | `gpt-5.6-sol` | 1,050,000 | GPT-5.6 ファミリー、最先端の推論 |
            | `gpt-5.6-terra` | 1,050,000 | GPT-5.6 ファミリー、バランス型の本番運用 |
            | `gpt-5.6-luna` | 1,050,000 | GPT-5.6 ファミリー、高スループットとコスト管理 |
            | `gpt-5.5` | 400,000 | 汎用推論モデル |
            | `gpt-5.4` | 128,000 | 汎用推論モデル |
            | `gpt-5.2` | 400,000 | 汎用推論モデル |
            | `gpt-5.1` | 400,000 | 汎用推論モデル |
          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: |-
            モデル入力：単なる文字列、または入力項目の配列。

            マルチモーダルとツール結果の完全な書き方は[完全なパラメータドキュメント](./responses-reference)をご覧ください。

            ```json
            "input": [
              {
                "role": "user",
                "content": [
                  { "type": "input_text", "text": "この画像には何が写っていますか？" },
                  { "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: このレスポンスの一意の ID。次のターンの `previous_response_id` として使用できます
          example: resp_0f5c2b2c20c39e8a006a7ef545443081979e478b10927984b5
        object:
          type: string
          enum:
            - response
          description: レスポンスタイプ
          example: response
        status:
          type: string
          description: 応答ステータス
          enum:
            - completed
            - incomplete
            - failed
          example: completed
        model:
          type: string
          description: 実際に使用されたモデル名
          example: gpt-5.6-sol
        created_at:
          type: integer
          description: 作成タイムスタンプ
          example: 1786705221
        output:
          type: array
          description: >-
            生成順に並んだ出力項目：`reasoning` 項目（推論サマリー）、ツール呼び出し項目、そして最後に `output_text`
            の内容を含む `message` 項目。
          items:
            $ref: '#/components/schemas/OutputItem'
        usage:
          $ref: '#/components/schemas/Usage'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
              description: HTTP ステータスエラーコード
            message:
              type: string
              description: エラーの説明
            type:
              type: string
              description: エラータイプ
            param:
              type: string
              description: 関連パラメータ名
            fallback_suggestion:
              type: string
              description: エラー発生時の提案
    OutputItem:
      type: object
      properties:
        id:
          type: string
          description: 出力アイテムの識別子
        type:
          type: string
          description: 出力アイテムのタイプ
          enum:
            - reasoning
            - message
            - web_search_call
            - code_interpreter_call
            - file_search_call
            - function_call
          example: message
        status:
          type: string
          description: 出力アイテムのステータス
          example: completed
        content:
          type: array
          description: メッセージ内容のパート（`output_text`）。`message` アイテムに出力されます
          items:
            type: object
    Usage:
      type: object
      description: >-
        Token 使用量の統計。Prompt キャッシュは自動的に有効となり、キャッシュにヒットした入力 token
        はより安いキャッシュ料金で課金されます。
      properties:
        input_tokens:
          type: integer
          description: 入力トークン数
          example: 18
        output_tokens:
          type: integer
          description: 出力トークン数（推論トークンを含む）
          example: 42
        total_tokens:
          type: integer
          description: トークンの合計数
          example: 60
        input_tokens_details:
          type: object
          description: 入力トークンの詳細情報
          properties:
            cached_tokens:
              type: integer
              description: キャッシュにヒットした token 数
              example: 0
        output_tokens_details:
          type: object
          description: 出力トークンの詳細情報
          properties:
            reasoning_tokens:
              type: integer
              description: 推論トークン数
              example: 16
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##すべてのAPIにBearer Token認証が必要です##

        **APIキーの取得：**

        [APIキー管理ページ](https://evolink.ai/dashboard/keys)にアクセスしてAPIキーを取得してください

        **リクエストヘッダーに追加：**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````