> ## 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 all monitors for the authenticated user



## OpenAPI

````yaml /openapi.json get /monitors
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:
  /monitors:
    get:
      tags:
        - Monitors
      summary: Get all monitors for the authenticated user
      operationId: MonitorController_findAll
      parameters:
        - name: projectId
          required: false
          in: query
          description: Filter monitors by project
          schema:
            type: string
        - name: page
          required: false
          in: query
          description: Page number (1-based)
          schema:
            default: 1
            type: number
        - name: limit
          required: false
          in: query
          description: Number of monitors per page
          schema:
            default: 10
            type: number
      responses:
        '200':
          description: Return all monitors.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponseDto'
      security:
        - bearer: []
components:
  schemas:
    PaginatedResponseDto:
      type: object
      properties:
        items:
          description: Array of items
          type: array
          items:
            type: string
        total:
          type: number
          description: Total number of items
        page:
          type: number
          description: Current page number
        limit:
          type: number
          description: Number of items per page
        totalPages:
          type: number
          description: Total number of pages
        hasNextPage:
          type: boolean
          description: Flag indicating if there is a next page
        hasPreviousPage:
          type: boolean
          description: Flag indicating if there is a previous page
      required:
        - items
        - total
        - page
        - limit
        - totalPages
        - hasNextPage
        - hasPreviousPage
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````