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

> Get comprehensive statistics for a project including monitors, incidents, team, and uptime



## OpenAPI

````yaml /openapi.json get /projects/{id}/statistics
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}/statistics:
    get:
      tags:
        - Projects
      summary: Get project statistics
      description: >-
        Get comprehensive statistics for a project including monitors,
        incidents, team, and uptime
      operationId: ProjectController_getStatistics
      parameters:
        - name: id
          required: true
          in: path
          description: Project ID
          schema:
            type: string
      responses:
        '200':
          description: Project statistics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectStatisticsDto'
        '401':
          description: Unauthorized
        '404':
          description: Project not found
      security:
        - bearer: []
components:
  schemas:
    ProjectStatisticsDto:
      type: object
      properties:
        monitors:
          type: object
          description: Monitor statistics
          properties:
            total:
              type: number
            up:
              type: number
            down:
              type: number
            maintenance:
              type: number
        incidents:
          type: object
          description: Incident statistics
          properties:
            total:
              type: number
            active:
              type: number
            resolved:
              type: number
        team:
          type: object
          description: Team statistics
          properties:
            total:
              type: number
            admins:
              type: number
            users:
              type: number
            projectManagers:
              type: number
        uptime:
          type: object
          description: Uptime statistics
          properties:
            last24h:
              type: number
            last7d:
              type: number
            last30d:
              type: number
            current:
              type: number
        performance:
          type: object
          description: Performance statistics
          properties:
            avgResponseTime:
              type: number
            p95ResponseTime:
              type: number
            p99ResponseTime:
              type: number
            minResponseTime:
              type: number
            maxResponseTime:
              type: number
            responseTimeByRegion:
              type: object
              additionalProperties:
                type: number
      required:
        - monitors
        - incidents
        - team
        - uptime
        - performance
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````