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

# Get project incidents

> Get list of incidents for a project with optional status filter



## OpenAPI

````yaml /openapi.json get /projects/{id}/incidents
openapi: 3.0.0
info:
  title: Uptime Monitor API
  description: >-
    API documentation for the Uptime Monitor application. This API allows users
    to create and manage website monitors, perform checks, and view statistics.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.justanotheruptime.com
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: projects
    description: Project management endpoints
  - name: monitors
    description: Monitor management endpoints
  - name: checks
    description: Check-related endpoints
  - name: statistics
    description: Monitor statistics endpoints
paths:
  /projects/{id}/incidents:
    get:
      tags:
        - Projects
      summary: Get project incidents
      description: Get list of incidents for a project with optional status filter
      operationId: ProjectController_getIncidents
      parameters:
        - name: id
          required: true
          in: path
          description: Project ID
          schema:
            type: string
        - name: status
          required: false
          in: query
          description: Filter incidents by status
          schema:
            enum:
              - active
              - resolved
            type: string
        - name: limit
          required: false
          in: query
          description: Number of incidents to return
          schema:
            type: number
      responses:
        '200':
          description: Project incidents
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProjectIncidentDto'
        '401':
          description: Unauthorized
        '404':
          description: Project not found
      security:
        - bearer: []
components:
  schemas:
    ProjectIncidentDto:
      type: object
      properties:
        id:
          type: string
          description: Incident ID
        title:
          type: string
          description: Incident title
        description:
          type: string
          description: Incident description
        status:
          type: string
          description: Current incident status
        severity:
          type: string
          description: Incident severity
        createdAt:
          format: date-time
          type: string
          description: When incident was created
        resolvedAt:
          format: date-time
          type: string
          description: When incident was resolved
        monitor:
          type: object
          description: Associated monitor
          properties:
            id:
              type: string
            name:
              type: string
            url:
              type: string
      required:
        - id
        - title
        - description
        - status
        - severity
        - createdAt
        - monitor
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````