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

# List Team Task Attempts

> Return every produce+evaluate snapshot for a TeamTask, oldest first.

Lets the UI show prior revision outputs without them being overwritten
by each re-run of the cycle.



## OpenAPI

````yaml /openapi.json get /api/v1/teams/{team_id}/tasks/{task_id}/attempts
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/teams/{team_id}/tasks/{task_id}/attempts:
    get:
      tags:
        - Teams
      summary: List Team Task Attempts
      description: |-
        Return every produce+evaluate snapshot for a TeamTask, oldest first.

        Lets the UI show prior revision outputs without them being overwritten
        by each re-run of the cycle.
      operationId: >-
        list_team_task_attempts_api_v1_teams__team_id__tasks__task_id__attempts_get
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamTaskAttemptListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamTaskAttemptListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/TeamTaskAttemptResponse'
          type: array
          title: Items
      type: object
      required:
        - items
      title: TeamTaskAttemptListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TeamTaskAttemptResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        team_task_id:
          type: string
          format: uuid
          title: Team Task Id
        attempt_number:
          type: integer
          title: Attempt Number
        output_data:
          additionalProperties: true
          type: object
          title: Output Data
        quality_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Quality Score
        evaluation_notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Evaluation Notes
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - team_task_id
        - attempt_number
        - created_at
      title: TeamTaskAttemptResponse
      description: |-
        One historical produce+evaluate cycle for a TeamTask.

        Lets the approval UI show prior revisions instead of only the latest
        overwrite. Rows are append-only — never mutated after creation.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````