> ## 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 a pull request's activity

> Lists a pull request's history newest first from Aether's own records, paged by cursor, with nothing fetched from GitHub.

Use this tool when you need to:
- Show what happened on a pull request: the authoring task's events, review runs finishing, feedback handed to the agent, GitHub review verdicts and the merge
- Trace how a pull request went back and forth between Aether's review and its authoring agent

Examples:
- GET /pull-requests/{pullRequestID}/activity
- GET /pull-requests/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/activity?org_id=0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09&limit=100

Hints:
- pullRequestID is the pull request's uuid; org_id (uuid) names an owning organization; limit is 1 to 200, 50 when omitted; cursor is the previous page's next_cursor. The schema answers 422 for a value outside those formats and bounds, and the handler 422 for a malformed cursor.
- Task rows come from the resolved organization's tasks; verdicts and the merge are the pull request's own. Each item is a union on kind: task_event (one of the authoring task's events, in the words getTask uses), review_run_completed and review_run_failed (named by task_id and run_number), dispatched (a delivered feedback dispatch), github_review (every stored GitHub review verdict, human or bot) and merged. next_cursor is null on the last page.
- Use listPullRequestGithubDispatches instead for the dispatch ledger with its fix requests, listPullRequestGithubThreads for the review comments, and listPullRequestVerificationEvents for the checks the agents recorded.
- Any member of an owning organization of the pull request (one whose task published or reviewed it, or with a project on its repository) may call it, a viewer included; reading a connected repository is an org right, so no GitHub connection is needed.
- A pull request that does not exist, one no organization of the caller owns and an org_id that does not own it answer the same 404, and omitting org_id while more than one of the caller's organizations owns it is 422 org_id_required.
- When no owner admits the caller, a billing member is refused with 403 org_role_insufficient and a member of a suspended organization with 403 org_suspended; an agent host's grant is refused with 403 agent_host_route_not_allowed, and 503 answers when the membership check is unavailable.



## OpenAPI

````yaml api-reference/openapi.json GET /pull-requests/{pullRequestID}/activity
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /pull-requests/{pullRequestID}/activity:
    get:
      tags:
        - pull-requests
      summary: List a pull request's activity
      description: >-
        Lists a pull request's history newest first from Aether's own records,
        paged by cursor, with nothing fetched from GitHub.


        Use this tool when you need to:

        - Show what happened on a pull request: the authoring task's events,
        review runs finishing, feedback handed to the agent, GitHub review
        verdicts and the merge

        - Trace how a pull request went back and forth between Aether's review
        and its authoring agent


        Examples:

        - GET /pull-requests/{pullRequestID}/activity

        - GET
        /pull-requests/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/activity?org_id=0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09&limit=100


        Hints:

        - pullRequestID is the pull request's uuid; org_id (uuid) names an
        owning organization; limit is 1 to 200, 50 when omitted; cursor is the
        previous page's next_cursor. The schema answers 422 for a value outside
        those formats and bounds, and the handler 422 for a malformed cursor.

        - Task rows come from the resolved organization's tasks; verdicts and
        the merge are the pull request's own. Each item is a union on kind:
        task_event (one of the authoring task's events, in the words getTask
        uses), review_run_completed and review_run_failed (named by task_id and
        run_number), dispatched (a delivered feedback dispatch), github_review
        (every stored GitHub review verdict, human or bot) and merged.
        next_cursor is null on the last page.

        - Use listPullRequestGithubDispatches instead for the dispatch ledger
        with its fix requests, listPullRequestGithubThreads for the review
        comments, and listPullRequestVerificationEvents for the checks the
        agents recorded.

        - Any member of an owning organization of the pull request (one whose
        task published or reviewed it, or with a project on its repository) may
        call it, a viewer included; reading a connected repository is an org
        right, so no GitHub connection is needed.

        - A pull request that does not exist, one no organization of the caller
        owns and an org_id that does not own it answer the same 404, and
        omitting org_id while more than one of the caller's organizations owns
        it is 422 org_id_required.

        - When no owner admits the caller, a billing member is refused with 403
        org_role_insufficient and a member of a suspended organization with 403
        org_suspended; an agent host's grant is refused with 403
        agent_host_route_not_allowed, and 503 answers when the membership check
        is unavailable.
      operationId: listPullRequestActivity
      parameters:
        - in: path
          name: pullRequestID
          required: true
          schema:
            format: uuid
            type: string
        - description: >-
            The pull request's owning organization to act in: the org_id the
            PullRequest carries. Omitted, getPullRequest and the review page's
            operations (its review, file, head snapshot and stack) act in the
            owning organization getPullRequest ranks first, and a console
            operation refuses with 422 org_id_required when more than one of the
            caller's organizations owns the pull request.
          explode: false
          in: query
          name: org_id
          schema:
            description: >-
              The pull request's owning organization to act in: the org_id the
              PullRequest carries. Omitted, getPullRequest and the review page's
              operations (its review, file, head snapshot and stack) act in the
              owning organization getPullRequest ranks first, and a console
              operation refuses with 422 org_id_required when more than one of
              the caller's organizations owns the pull request.
            format: uuid
            type: string
        - explode: false
          in: query
          name: cursor
          schema:
            minLength: 1
            type: string
        - explode: false
          in: query
          name: limit
          schema:
            default: 50
            format: int64
            maximum: 200
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivityPage'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/PullRequestsErrorResponse'
                  - $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Not Found
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PullRequestsErrorResponse'
          description: Service Unavailable
components:
  schemas:
    ActivityPage:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/ActivityEvent'
          type: array
        next_cursor:
          minLength: 1
          type:
            - string
            - 'null'
      required:
        - items
        - next_cursor
      type: object
    PullRequestsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - account_deleting
            - aether_inference_unserved
            - agent_pr_blocked
            - agent_pr_pending
            - agent_profile_changed
            - agent_starts_off
            - app_identity_missing
            - attribution_unavailable
            - bad_gateway
            - bad_request
            - caller_inactive
            - chat_archived
            - chat_settings_fixed
            - chats_not_addable
            - checkout_not_archivable
            - cli_upgrade_required
            - client_outdated
            - computer_cli_outdated
            - computer_starts_no_agents
            - computer_starts_no_forks
            - computer_unreachable
            - conflict
            - connection_creator_only
            - connection_harness_mismatch
            - connection_not_held
            - contents_write_required
            - continuation_failed
            - continuation_unavailable
            - control_forbidden
            - credential_kind_not_admitted
            - download_unsupported
            - embeddings_unavailable
            - fix_not_requested
            - fix_requests_unrecorded
            - forbidden
            - fork_branch_delete_unsupported
            - fork_forbidden
            - gateway_timeout
            - github_failed
            - github_identity_required
            - github_push_access_required
            - gone
            - handed_branch_protected
            - head_moved
            - html_render_nul_byte
            - html_render_too_large
            - idempotency_key_conflict
            - idempotency_key_reused
            - idle_compaction_not_pending
            - idle_compaction_skipped
            - inference_proxy_unavailable
            - insufficient_credits
            - insufficient_inference_balance
            - internal_error
            - invalid_request
            - last_queued_message
            - live_protocol_unsupported
            - main_chat_permanent
            - mcp_server_not_connected
            - merge_when_ready_requires_pr_review
            - message_not_queued
            - method_not_allowed
            - mode_forbidden
            - name_follows_session
            - no_checkout_on_computer
            - no_dispatch_target
            - not_acceptable
            - not_found
            - not_implemented
            - onboarding_already_completed
            - onboarding_requirements_missing
            - org_id_required
            - org_role_insufficient
            - org_suspended
            - payment_required
            - pending_input_answered
            - pr_automation_unsupported
            - pr_review_actor_required
            - pr_review_connection_spent
            - pr_review_publish_forbidden
            - precondition_failed
            - project_has_no_repository
            - project_required
            - pull_request_closed
            - pull_request_mirror_failed
            - pull_request_not_mirrored
            - question_answers
            - queued_stop_requires_discard
            - rate_limited
            - reasoning_effort_fixed
            - request_canceled
            - request_timeout
            - request_too_large
            - review_name_follows_pull_request
            - sandbox_deleted
            - sandbox_failed
            - sandbox_needs_message
            - service_unavailable
            - stack_cycle
            - stack_too_large
            - stack_two_parents
            - stale_execution
            - stale_or_indeterminate
            - stale_pending_input
            - stream_delivery_gap
            - stream_event_conflict
            - task_awaiting_message
            - task_awaiting_tool_response
            - task_backed_by_work_tree
            - task_connection_disconnected
            - task_creator_deleted
            - task_fork_refused
            - task_has_no_repository
            - task_ineligible
            - task_not_accepting_messages
            - task_not_pinnable
            - task_not_started
            - task_settings_changed
            - task_start_failed
            - task_start_pending
            - teleport_unavailable
            - terminal_chat_continuation_refused
            - too_many_live_connections
            - unauthenticated
            - unsigned_aether_head
            - unsigned_commit
            - unsupported_changes
            - unsupported_media_type
            - untyped_error
            - user_suspended
            - validation_failed
            - workspace_git_unavailable
            - workspace_gone
            - workspace_rejected
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    ActivityEvent:
      discriminator:
        mapping:
          dispatched: '#/components/schemas/ActivityDispatchedEvent'
          github_review: '#/components/schemas/ActivityGitHubReviewEvent'
          merged: '#/components/schemas/ActivityMergedEvent'
          review_run_completed: '#/components/schemas/ActivityReviewRunCompletedEvent'
          review_run_failed: '#/components/schemas/ActivityReviewRunFailedEvent'
          task_event: '#/components/schemas/ActivityTaskEvent'
        propertyName: kind
      oneOf:
        - $ref: '#/components/schemas/ActivityTaskEvent'
        - $ref: '#/components/schemas/ActivityReviewRunCompletedEvent'
        - $ref: '#/components/schemas/ActivityReviewRunFailedEvent'
        - $ref: '#/components/schemas/ActivityDispatchedEvent'
        - $ref: '#/components/schemas/ActivityGitHubReviewEvent'
        - $ref: '#/components/schemas/ActivityMergedEvent'
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    ActivityDispatchedEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        dispatch:
          discriminator:
            mapping:
              ci_head: '#/components/schemas/TaskGitHubDispatchCiHead'
              issue_comment: '#/components/schemas/TaskGitHubDispatchIssueComment'
              review: '#/components/schemas/TaskGitHubDispatchReview'
              review_comment: '#/components/schemas/TaskGitHubDispatchReviewComment'
            propertyName: kind
          oneOf:
            - $ref: '#/components/schemas/TaskGitHubDispatchCiHead'
            - $ref: '#/components/schemas/TaskGitHubDispatchReview'
            - $ref: '#/components/schemas/TaskGitHubDispatchReviewComment'
            - $ref: '#/components/schemas/TaskGitHubDispatchIssueComment'
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - dispatched
          type: string
        task_id:
          format: uuid
          type: string
      required:
        - kind
        - key
        - at
        - task_id
        - dispatch
      type: object
    ActivityGitHubReviewEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        author_is_bot:
          type: boolean
        author_login:
          minLength: 1
          type: string
        commit_id:
          pattern: ^[0-9a-f]{40}$
          type: string
        findings_count:
          format: int64
          minimum: 0
          type: integer
        github_review_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        html_url:
          format: uri
          pattern: ^[hH][tT][tT][pP][sS]?://
          type: string
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - github_review
          type: string
        run:
          $ref: '#/components/schemas/ReviewRunRef'
        state:
          enum:
            - APPROVED
            - CHANGES_REQUESTED
            - COMMENTED
            - DISMISSED
          type: string
        verdict:
          enum:
            - COMMENT
            - APPROVE
            - REQUEST_CHANGES
          type: string
      required:
        - kind
        - key
        - at
        - github_review_id
        - author_login
        - author_is_bot
        - state
        - html_url
      type: object
    ActivityMergedEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - merged
          type: string
        merged_when_ready:
          $ref: '#/components/schemas/ActivityMergedWhenReady'
      required:
        - kind
        - key
        - at
      type: object
    ActivityReviewRunCompletedEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - review_run_completed
          type: string
        run_number:
          format: int64
          minimum: 1
          type: integer
        task_id:
          format: uuid
          type: string
      required:
        - kind
        - key
        - at
        - task_id
        - run_number
      type: object
    ActivityReviewRunFailedEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - review_run_failed
          type: string
        message:
          minLength: 1
          pattern: \S
          type: string
        run_number:
          format: int64
          minimum: 1
          type: integer
        task_id:
          format: uuid
          type: string
      required:
        - kind
        - key
        - at
        - task_id
        - run_number
        - message
      type: object
    ActivityTaskEvent:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type: string
        key:
          minLength: 1
          type: string
        kind:
          enum:
            - task_event
          type: string
        message:
          minLength: 1
          pattern: \S
          type: string
        task_id:
          format: uuid
          type: string
        type:
          enum:
            - done
            - error
            - question
            - stop
            - workspace_lifecycle
            - workspace_warning
            - ci_passed
            - ci_failed
          type: string
      required:
        - kind
        - key
        - at
        - task_id
        - type
        - message
      type: object
    TaskGitHubDispatchCiHead:
      additionalProperties: false
      properties:
        dispatched_at:
          format: date-time
          type: string
        head_sha:
          minLength: 1
          type: string
        id:
          format: uuid
          type: string
        kind:
          enum:
            - ci_head
          type: string
        message_id:
          format: uuid
          type: string
        source:
          enum:
            - auto
            - manual
          type: string
      required:
        - id
        - kind
        - head_sha
        - source
        - dispatched_at
      type: object
    TaskGitHubDispatchIssueComment:
      additionalProperties: false
      properties:
        dispatched_at:
          format: date-time
          type: string
        github_comment_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        id:
          format: uuid
          type: string
        kind:
          enum:
            - issue_comment
          type: string
        message_id:
          format: uuid
          type: string
        source:
          enum:
            - auto
            - manual
          type: string
      required:
        - id
        - kind
        - github_comment_id
        - source
        - dispatched_at
      type: object
    TaskGitHubDispatchReview:
      additionalProperties: false
      properties:
        dispatched_at:
          format: date-time
          type: string
        github_review_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        id:
          format: uuid
          type: string
        kind:
          enum:
            - review
          type: string
        message_id:
          format: uuid
          type: string
        source:
          enum:
            - auto
            - manual
          type: string
      required:
        - id
        - kind
        - github_review_id
        - source
        - dispatched_at
      type: object
    TaskGitHubDispatchReviewComment:
      additionalProperties: false
      properties:
        dispatched_at:
          format: date-time
          type: string
        github_comment_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        id:
          format: uuid
          type: string
        kind:
          enum:
            - review_comment
          type: string
        message_id:
          format: uuid
          type: string
        source:
          enum:
            - auto
            - manual
          type: string
      required:
        - id
        - kind
        - github_comment_id
        - source
        - dispatched_at
      type: object
    ReviewRunRef:
      additionalProperties: false
      properties:
        run_number:
          format: int64
          minimum: 1
          type: integer
        task_id:
          format: uuid
          type: string
      required:
        - task_id
        - run_number
      type: object
    ActivityMergedWhenReady:
      additionalProperties: false
      description: >-
        Set when merge_when_ready recorded this merge as its outcome: the head
        merged and the merge commit GitHub made. It names no merger.
      properties:
        head_sha:
          minLength: 1
          type: string
        merge_sha:
          minLength: 1
          type: string
      required:
        - head_sha
        - merge_sha
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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