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

# List incidents

> Lists security incidents opened from policy denials, anomaly detection and session actions. Results are ordered by status, then severity, then last activity. See [Incidents](/monitor/incidents).

<Warning>
The cursor filters on `lastSeen` alone, but results are sorted by status and severity first, so paging through a mixed list can skip rows. For a complete export, page within a single `status` (and `severity`) filter. `offset` is ignored.
</Warning>

**Required permission:** `alerts:read`




## OpenAPI

````yaml /api-reference/openapi.yaml get /api/v1/incidents
openapi: 3.1.0
info:
  title: Igris Management API
  version: '1'
  description: >-
    REST API for managing Igris connections, policies, sessions, audit events
    and alerts.
servers:
  - url: https://api.igrisecurity.com
security:
  - bearerAuth: []
tags:
  - name: Connections
  - name: Policies
  - name: Sessions
  - name: Audit Events
  - name: Incidents
  - name: Webhooks
  - name: API Keys
  - name: Members
  - name: LLM Providers
  - name: LLM Cost
  - name: Observe
paths:
  /api/v1/incidents:
    get:
      tags:
        - Incidents
      summary: List incidents
      description: >
        Lists security incidents opened from policy denials, anomaly detection
        and session actions. Results are ordered by status, then severity, then
        last activity. See [Incidents](/monitor/incidents).


        <Warning>

        The cursor filters on `lastSeen` alone, but results are sorted by status
        and severity first, so paging through a mixed list can skip rows. For a
        complete export, page within a single `status` (and `severity`) filter.
        `offset` is ignored.

        </Warning>


        **Required permission:** `alerts:read`
      operationId: listIncidents
      parameters:
        - name: limit
          in: query
          description: Page size. Default 50, max 200.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - $ref: '#/components/parameters/Cursor'
        - name: status
          in: query
          schema:
            type: string
            enum:
              - open
              - investigating
              - resolved
        - name: severity
          in: query
          schema:
            type: string
            enum:
              - critical
              - high
              - medium
              - low
              - info
        - name: category
          in: query
          schema:
            type: string
            enum:
              - denial
              - anomaly
              - session
        - name: anomalyType
          in: query
          description: Snake_case detector id, such as `rate_spike`.
          schema:
            type: string
        - name: q
          in: query
          description: Matches title, summary, actor, or connection.
          schema:
            type: string
      responses:
        '200':
          description: A page of incidents.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Incident'
                  meta:
                    $ref: '#/components/schemas/CursorListMeta'
              example:
                data:
                  - id: 2b3c4d5e-0000-4000-8000-000000000007
                    title: 'Anomaly: rate spike on github-prod'
                    summary: Tool calls on github-prod are 6x above baseline.
                    status: open
                    severity: high
                    category: anomaly
                    anomalyType: rate_spike
                    connectionSlug: github-prod
                    policyName: null
                    suggestedAction: null
                    resolutionNote: null
                    eventCount: 14
                    firstSeen: '2026-01-01T00:00:00Z'
                    lastSeen: '2026-01-01T01:00:00Z'
                    resolvedAt: null
                meta:
                  total: 1
                  limit: 50
                  offset: 0
                  nextCursor: null
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    Cursor:
      name: cursor
      in: query
      description: The `meta.nextCursor` value from the previous page.
      schema:
        type: string
  schemas:
    Incident:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
        clusterKey:
          type: string
        title:
          type: string
        summary:
          type: string
        status:
          type: string
          enum:
            - open
            - investigating
            - resolved
        severity:
          type: string
          enum:
            - critical
            - high
            - medium
            - low
            - info
        severityLocked:
          type: boolean
          description: >-
            True once someone set the severity by hand. A locked severity is not
            auto-escalated.
        category:
          type: string
          enum:
            - denial
            - anomaly
            - session
        anomalyType:
          type:
            - string
            - 'null'
          description: Snake_case anomaly detector id
          such as `rate_spike`.: null
        policyId:
          type:
            - string
            - 'null'
          format: uuid
        policyName:
          type:
            - string
            - 'null'
        actorKind:
          type:
            - string
            - 'null'
        actorId:
          type:
            - string
            - 'null'
        actorName:
          type:
            - string
            - 'null'
        connectionSlug:
          type:
            - string
            - 'null'
        suggestedAction:
          type:
            - string
            - 'null'
        resolutionNote:
          type:
            - string
            - 'null'
        eventCount:
          type: integer
        firstSeen:
          type: string
          format: date-time
        lastSeen:
          type: string
          format: date-time
        resolvedAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    CursorListMeta:
      allOf:
        - $ref: '#/components/schemas/ListMeta'
        - type: object
          properties:
            nextCursor:
              type:
                - string
                - 'null'
              description: >-
                Set when the page is full. Pass it back as `cursor` for the next
                page. `null` means there is nothing more to fetch.
    ListMeta:
      type: object
      required:
        - total
        - limit
        - offset
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    ForbiddenError:
      type: object
      properties:
        error:
          type: string
          example: Forbidden
        required:
          type: string
          description: The permission the caller lacks.
          example: policies:write
  responses:
    Unauthorized:
      description: No valid session or API key, or the key's creator is no longer a member.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
    Forbidden:
      description: The caller lacks the required permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ig_...
      description: >-
        An Igris API key. It acts with the current role and permission overrides
        of the member who created it.

````

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