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

# List Cloudflare Domains



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/org/cloudflare/domains
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/org/cloudflare/domains:
    get:
      tags:
        - Cloudflare
      summary: List Cloudflare Domains
      operationId: list_cloudflare_domains_api_v1_org_cloudflare_domains_get
      parameters:
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: x-ankra-organisation-id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Ankra-Organisation-Id
        - in: query
          name: credential_name
          required: false
          description: >-
            Which connected Cloudflare credential to use. Omit when the
            organisation has exactly one.
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Credential Name
        - in: query
          name: name
          required: false
          description: >-
            Resolve one domain by exact name instead of listing them all. An
            empty items array means the connected credential does not reach that
            domain.
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Name
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudflareDomainListResponse'
          description: Successful Response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '503':
          description: Cloudflare is unavailable or rate limited
components:
  schemas:
    CloudflareDomainListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CloudflareDomainResponse'
          type: array
          title: Items
        is_truncated:
          type: boolean
          title: Is Truncated
      required:
        - items
        - is_truncated
      title: CloudflareDomainListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    CloudflareDomainResponse:
      properties:
        id:
          title: Id
          type: string
        name:
          title: Name
          type: string
        status:
          type: string
          title: Status
        is_active:
          type: boolean
          title: Is Active
        paused:
          type: boolean
          title: Paused
        type:
          title: Type
          type: string
        credential_name:
          title: Credential Name
          type: string
        account_id:
          type: string
          title: Account Id
        account_name:
          type: string
          title: Account Name
        name_servers:
          items:
            type: string
          type: array
          title: Name Servers
        created_on:
          type: string
          title: Created On
        modified_on:
          type: string
          title: Modified On
      required:
        - id
        - name
        - status
        - is_active
        - paused
        - type
        - credential_name
        - name_servers
      title: CloudflareDomainResponse
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````