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

# Retrieve Deadlines

> Use this endpoint to list all deadlines. You can filter by status and paginate the results.

<Note>
  These endpoints power deadline management in the **Console**. You can also call them directly to integrate deadlines into your own systems.
</Note>


## OpenAPI

````yaml en/openapi/v3-current/reporter.yaml get /v1/deadlines
openapi: 3.1.0
info:
  title: Reporter
  description: ''
  version: 2.1.2
servers:
  - url: https://reporter.sandbox.lerian.net
security: []
tags: []
paths:
  /v1/deadlines:
    get:
      tags:
        - Deadlines API
      summary: Retrieve Deadlines
      description: >-
        Use this endpoint to list all deadlines. You can filter by status and
        paginate the results.
      parameters:
        - name: status
          in: query
          description: >-
            Filter deadlines by status. Allowed values: `pending`, `overdue`,
            `delivered`.
          required: false
          schema:
            type: string
            enum:
              - pending
              - overdue
              - delivered
        - name: limit
          in: query
          description: >-
            Number of records returned per page. Must be an integer greater than
            or equal to 1.
          required: false
          example: 10
          schema:
            type: integer
            default: 10
        - name: page
          in: query
          description: >-
            Page number to be returned. Must be an integer greater than or equal
            to 1.
          required: false
          example: 1
          schema:
            type: integer
            default: 1
        - $ref: '#/components/parameters/Authorization'
        - $ref: '#/components/parameters/XOrganizationId'
      responses:
        '200':
          description: The list of deadlines in the system.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    description: List of deadlines returned for the current page.
                    items:
                      $ref: '#/components/schemas/Deadline'
                  page:
                    type: integer
                    description: Number of the page returned.
                  limit:
                    type: integer
                    description: Maximum number of records returned per page.
                  total:
                    type: integer
                    description: Number of records returned on the current page.
          headers: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Error0019:
                  $ref: '#/components/examples/Error0019'
                Error0024:
                  $ref: '#/components/examples/Error0024'
      security: []
components:
  parameters:
    Authorization:
      name: Authorization
      in: header
      description: >-
        The authorization token in the 'Bearer <token>' format.  


        **Important:** This header is required if your environment has Access
        Manager enabled. For more information, refer to the [Access
        Manager](/en/access-manager) documentation.
      required: false
      schema:
        type: string
    XOrganizationId:
      name: X-Organization-id
      in: header
      description: The unique identifier of the Organization associated with the request.
      required: true
      example: 019c96a0-0a98-7287-9a31-786e0809c769
      schema:
        type: string
  schemas:
    Deadline:
      type: object
      description: Details about a deadline.
      properties:
        id:
          type: string
          description: Unique identifier of the deadline (UUID).
        name:
          type: string
          description: Human-readable name of the deadline.
        description:
          type: string
          description: Description of the deadline.
        type:
          type: string
          description: Type of the deadline (e.g., `regulatory`, `custom`).
        frequency:
          type: string
          description: How often the deadline recurs (e.g., `monthly`, `annual`).
        dueDate:
          type: string
          description: The date and time when the deadline is due, in RFC 3339 format.
        color:
          type: string
          description: Color used to visually identify the deadline (hex format).
        notifyDaysBefore:
          type: integer
          description: Number of days before the due date when notifications start.
        monthsOfYear:
          type: array
          description: Months of the year (1-12) in which the deadline applies.
          items:
            type: integer
        templateId:
          type: string
          description: >-
            Unique identifier of the template used to fulfill the deadline
            (UUID).
        templateName:
          type: string
          description: Name of the template used to fulfill the deadline.
        status:
          type: string
          description: >-
            Current status of the deadline (e.g., `pending`, `overdue`,
            `delivered`).
        active:
          type: boolean
          description: Whether the deadline is active.
        deliveredAt:
          type: string
          description: Timestamp marking when the deadline was delivered, if applicable.
        createdAt:
          type: string
          description: Timestamp marking when the deadline was created.
        updatedAt:
          type: string
          description: Timestamp marking the last update to the deadline.
    Error:
      type: object
      properties:
        code:
          type: string
          description: A unique, stable identifier for the error.
        title:
          type: string
          description: A brief summary of the issue.
        message:
          type: string
          description: Detailed guidance for resolving the error.
      description: Response message error.
      required:
        - code
        - title
        - message
  examples:
    Error0019:
      summary: Invalid Query Parameter
      value:
        code: TPL-0019
        title: Invalid Query Parameter
        message: >-
          One or more query parameters are in an incorrect format. Please check
          the following parameters '%v' and ensure they meet the required format
          before trying again.
    Error0024:
      summary: Pagination Limit Exceeded
      value:
        code: TPL-0024
        title: Pagination Limit Exceeded
        message: >-
          The pagination limit exceeds the maximum allowed of %v items per page.
          Please verify the limit and try again.

````