> ## 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.

# Read one incident



## OpenAPI

````yaml /openapi.yaml get /api/v1/incidents/{id}
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/{id}:
    get:
      tags:
        - Recovery Agent
      summary: Read one incident
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The incident
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Incident'
        '404':
          description: Unknown id, or the recovery agent is off
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)

````