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

# Statutory register statuses for a month

> Statutory register statuses for a month



## OpenAPI

````yaml /api-reference/openapi.json get /api/compliance/registers
openapi: 3.1.0
info:
  title: ontime API
  description: APIs for ontime.v2
  version: 1.0.0
servers:
  - url: https://app.ontime.hosai.app
    description: Production
security:
  - apiKey: []
paths:
  /api/compliance/registers:
    get:
      tags:
        - Compliance
      summary: Statutory register statuses for a month
      description: Statutory register statuses for a month
      operationId: getApiComplianceRegisters
      parameters:
        - in: query
          name: month
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    key:
                      type: string
                      enum:
                        - muster
                        - wage
                        - ot
                        - leave
                        - sne
                    name:
                      type: string
                    formNo:
                      type: string
                    description:
                      type: string
                    period:
                      type: string
                    periodLabel:
                      type: string
                    status:
                      type: string
                      enum:
                        - UpToDate
                        - Stale
                        - Overdue
                        - NotGenerated
                    rowCount:
                      anyOf:
                        - type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        - type: 'null'
                    generatedAt:
                      anyOf:
                        - type: string
                        - type: 'null'
                  required:
                    - key
                    - name
                    - formNo
                    - description
                    - period
                    - periodLabel
                    - status
                    - rowCount
                    - generatedAt
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: ont_ API key
      description: >-
        Issue keys in Settings → API. Send them as `Authorization: Bearer ont_…`
        (an `X-Api-Key: ont_…` header is also accepted). Session-cookie routes
        are used by the OnTime web apps and are shown for completeness.

````