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

# Responses-Antwort erstellen

> OpenAI-Responses-kompatibler Endpunkt. Unterstützt Responses-natives input, reasoning-Steuerung, integrierte Tools wie web search sowie das offizielle Responses-SSE bei stream=true.



## OpenAPI

````yaml /de/openapi.json post /v1/responses
openapi: 3.1.0
info:
  title: APIAny.AI Öffentliche API
  version: 1.0.0
  description: >-
    Öffentliche API von APIAny.AI für Modellaggregation, asynchrone
    Medienaufgaben, Chat-Generierung, Guthabenabfrage und Aufgabenabfrage.
servers:
  - url: https://apiany.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Models
    description: Öffentlicher Modellkatalog.
  - name: Chat
    description: Endpunkte für Textgenerierung und chatkompatible Funktionen.
  - name: Images
    description: Endpunkte für Bildgenerierung und Bildbearbeitung.
  - name: Videos
    description: Endpunkte für Videogenerierung.
  - name: Moderation
    description: Image safety and moderation endpoints.
  - name: Tasks
    description: Abfrage asynchroner Aufgaben.
  - name: Account
    description: Konto- und Guthabenabfrage.
  - name: Free APIs
    description: Free utility APIs protected by API key rate limits.
paths:
  /v1/responses:
    post:
      tags:
        - Chat
      summary: Responses-Antwort erstellen
      description: >-
        OpenAI-Responses-kompatibler Endpunkt. Unterstützt Responses-natives
        input, reasoning-Steuerung, integrierte Tools wie web search sowie das
        offizielle Responses-SSE bei stream=true.
      operationId: createResponse
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponsesRequest'
            examples:
              reasoning:
                value:
                  model: gpt-5.5
                  input: >-
                    Überprüfe dieses API-Design und nenne die wichtigsten
                    Risiken.
                  reasoning:
                    effort: high
                    summary: auto
                  text:
                    verbosity: medium
              webSearch:
                value:
                  model: gpt-5.5
                  input: >-
                    Was hat sich in der neuesten Dokumentation der OpenAI
                    Responses API geändert?
                  tools:
                    - type: web_search_preview
      responses:
        '200':
          description: OpenAI-compatible Responses response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponsesResponse'
            text/event-stream:
              schema:
                type: string
                description: >-
                  Bei stream=true wird ein Responses-SSE-Ereignisstrom
                  zurückgegeben.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    ResponsesRequest:
      type: object
      additionalProperties: true
      properties:
        model:
          type: string
          example: gpt-5.5
        input:
          description: >-
            Responses-Eingabe. Kann eine Zeichenkette oder ein Array aus
            message-/tool-result-Items sein.
          oneOf:
            - type: string
            - type: array
              items:
                type: object
                additionalProperties: true
        instructions:
          type: string
          description: System- oder Entwickleranweisungen.
        max_output_tokens:
          type: integer
          minimum: 1
          description: Maximale Anzahl an Ausgabe-Token.
        temperature:
          type: number
          minimum: 0
          maximum: 2
        top_p:
          type: number
          minimum: 0
          maximum: 1
        reasoning:
          type: object
          additionalProperties: true
          properties:
            effort:
              type: string
              enum:
                - none
                - minimal
                - low
                - medium
                - high
                - xhigh
              description: reasoning-Stärke für unterstützte Modelle.
            summary:
              type: string
              enum:
                - auto
                - concise
                - detailed
        text:
          type: object
          additionalProperties: true
          properties:
            verbosity:
              type: string
              enum:
                - low
                - medium
                - high
            format:
              type: object
              additionalProperties: true
        tools:
          type: array
          description: >-
            Responses tools, einschließlich function tools und integrierter
            Tools wie web_search_preview.
          items:
            type: object
            additionalProperties: true
        tool_choice:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        stream:
          type: boolean
          description: Bei true werden OpenAI-Responses-SSE-Ereignisse zurückgegeben.
        metadata:
          type: object
          additionalProperties: true
      required:
        - model
        - input
    ResponsesResponse:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        object:
          type: string
          example: response
        created_at:
          type: integer
        status:
          type: string
        model:
          type: string
        output:
          type: array
          items:
            type: object
            additionalProperties: true
        output_text:
          type: string
        usage:
          $ref: '#/components/schemas/TokenUsage'
      required:
        - id
        - object
        - status
        - model
        - output
    TokenUsage:
      type: object
      properties:
        prompt_tokens:
          type: integer
        completion_tokens:
          type: integer
        total_tokens:
          type: integer
        input_tokens:
          type: integer
        output_tokens:
          type: integer
        cached_input_tokens:
          type: integer
      additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request
                - auth_error
                - rate_limit
                - insufficient_quota
                - content_policy
                - timeout
                - network_error
                - service_error
                - billable_error
                - unknown
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            code:
              type:
                - string
                - 'null'
          required:
            - type
            - message
      required:
        - error
  responses:
    BadRequest:
      description: Ungültige Anfrageparameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Fehlender oder ungültiger API-Key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Ratenlimit überschritten.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````