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

# Aufgabenstatus abfragen

> Status, Fortschritt und Ergebnisinformationen asynchroner Aufgaben anhand der Aufgaben-ID abfragen



## OpenAPI

````yaml de/api-manual/task-management/get-task-detail.json GET /v1/tasks/{task_id}
openapi: 3.1.0
info:
  title: Aufgabendetails-API abrufen
  description: >-
    Status, Fortschritt und Ergebnisinformationen asynchroner Aufgaben anhand
    der Aufgaben-ID abfragen
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: Produktionsumgebung
security:
  - bearerAuth: []
tags:
  - name: Aufgabenverwaltung
    description: APIs zur Verwaltung asynchroner Aufgaben
paths:
  /v1/tasks/{task_id}:
    get:
      tags:
        - Aufgabenverwaltung
      summary: Aufgabenstatus abfragen
      description: >-
        Status, Fortschritt und Ergebnisinformationen asynchroner Aufgaben
        anhand der Aufgaben-ID abfragen
      operationId: getTaskDetail
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Aufgaben-ID, ignorieren Sie {} bei der Abfrage, hängen Sie die ID
            aus dem Antworttext der asynchronen Aufgabe am Ende des Pfades an
          example: task-unified-1756817821-4x3rx6ny
      responses:
        '200':
          description: Details zum Aufgabenstatus
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDetailResponse'
        '400':
          description: Anfrageparameter-Fehler, Formatfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_task_id
                  message: Invalid task ID format, must start with 'task-unified-'
                  type: invalid_request_error
                  param: task_id
        '401':
          description: Nicht authentifiziert, Token ungültig oder abgelaufen
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Authentication required
                  type: authentication_error
        '402':
          description: Unzureichendes Kontingent, Aufladung erforderlich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: quota_exceeded
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: Kein Zugriff erlaubt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: permission_denied
                  message: You don't have permission to access this task
                  type: invalid_request_error
        '404':
          description: Ressource existiert nicht
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: task_not_found
                  message: The requested task could not be found
                  type: invalid_request_error
        '429':
          description: Anfrage-Ratenlimit überschritten
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Rate limit exceeded
                  type: evo_api_error
        '500':
          description: Interner Serverfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Failed to retrieve task status
                  type: api_error
components:
  schemas:
    TaskDetailResponse:
      type: object
      properties:
        created:
          type: integer
          description: Zeitstempel der Aufgabenerstellung
          example: 1756817821
        id:
          type: string
          description: Aufgaben-ID
          example: task-unified-1756817821-4x3rx6ny
        model:
          type: string
          description: Verwendetes Modell
          example: gemini-3.1-flash-image-preview
        object:
          type: string
          description: Aufgabentyp
          enum:
            - image.generation.task
            - video.generation.task
            - audio.generation.task
          example: image.generation.task
        progress:
          type: integer
          minimum: 0
          maximum: 100
          description: Aufgabenfortschritt in Prozent
          example: 100
        results:
          type: array
          items:
            type: string
            format: uri
          description: Aufgabenergebnisliste (wird bei Abschluss bereitgestellt)
          example:
            - http://example.com/image.jpg
        status:
          type: string
          description: Aufgabenstatus
          enum:
            - pending
            - processing
            - completed
            - failed
          example: completed
        error:
          type: object
          nullable: true
          description: >-
            Fehlerinformationen bei Aufgabenfehlschlag (nur wenn status "failed"
            ist). Hinweis: error.code ist hier ein String-Typ
            Business-Fehlercode, der sich von HTTP-Statuscodes unterscheidet.
            Die vollständige Fehlercode-Liste finden Sie in der
            Fehlercode-Referenz.
          properties:
            code:
              type: string
              description: Business-Fehlercode (String-Typ)
              example: content_policy_violation
            message:
              type: string
              description: Benutzerfreundliche Fehlerbeschreibung mit Fehlerbehebungstipps
              example: |-
                Content policy violation.
                Your request was blocked by safety filters.
            type:
              type: string
              description: Fehlertyp-Kennung, immer "task_error"
              example: task_error
        task_info:
          type: object
          description: Detaillierte Aufgabeninformationen
          properties:
            can_cancel:
              type: boolean
              description: Ob die Aufgabe abgebrochen werden kann
              example: false
        type:
          type: string
          description: Aufgabentyp
          enum:
            - image
            - video
            - audio
            - text
          example: image
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Fehlercode (String-Typ)
              example: invalid_task_id
            message:
              type: string
              description: Fehlerbeschreibungsnachricht
              example: Invalid task ID format
            type:
              type: string
              description: Fehlertyp
              example: invalid_request_error
            param:
              type: string
              description: Zugehöriger Parametername
              example: task_id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##Alle APIs erfordern Bearer-Token-Authentifizierung##


        **API-Schlüssel erhalten:**


        Besuchen Sie die
        [API-Schlüsselverwaltungsseite](https://evolink.ai/dashboard/keys), um
        Ihren API-Schlüssel zu erhalten


        **Zum Anfrage-Header hinzufügen:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````