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

# List incidents



## OpenAPI

````yaml /api/openapi.yaml get /api/v1/incidents
openapi: 3.1.0
info:
  title: OpenCluster Control Plane API
  version: 0.1.0
  description: HTTP contract for the OpenCluster product API and inbound webhook endpoints.
  license:
    name: Apache-2.0
servers:
  - url: http://localhost:8080
    description: Local self-hosted deployment
security: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Members
  - name: Sessions
  - name: Policy
  - name: Audit
  - name: Integration Types
  - name: Integrations
  - name: Relays
  - name: Incidents
  - name: Investigations
  - name: Conversations
  - name: Postmortems
  - name: Webhook Deliveries
  - name: Webhook Intake
  - name: Metadata
paths:
  /api/v1/incidents:
    get:
      tags:
        - Incidents
      summary: List incidents
      operationId: listIncidents
      parameters:
        - $ref: '#/components/parameters/Organization'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          $ref: '#/components/responses/IncidentList'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - SessionCookie: []
components:
  parameters:
    Organization:
      name: X-OpenCluster-Organization
      in: header
      required: true
      description: Selects the Organization whose data and membership are authorized.
      schema:
        $ref: '#/components/schemas/OrganizationID'
      example: acme-production
    Cursor:
      name: cursor
      in: query
      required: false
      description: Opaque resume position returned in the preceding page's next field.
      schema:
        type: string
        maxLength: 512
    Limit:
      name: limit
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 200
        default: 50
  responses:
    IncidentList:
      description: Incidents.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/IncidentList'
    ErrorResponse:
      description: The operation did not complete.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    OrganizationID:
      type: string
      pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
      minLength: 1
      maxLength: 63
    IncidentList:
      type: object
      additionalProperties: false
      required:
        - items
        - next
        - total
        - partial
      properties:
        next:
          oneOf:
            - type: string
              maxLength: 512
            - type: 'null'
        total:
          oneOf:
            - type: integer
              minimum: 0
            - type: 'null'
        partial:
          type: array
          items:
            type: object
            additionalProperties: false
            required:
              - field
              - reason
            properties:
              field:
                type: string
              reason:
                type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/Incident'
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          minLength: 1
          maxLength: 1024
          example: the selected Organization is not available to this caller
        reason:
          type: string
          enum:
            - credential_rejected
            - session_expired
            - session_revoked
        requires:
          type: string
          minLength: 1
          maxLength: 128
    Incident:
      type: object
      additionalProperties: false
      required:
        - id
        - integrationId
        - title
        - status
        - grouping
        - firstSeenAt
        - lastSeenAt
        - resolvedAt
        - alertEventCount
        - postmortemEligible
        - createdAt
        - updatedAt
      properties:
        id:
          $ref: '#/components/schemas/UUID'
        integrationId:
          $ref: '#/components/schemas/UUID'
        integrationName:
          type: string
          maxLength: 128
        title:
          type: string
          minLength: 1
          maxLength: 1024
        status:
          type: string
          enum:
            - open
            - resolved
            - superseded
        grouping:
          type: object
          additionalProperties: false
          required:
            - basis
            - explanation
            - key
          properties:
            basis:
              type: string
            explanation:
              type: string
            key:
              type: string
        firstSeenAt:
          $ref: '#/components/schemas/Timestamp'
        lastSeenAt:
          $ref: '#/components/schemas/Timestamp'
        resolvedAt:
          oneOf:
            - $ref: '#/components/schemas/Timestamp'
            - type: 'null'
        alertEventCount:
          type: integer
          minimum: 1
        postmortemEligible:
          type: boolean
        supersededBy:
          type: object
          additionalProperties: false
          required:
            - incidentId
            - reason
            - at
          properties:
            incidentId:
              $ref: '#/components/schemas/UUID'
            reason:
              type: string
            at:
              $ref: '#/components/schemas/Timestamp'
        createdAt:
          $ref: '#/components/schemas/Timestamp'
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
    UUID:
      type: string
      format: uuid
    Timestamp:
      type: string
      format: date-time
  securitySchemes:
    SessionCookie:
      type: apiKey
      in: cookie
      name: __Host-oc_session

````