> ## 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 current retention period



## OpenAPI

````yaml /openapi.json get /retention/period
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:
  /retention/period:
    get:
      tags:
        - Data Retention
      summary: Get current retention period
      operationId: RetentionController_getRetentionPeriod
      parameters: []
      responses:
        '200':
          description: Returns retention period in days
          content:
            application/json:
              schema:
                type: number
        '404':
          description: User not found
        '500':
          description: Internal server error
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````