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

# List Triage changes

Start with the [Triage API guide](https://docs.coderabbit.ai/api/triage.md) for organization selection, identifier namespaces, pagination, and field meanings.

Use returned change and repository IDs unchanged when following links or narrowing the queue. A Git provider's change number or repository number is not a Triage resource ID.

Unknown assessments remain unknown when filtering. For example, a known `priority` of `none` differs from `unassigned`, and an unknown close recommendation differs from `false`.


## OpenAPI

````yaml get /v1/triage/changes
openapi: 3.0.3
info:
  title: CodeRabbit API spec
  version: 1.0.0
servers:
  - url: https://api.coderabbit.ai
security:
  - ApiKeyAuth: []
paths:
  /v1/triage/changes:
    description: >-
      Reads stored projections. Provider/view capabilities and qualifying
      assessment coverage vary; explicit unavailable providers fail closed.
      Close candidacy is separate from priority, and CodeRabbit review status is
      separate from aggregate approval. GET/HEAD have no request body.
      Unknown/duplicate query controls are rejected. Other methods return 405
      with Allow: GET, HEAD, OPTIONS. Requires a resolved viewer, Triage access
      and viewer repository scope; an API key does not grant organization-wide
      repository access. Native organization and Reviewer reads each have a
      10-second deadline; expired reads return 504.
    get:
      tags:
        - Triage
      summary: List Triage changes
      operationId: list-triage-changes
      parameters:
        - name: org_id
          in: query
          schema:
            type: string
          description: >-
            One native provider organization ID; required for workspace and
            instance keys. Organization keys default to their bound
            organization. ALL is rejected. Response meta.org_id uses this same
            native identifier namespace. Native IDs that identify multiple
            active organizations in the key's workspace or instance are denied.
            Workspace keys retain existing consumption rules: the recorded owner
            must resolve through a unique selected-provider external account to
            a current workspace admin. Clerk-only owners and native IDs from
            another provider are not implicitly translated.
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          schema:
            type: string
            maxLength: 4096
          description: >-
            Returned opaque cursor. Repeat the same filters, grouping, order,
            limit, and organization. Expires after 15 minutes; live pages may
            repeat/skip changes after reranking.
        - name: view
          in: query
          schema:
            type: string
            enum:
              - mine
              - team
            default: mine
          description: >-
            mine follows personal Triage eligibility. Use attention=required for
            the strict action queue. Team scope requires team_id and uses
            current Triage team matching.
        - name: team_id
          in: query
          schema:
            type: string
          description: Required with view=team; forbidden with view=mine.
        - name: repository_id
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: provider
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - github
                - gitlab
                - bitbucket
                - azure-devops
                - gerrit
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: priority
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - p0
                - p1
                - p2
                - p3
                - none
                - unassigned
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: close_candidate
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
              - unknown
        - name: change_type
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - bugfix
                - feature
                - refactor
                - unclassified
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: blast_radius
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - low
                - medium
                - high
                - unknown
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: merge_risk
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - low
                - medium
                - high
                - unknown
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: focus_state
          in: query
          style: form
          explode: false
          schema:
            type: array
            maxItems: 20
            items:
              type: string
              enum:
                - now
                - next
                - unassigned
          description: >-
            One comma-separated value. Different filters combine with AND;
            values within this filter combine with OR.
        - name: attention
          in: query
          schema:
            type: string
            enum:
              - all
              - required
              - waiting
              - unknown
            default: all
        - name: group_by
          in: query
          schema:
            type: string
            enum:
              - none
              - focus_state
              - priority
              - repository
              - author
            default: none
          description: >-
            Counts cover the full filtered accessible result. Grouping does not
            change global pagination.
        - name: subgroup_by
          in: query
          schema:
            type: string
            enum:
              - none
              - focus_state
              - priority
              - repository
              - author
            default: none
          description: Requires a distinct enabled group_by.
        - name: order_by
          in: query
          schema:
            type: string
            enum:
              - triage
              - priority
              - last_activity_at
              - opened_at
              - external_id
              - title
            default: triage
          description: >-
            last_activity_at is human activity only. Filtering and sorting do
            not reallocate Now/Next.
        - name: order_direction
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
          description: >-
            Omit for triage; otherwise defaults to asc for title and desc for
            other orders. Unknown values sort last.
      responses:
        '200':
          description: >-
            Successful read, including an empty collection or unknown optional
            assessments.
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriageChanges'
        '400':
          description: >-
            invalid_parameter, unknown_parameter, duplicate_parameter,
            invalid_id, missing_org_id, missing_team_id, unexpected_team_id,
            invalid_grouping, request_body_not_allowed,
            unsupported_history_type, cursor_invalid, cursor_expired,
            cursor_mismatch
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '401':
          description: authentication_required, invalid_api_key
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
            WWW-Authenticate:
              schema:
                type: string
              example: ApiKey realm="CodeRabbit"
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '403':
          description: >-
            viewer_identity_required, org_access_denied, triage_access_denied,
            capability_unavailable
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '404':
          description: change_not_found, team_not_found, route_not_found
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '406':
          description: not_acceptable
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '429':
          description: rate_limit_exceeded
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
            Retry-After:
              schema:
                type: integer
                minimum: 1
              description: Seconds before retrying.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '500':
          description: internal_error
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '502':
          description: upstream_bad_response
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '503':
          description: >-
            service_unavailable, dependency_unavailable,
            provider_connection_unavailable
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
        '504':
          description: upstream_timeout
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Server request correlation ID, matching meta.request_id.
            Cache-Control:
              schema:
                type: string
                enum:
                  - private, no-store
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/TriageProblem'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TriageChanges:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                minLength: 1
                maxLength: 255
                pattern: ^[^,\s/\p{Cc}]+$
              external_id:
                type: string
                minLength: 1
              provider:
                type: string
                enum:
                  - github
                  - gitlab
                  - bitbucket
                  - azure-devops
              provider_host:
                type: string
                minLength: 1
              url:
                anyOf:
                  - type: string
                    maxLength: 2048
                    format: uri
                  - type: string
                    nullable: true
                    enum:
                      - null
              repository:
                type: object
                properties:
                  id:
                    anyOf:
                      - type: string
                        minLength: 1
                        maxLength: 255
                        pattern: ^[^,\s/\p{Cc}]+$
                      - type: string
                        nullable: true
                        enum:
                          - null
                  owner:
                    type: string
                  name:
                    type: string
                required:
                  - id
                  - owner
                  - name
                additionalProperties: false
              title:
                anyOf:
                  - type: string
                  - type: string
                    nullable: true
                    enum:
                      - null
              state:
                type: string
                enum:
                  - open
                  - merged
                  - closed
                  - unknown
              author:
                anyOf:
                  - type: object
                    properties:
                      id:
                        anyOf:
                          - type: string
                            minLength: 1
                            maxLength: 255
                            pattern: ^[^,\s/\p{Cc}]+$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      username:
                        anyOf:
                          - type: string
                          - type: string
                            nullable: true
                            enum:
                              - null
                      name:
                        anyOf:
                          - type: string
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - id
                      - username
                      - name
                    additionalProperties: false
                  - type: string
                    nullable: true
                    enum:
                      - null
              head_revision:
                anyOf:
                  - type: string
                    minLength: 1
                  - type: string
                    nullable: true
                    enum:
                      - null
              latest_commit_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  - type: string
                    nullable: true
                    enum:
                      - null
              latest_reviewable_observed_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  - type: string
                    nullable: true
                    enum:
                      - null
              opened_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  - type: string
                    nullable: true
                    enum:
                      - null
              age_seconds:
                anyOf:
                  - type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  - type: string
                    nullable: true
                    enum:
                      - null
              last_activity_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  - type: string
                    nullable: true
                    enum:
                      - null
              last_human_activity_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  - type: string
                    nullable: true
                    enum:
                      - null
              change_type:
                anyOf:
                  - type: string
                    enum:
                      - bugfix
                      - feature
                      - refactor
                  - type: string
                    nullable: true
                    enum:
                      - null
              focus_state:
                anyOf:
                  - type: string
                    enum:
                      - now
                      - next
                  - type: string
                    nullable: true
                    enum:
                      - null
              priority:
                type: object
                properties:
                  level:
                    anyOf:
                      - type: string
                        enum:
                          - p0
                          - p1
                          - p2
                          - p3
                          - none
                      - type: string
                        nullable: true
                        enum:
                          - null
                  source:
                    anyOf:
                      - type: string
                        enum:
                          - calculated
                          - manual
                      - type: string
                        nullable: true
                        enum:
                          - null
                  reason:
                    anyOf:
                      - type: string
                      - type: string
                        nullable: true
                        enum:
                          - null
                  reason_codes:
                    type: array
                    items:
                      type: string
                  score:
                    anyOf:
                      - type: number
                        minimum: 0
                        maximum: 100
                      - type: string
                        nullable: true
                        enum:
                          - null
                  confidence:
                    anyOf:
                      - type: number
                        minimum: 0
                        maximum: 1
                      - type: string
                        nullable: true
                        enum:
                          - null
                  override:
                    anyOf:
                      - type: object
                        properties:
                          level:
                            type: string
                            enum:
                              - p0
                              - p1
                              - p2
                              - p3
                        required:
                          - level
                        additionalProperties: false
                      - type: string
                        nullable: true
                        enum:
                          - null
                required:
                  - level
                  - source
                  - reason
                  - reason_codes
                  - score
                  - confidence
                  - override
                additionalProperties: false
              close_candidate:
                type: object
                properties:
                  value:
                    anyOf:
                      - type: boolean
                      - type: string
                        nullable: true
                        enum:
                          - null
                  status:
                    type: string
                    enum:
                      - available
                      - unknown
                      - stale
                      - unsupported
                  observed_at:
                    anyOf:
                      - type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                      - type: string
                        nullable: true
                        enum:
                          - null
                  revision:
                    anyOf:
                      - type: string
                        minLength: 1
                      - type: string
                        nullable: true
                        enum:
                          - null
                  source:
                    anyOf:
                      - type: string
                        enum:
                          - manual
                          - calculated
                      - type: string
                        nullable: true
                        enum:
                          - null
                  reason:
                    anyOf:
                      - type: string
                      - type: string
                        nullable: true
                        enum:
                          - null
                required:
                  - value
                  - status
                  - observed_at
                  - revision
                  - source
                  - reason
                additionalProperties: false
              requires_attention:
                anyOf:
                  - type: boolean
                  - type: string
                    nullable: true
                    enum:
                      - null
              attention_reason_codes:
                type: array
                items:
                  type: string
              next_action:
                type: object
                properties:
                  kind:
                    anyOf:
                      - type: string
                        enum:
                          - merge
                          - review
                          - find_reviewer
                          - start_review
                          - fix_checks
                          - resolve_conflicts
                          - autofix
                          - refresh_branch
                          - update_change
                          - respond
                          - decide
                          - close
                          - follow
                          - notify
                          - none
                      - type: string
                        nullable: true
                        enum:
                          - null
                  responsible_role:
                    type: string
                    enum:
                      - author
                      - reviewer
                      - maintainer
                      - system
                      - unknown
                  responsible_users:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          anyOf:
                            - type: string
                              minLength: 1
                              maxLength: 255
                              pattern: ^[^,\s/\p{Cc}]+$
                            - type: string
                              nullable: true
                              enum:
                                - null
                        username:
                          anyOf:
                            - type: string
                            - type: string
                              nullable: true
                              enum:
                                - null
                        name:
                          anyOf:
                            - type: string
                            - type: string
                              nullable: true
                              enum:
                                - null
                      required:
                        - id
                        - username
                        - name
                      additionalProperties: false
                  reason_codes:
                    type: array
                    items:
                      type: string
                  status:
                    type: string
                    enum:
                      - available
                      - unknown
                required:
                  - kind
                  - responsible_role
                  - responsible_users
                  - reason_codes
                  - status
                additionalProperties: false
              review_status:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: string
                        enum:
                          - reviewed
                          - new_changes_since_review
                          - review_needed
                          - review_starting
                          - reviewing
                          - review_failed
                          - no_reviewable_changes
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              approval_status:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: string
                        enum:
                          - approved
                          - changes_requested
                          - review_required
                          - stale_approval
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              blast_radius:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: string
                        enum:
                          - low
                          - medium
                          - high
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              merge_risk:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: object
                        properties:
                          level:
                            type: string
                            enum:
                              - low
                              - medium
                              - high
                          score:
                            type: number
                            minimum: 0
                            maximum: 1
                          basis:
                            type: string
                            enum:
                              - direct
                              - proxy
                              - mixed
                              - unknown
                          reason:
                            anyOf:
                              - type: string
                              - type: string
                                nullable: true
                                enum:
                                  - null
                        required:
                          - level
                          - score
                          - basis
                          - reason
                        additionalProperties: false
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              security_risk:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: object
                        properties:
                          level:
                            type: string
                            enum:
                              - minimal
                              - low
                              - moderate
                              - high
                              - critical
                          reason:
                            anyOf:
                              - type: string
                              - type: string
                                nullable: true
                                enum:
                                  - null
                        required:
                          - level
                          - reason
                        additionalProperties: false
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              review_effort:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: number
                        minimum: 0
                        maximum: 1
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              review_depth:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - available
                      value:
                        type: string
                        enum:
                          - light
                          - standard
                          - deep
                          - defer
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
                  - type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - unknown
                          - stale
                          - unsupported
                      value:
                        type: string
                        nullable: true
                        enum:
                          - null
                      observed_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: string
                            nullable: true
                            enum:
                              - null
                      revision:
                        anyOf:
                          - type: string
                            minLength: 1
                          - type: string
                            nullable: true
                            enum:
                              - null
                    required:
                      - status
                      - value
                      - observed_at
                      - revision
                    additionalProperties: false
              group_key:
                anyOf:
                  - type: string
                    minLength: 1
                  - type: string
                    nullable: true
                    enum:
                      - null
              subgroup_key:
                anyOf:
                  - type: string
                    minLength: 1
                  - type: string
                    nullable: true
                    enum:
                      - null
            required:
              - id
              - external_id
              - provider
              - provider_host
              - url
              - repository
              - title
              - state
              - author
              - head_revision
              - latest_commit_at
              - latest_reviewable_observed_at
              - opened_at
              - age_seconds
              - last_activity_at
              - last_human_activity_at
              - change_type
              - focus_state
              - priority
              - close_candidate
              - requires_attention
              - attention_reason_codes
              - next_action
              - review_status
              - approval_status
              - blast_radius
              - merge_risk
              - security_risk
              - review_effort
              - review_depth
              - group_key
              - subgroup_key
            additionalProperties: false
        groups:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
                minLength: 1
              label:
                type: string
              count:
                type: integer
                minimum: 0
                exclusiveMinimum: true
                maximum: 9007199254740991
              subgroups:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                      minLength: 1
                    label:
                      type: string
                    count:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - key
                    - label
                    - count
                  additionalProperties: false
            required:
              - key
              - label
              - count
              - subgroups
            additionalProperties: false
        next_cursor:
          anyOf:
            - type: string
              minLength: 1
              maxLength: 4096
              pattern: ^[A-Za-z0-9_-]+$
            - type: string
              nullable: true
              enum:
                - null
        meta:
          type: object
          properties:
            request_id:
              type: string
              minLength: 1
            org_id:
              type: string
              minLength: 1
              maxLength: 255
              pattern: ^[^,\s/\p{Cc}]+$
            generated_at:
              type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            total_count:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            limit:
              type: integer
              minimum: 1
              maximum: 100
            view:
              type: string
              enum:
                - mine
                - team
            team_id:
              anyOf:
                - type: string
                  minLength: 1
                  maxLength: 255
                  pattern: ^[^,\s/\p{Cc}]+$
                - type: string
                  nullable: true
                  enum:
                    - null
            group_by:
              type: string
              enum:
                - none
                - focus_state
                - priority
                - repository
                - author
            subgroup_by:
              type: string
              enum:
                - none
                - focus_state
                - priority
                - repository
                - author
            order_by:
              type: string
              enum:
                - triage
                - priority
                - last_activity_at
                - opened_at
                - external_id
                - title
            order_direction:
              anyOf:
                - type: string
                  enum:
                    - asc
                    - desc
                - type: string
                  nullable: true
                  enum:
                    - null
          required:
            - request_id
            - org_id
            - generated_at
            - total_count
            - limit
            - view
            - team_id
            - group_by
            - subgroup_by
            - order_by
            - order_direction
          additionalProperties: false
      required:
        - data
        - groups
        - next_cursor
        - meta
      additionalProperties: false
    TriageProblem:
      type: object
      additionalProperties: false
      required:
        - type
        - title
        - status
        - detail
        - instance
        - code
        - request_id
      properties:
        type:
          type: string
          enum:
            - about:blank
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
          description: Request path without query values.
        code:
          type: string
          enum:
            - invalid_parameter
            - unknown_parameter
            - duplicate_parameter
            - invalid_id
            - missing_org_id
            - missing_team_id
            - unexpected_team_id
            - invalid_grouping
            - request_body_not_allowed
            - unsupported_history_type
            - cursor_invalid
            - cursor_expired
            - cursor_mismatch
            - authentication_required
            - invalid_api_key
            - viewer_identity_required
            - org_access_denied
            - triage_access_denied
            - capability_unavailable
            - change_not_found
            - team_not_found
            - route_not_found
            - method_not_allowed
            - not_acceptable
            - rate_limit_exceeded
            - internal_error
            - upstream_bad_response
            - service_unavailable
            - dependency_unavailable
            - provider_connection_unavailable
            - upstream_timeout
        request_id:
          type: string
        invalid_params:
          type: array
          items:
            type: object
            required:
              - name
              - reason
            properties:
              name:
                type: string
              reason:
                type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-coderabbitai-api-key
      description: >-
        API key for authentication. You can create an API key from the
        CodeRabbit dashboard.

````

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