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

# List reviewed pull requests with their review runs

> One group per reviewed pull request, newest activity first. Grouping and the review-run status are resolved server-side so the listing can be paginated by group. needs_attention marks a group whose newest run failed; it does not affect ordering.



## OpenAPI

````yaml api-reference/openapi.account.json GET /pr-reviews
openapi: 3.1.0
info:
  title: Aether Account & Integrations API
  version: 0.1.0
  description: >-
    Account, billing, and integration-management endpoints used by the Aether
    web app and CLI. Root-mounted; NOT part of the versioned /v1 contract.
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /pr-reviews:
    get:
      tags:
        - pr-reviews
      summary: List reviewed pull requests with their review runs
      description: >-
        One group per reviewed pull request, newest activity first. Grouping and
        the review-run status are resolved server-side so the listing can be
        paginated by group. needs_attention marks a group whose newest run
        failed; it does not affect ordering.
      operationId: listPRReviews
      parameters:
        - explode: false
          in: query
          name: page
          schema:
            format: int64
            minimum: 1
            type: integer
        - explode: false
          in: query
          name: limit
          schema:
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - explode: false
          in: query
          name: project_id
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  groups:
                    items:
                      $ref: '#/components/schemas/PRReviewGroup'
                    type: array
                  pagination:
                    $ref: '#/components/schemas/PaginationMeta'
                required:
                  - groups
                  - pagination
                type: object
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    PRReviewGroup:
      additionalProperties: false
      properties:
        additions:
          format: int64
          minimum: 0
          type: integer
        checks_failed:
          format: int64
          minimum: 0
          type: integer
        checks_passed:
          format: int64
          minimum: 0
          type: integer
        checks_total:
          format: int64
          minimum: 0
          type: integer
        ci_status:
          $ref: '#/components/schemas/TaskCIStatus'
        deletions:
          format: int64
          minimum: 0
          type: integer
        html_url:
          type: string
        latest_created_at:
          format: date-time
          type: string
        needs_attention:
          type: boolean
        pr_number:
          format: int64
          minimum: 1
          type: integer
        pr_state:
          $ref: '#/components/schemas/TaskGitHubPRState'
        reviews:
          items:
            $ref: '#/components/schemas/PRReviewRun'
          type: array
        title:
          type: string
      required:
        - pr_number
        - title
        - html_url
        - checks_passed
        - checks_failed
        - checks_total
        - additions
        - deletions
        - latest_created_at
        - needs_attention
        - reviews
      type: object
    PaginationMeta:
      additionalProperties: false
      properties:
        has_more:
          type: boolean
        page:
          format: int64
          minimum: 1
          type: integer
      required:
        - page
        - has_more
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
      type: object
    TaskCIStatus:
      enum:
        - pending
        - passed
        - failed
      type: string
    TaskGitHubPRState:
      enum:
        - open
        - closed
        - merged
      type: string
    PRReviewRun:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        duration_seconds:
          format: int64
          minimum: 0
          type: integer
        error:
          type: string
        id:
          format: uuid
          type: string
        status:
          $ref: '#/components/schemas/ReviewRunStatus'
        trigger:
          $ref: '#/components/schemas/TaskReviewTrigger'
      required:
        - id
        - status
        - created_at
      type: object
    ReviewRunStatus:
      enum:
        - reviewing
        - awaiting_input
        - completed
        - failed
        - cancelled
        - superseded
        - archived
      type: string
    TaskReviewTrigger:
      enum:
        - automatic
        - comment_command
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````