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

# Export monitors data



## OpenAPI

````yaml /openapi.json post /monitors/export
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/export:
    post:
      tags:
        - Monitors
      summary: Export monitors data
      operationId: MonitorController_exportMonitors
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportDto'
      responses:
        '200':
          description: Monitors exported successfully
      security:
        - bearer: []
components:
  schemas:
    ExportDto:
      type: object
      properties:
        format:
          type: string
          enum:
            - json
            - csv
            - excel
          description: Format of the export file
        startDate:
          type: string
          description: Start date for filtering data (ISO format)
        endDate:
          type: string
          description: End date for filtering data (ISO format)
        fields:
          description: Fields to include in the export
          type: array
          items:
            type: string
        projectId:
          type: string
          description: Optional project ID for filtering
      required:
        - format
        - startDate
        - endDate
        - fields
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````