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

# List review tasks

> Returns review tasks, newest first, filtered by `status`, `workflowId` or `runId`. `runId` also matches the tasks of sub-workflows the run called. `page` starts at 1; `pageSize` defaults to 20, at most 100. `decision` is set once a task is `approved` or `rejected`.

Requires the `reviews:read` [scope](/api-reference/authentication#scopes). Filter by `runId` to follow the reviews of one run, including those of [reusable sections](/guides/reusable-sections) it called. See [polling a run](/api-reference/polling-runs#3-follow-review-tasks) for paging.


## OpenAPI

````yaml GET /review-tasks
openapi: 3.1.1
info:
  title: Ingestly API
  description: >-
    Public Ingestly API. Authenticate every request with an API key in the
    `X-Api-Key` header. A key belongs to one organization and carries scopes
    (such as `workflows:trigger` or `runs:read`); each operation requires one
    scope, and a key without it is rejected with 403. Errors use RFC 7807
    problem details.
  version: 1.0.0
servers:
  - url: https://api.ingestly.ai
security:
  - ApiKey: []
tags:
  - name: Workflows
  - name: Runs
  - name: Review Tasks
  - name: Events
  - name: Documents
paths:
  /review-tasks:
    get:
      tags:
        - Review Tasks
      summary: List review tasks
      description: >-
        Returns review tasks, newest first, filtered by `status`, `workflowId`
        or `runId`. `runId` also matches the tasks of sub-workflows the run
        called. `page` starts at 1; `pageSize` defaults to 20, at most 100.
        `decision` is set once a task is `approved` or `rejected`.
      operationId: listReviewTasks
      parameters:
        - name: status
          in: query
          schema:
            enum:
              - pending
              - in_review
              - approved_pending_resume
              - rejected_pending_resume
              - approved
              - rejected
              - resume_failed
              - cancelled
            type: string
        - name: workflowId
          in: query
          schema:
            type: string
            format: uuid
        - name: runId
          in: query
          schema:
            type: string
            format: uuid
        - name: page
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          headers:
            X-Correlation-ID:
              description: >-
                Server-generated request identifier. Quote it when contacting
                support.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedResponseOfGetReviewTasksResponse'
        '400':
          description: >-
            Bad Request. `page` is less than 1 or too large, `pageSize` is not
            between 1 and 100, or `status` is not a review task status.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetailResponse'
        '401':
          description: >-
            Unauthorized. The API key is missing, invalid, expired or
            deactivated.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetailResponse'
        '403':
          description: >-
            Forbidden. The API key lacks the `reviews:read` scope, or the plan
            does not include API access.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetailResponse'
        '429':
          description: >-
            Too Many Requests. The plan's rate limit was exceeded; retry after
            the seconds in Retry-After.
          headers:
            Retry-After:
              description: Seconds until the rate limit window resets.
              schema:
                type: integer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetailResponse'
        '500':
          description: Internal Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetailResponse'
components:
  schemas:
    PagedResponseOfGetReviewTasksResponse:
      required:
        - count
        - pages
        - data
      type: object
      properties:
        count:
          type: integer
          format: int32
        pages:
          type: integer
          format: int32
        data:
          type: array
          items:
            $ref: '#/components/schemas/GetReviewTasksResponse'
    ProblemDetailResponse:
      required:
        - status
        - title
        - type
        - instance
        - traceId
      type: object
      properties:
        status:
          type: integer
          format: int32
        title:
          type: string
        type:
          type: string
        instance:
          type: string
        traceId:
          type: string
        detail:
          type:
            - 'null'
            - string
        errors:
          type:
            - 'null'
            - object
          additionalProperties:
            type: array
            items:
              type: string
    GetReviewTasksResponse:
      required:
        - id
        - runId
        - rootRunId
        - workflowId
        - documentId
        - status
        - round
        - createdOn
      type: object
      properties:
        id:
          examples:
            - 0199a6c3-1d2e-7f30-9a4b-5c6d7e8f9a0b
          type: string
          format: uuid
        runId:
          examples:
            - 0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b
          type: string
          format: uuid
        rootRunId:
          examples:
            - 0199a6c2-4b7d-7e01-8f3a-2c4d6e8f0a1b
          type: string
          format: uuid
        workflowId:
          examples:
            - 0199a6c1-9e2f-7c3d-8a4b-1c2d3e4f5a6b
          type: string
          format: uuid
        documentId:
          examples:
            - 0199a6c2-3f1e-7b2a-9c4d-5e6f7a8b9c0d
          type: string
          format: uuid
        status:
          examples:
            - pending
          enum:
            - pending
            - in_review
            - approved_pending_resume
            - rejected_pending_resume
            - approved
            - rejected
            - resume_failed
            - cancelled
          type: string
        round:
          examples:
            - 1
          type: integer
          format: int32
        createdOn:
          examples:
            - '2026-10-02T14:03:20+00:00'
          type: string
          format: date-time
        completedOn:
          type:
            - 'null'
            - string
          format: date-time
        decision:
          oneOf:
            - type: 'null'
            - enum:
                - approved
                - rejected
              type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: X-Api-Key
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.