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

# config/validate

> Validate a live or published configuration using server-side account context. Requires the `configuration:read` permission.



## OpenAPI

````yaml https://provisioning.cloudx.io/api/v1/openapi.yaml get /config/validate
openapi: 3.0.3
info:
  title: CloudX API
  description: >-
    Use the CloudX API to retrieve reporting metrics, inspect auctions, and read
    account configuration.
  version: 1.0.0
servers:
  - url: https://provisioning.cloudx.io/api/v1
security: []
tags:
  - name: Authentication
    description: Validate CloudX API keys and inspect authenticated account details.
  - name: Reporting
    description: >-
      Retrieve CloudX reporting metrics for apps, ad units, bidders, and
      exports.
  - name: Configuration
    description: Read live, draft, and published CloudX account configuration.
  - name: Auction Inspection
    description: Inspect auctions, rounds, bids, and related delivery details.
paths:
  /config/validate:
    get:
      tags:
        - Configuration
      summary: config/validate
      description: >-
        Validate a live, published, or draft configuration using server-side
        account context. Requires the `configuration:read` permission.
      operationId: getConfigValidate
      parameters:
        - in: query
          name: id
          description: Configuration row ID. Can address a published version or draft.
          schema:
            type: string
        - in: query
          name: version
          description: Published configuration version number.
          schema:
            type: integer
            format: int32
          example: 12
      responses:
        '200':
          description: Config validation result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigValidationResponse'
        '400':
          description: Invalid request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Config not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ConfigValidationResponse:
      type: object
      required:
        - valid
        - error_count
        - warning_count
        - issues
        - yaml
      properties:
        valid:
          type: boolean
        error_count:
          type: integer
          format: int32
        warning_count:
          type: integer
          format: int32
        issues:
          type: array
          items:
            $ref: '#/components/schemas/ConfigValidationIssue'
        yaml:
          type: string
        source:
          $ref: '#/components/schemas/ConfigValidationSource'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    ConfigValidationIssue:
      type: object
      required:
        - code
        - message
        - severity
      properties:
        code:
          type: string
        path:
          type: string
        message:
          type: string
        severity:
          type: string
          enum:
            - error
            - warning
        line:
          type: integer
          format: int32
        column:
          type: integer
          format: int32
        length:
          type: integer
          format: int32
    ConfigValidationSource:
      type: object
      properties:
        type:
          type: string
        name:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Create or manage API keys in [CloudX
        Settings](https://app.cloudx.io/settings/api-keys).
      x-default: YOUR_CLOUDX_API_KEY

````