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

# Lists incidents with optional filters.



## OpenAPI

````yaml /specs/infrastructure.json get /incidents
openapi: 3.1.0
info:
  title: resq-api
  description: ''
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  version: 0.1.0
servers: []
security: []
tags:
  - name: resq-backend
    description: ResQ Infrastructure API
  - name: auth
    description: Authentication endpoints
  - name: incidents
    description: Incident management endpoints
  - name: evidence
    description: Evidence management endpoints
  - name: blockchain
    description: Blockchain query endpoints
  - name: solana
    description: Solana program endpoints (PoD + airspace)
paths:
  /incidents:
    get:
      tags:
        - incidents
      summary: Lists incidents with optional filters.
      operationId: list_incidents
      parameters:
        - name: start_time
          in: query
          description: >-
            Unix timestamp lower bound (inclusive) for filtering by creation
            time.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
        - name: end_time
          in: query
          description: >-
            Unix timestamp upper bound (inclusive) for filtering by creation
            time.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
        - name: severity
          in: query
          description: Filter by severity level (e.g. "low", "high").
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: status
          in: query
          description: Filter by lifecycle status (e.g. "open", "resolved").
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: limit
          in: query
          description: Maximum number of results to return.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int32
            minimum: 0
      responses:
        '200':
          description: List of incidents
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IncidentResponse'
components:
  schemas:
    IncidentResponse:
      type: object
      description: Response for a single incident.
      required:
        - id
        - incident_type
        - severity
        - status
        - created_at
        - evidence_count
        - blockchain_records
      properties:
        blockchain_records:
          type: array
          items:
            type: string
          description: Blockchain transaction hashes anchoring this incident.
        created_at:
          type: string
          description: RFC 3339 creation timestamp.
        evidence_count:
          type: integer
          format: int32
          description: Number of evidence items associated with this incident.
          minimum: 0
        id:
          type: string
          description: Unique incident identifier.
        incident_type:
          type: string
          description: Type classification (e.g. "fire", "flood").
        location:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Location'
              description: Geographic location where the incident occurred.
        severity:
          type: string
          description: Severity level (e.g. "low", "high", "critical").
        status:
          type: string
          description: Lifecycle status (e.g. "open", "resolved").
    Location:
      type: object
      description: Geographic location data.
      required:
        - latitude
        - longitude
      properties:
        altitude:
          type:
            - number
            - 'null'
          format: double
          description: Altitude in metres above sea level.
        latitude:
          type: number
          format: double
          description: Decimal latitude in degrees.
        longitude:
          type: number
          format: double
          description: Decimal longitude in degrees.

````