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

# List recovery-agent incidents

> Incidents the platform opened for failed, stale or anomalous data flows, newest first. Read-only — only the platform opens incidents. `enabled` is false while RECOVERY_AGENT_ENABLED is off.



## OpenAPI

````yaml /openapi.yaml get /api/v1/incidents
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.28.0
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/incidents:
    get:
      tags:
        - Recovery Agent
      summary: List recovery-agent incidents
      description: >-
        Incidents the platform opened for failed, stale or anomalous data flows,
        newest first. Read-only — only the platform opens incidents. `enabled`
        is false while RECOVERY_AGENT_ENABLED is off.
      parameters:
        - in: query
          name: state
          schema:
            type: string
          description: '`open` (any active state) or a specific state name'
        - in: query
          name: limit
          schema:
            type: integer
            default: 50
            maximum: 200
      responses:
        '200':
          description: Incidents
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                  incidents:
                    type: array
                    items:
                      $ref: '#/components/schemas/Incident'
components:
  schemas:
    Incident:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
            - tap_failure
            - pipeline_failure
            - stale
            - volume
        resourceType:
          type: string
        resource:
          type: string
        openedAt:
          type: string
        state:
          type: string
          enum:
            - open
            - diagnosing
            - proposed
            - awaiting_approval
            - executing
            - verifying
            - resolved
            - failed
            - abandoned
        trigger:
          type: object
        steps:
          type: array
          items:
            type: object
            properties:
              ts:
                type: string
              phase:
                type: string
              summary:
                type: string
              detail:
                type: string
              approvalId:
                type: string
        classification:
          type: string
        proposal:
          type: object
        aiCalls:
          type: integer
        actionsTaken:
          type: integer
        awaitingApprovalIds:
          type: array
          items:
            type: string
        closedAt:
          type: string
        outcome:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````