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

# Describe Capacity

> This response provides detailed view information for a schedule policy, including policy details, region settings, instances, dates, disaster recovery events, and pricing.



## OpenAPI

````yaml /api-reference/flex-compute/flex-api.json get /external/api/v1/flexcompute/describe/{cidr_id}
openapi: 3.1.0
info:
  title: Cloudidr FlexCompute API
  description: API for managing compute schedule policies and capacity reservations.
  version: 1.0.0
servers:
  - url: https://public-api.cloudidr.com
    description: Production server
security:
  - bearerAuth: []
paths:
  /external/api/v1/flexcompute/describe/{cidr_id}:
    get:
      summary: Describe Capacity
      description: >-
        This response provides detailed view information for a schedule policy,
        including policy details, region settings, instances, dates, disaster
        recovery events, and pricing.
      parameters:
        - name: cidr_id
          in: path
          required: true
          schema:
            type: string
          description: >-
            A unique identifier representing the schedule policy or customer
            view. This ID is used to retrieve detailed view information.
      responses:
        '200':
          description: Success - Returns detailed view information for a schedule policy
        '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
        '404':
          description: >-
            Not Found - The specified cidr_id does not correspond to any
            existing schedule policy view
          content:
            application/json:
              example:
                error:
                  code: '404'
                  message: Not Found
                  details:
                    timestamp: '2025-03-04T17:15:55'
                    description: Cidr 123 not found
        '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

````