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

# List of Cyber Policies

> Retrieve a paginated list of cyber/DR policies for a specific customer with optional filtering and sorting.



## OpenAPI

````yaml /api-reference/disaster-recovery/dr-api.json get /external/api/v1/policies/cyber/{cid_ext}/customer
openapi: 3.1.0
info:
  title: Cloudidr Disaster Recovery (DR) API
  description: API for managing disaster recovery and cyber resilience policies.
  version: 1.0.0
servers:
  - url: https://public-api.cloudidr.com
    description: Production server
security:
  - bearerAuth: []
paths:
  /external/api/v1/policies/cyber/{cid_ext}/customer:
    get:
      summary: List of Cyber Policies
      description: >-
        Retrieve a paginated list of cyber/DR policies for a specific customer
        with optional filtering and sorting.
      parameters:
        - name: cid_ext
          in: path
          required: true
          schema:
            type: string
          description: >-
            External customer ID. This value uniquely identifies the customer
            whose cyber policies are being queried.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: >-
            The page number for paginated results. Defaults to 1 if not
            provided.
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
            default: 10
          description: The number of records per page. Defaults to 10 if not provided.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
          description: >-
            Sorts the policies by their creation date in descending order by
            default.
        - name: policyStatus
          in: query
          required: false
          schema:
            type: string
            enum:
              - READY_FOR_PURCHASE
              - ACTIVE
              - CANCELED
              - COMPLETED
          description: >-
            The status code for filtering policies. Allowed values:
            READY_FOR_PURCHASE, ACTIVE, CANCELED, COMPLETED.
        - name: policyName
          in: query
          required: false
          schema:
            type: string
          description: Filter results by the policy name.
      responses:
        '200':
          description: Success - Returns paginated list of cyber policies
          content:
            application/json:
              examples:
                withResults:
                  summary: Success with results
                  description: Paginated list of cyber policies
                noResults:
                  summary: Success - No results found
                  value:
                    page: 0
                    pageSize: 20
                    totalPageNumbers: 0
                    totalElements: 0
                    values: []
        '401':
          description: Unauthorized - Unable to process access token
          content:
            application/json:
              example:
                error:
                  code: '401'
                  message: Unauthorized
                  details:
                    timestamp: '2025-03-04T17:01:01'
                    description: Unable to process access token
        '500':
          description: Internal Server Error - Unexpected error occurred
          content:
            application/json:
              example:
                error:
                  code: '500'
                  message: Internal Server Error
                  details:
                    timestamp: '2025-03-04T17:17:08'
                    description: Unexpected error. Our team is working on it
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````