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

# List Conditions

List Conditions for the team resolved by your API key.

<Info>This endpoint is available only in API version <code>2026-06-01</code>. Send the <code>whitecircle-version: 2026-06-01</code> header on every request.</Info>

Filter results with `environment_id` or `state` (`Active`, `Inactive`, or `Draft`). Each result includes the current Condition revision, `environment_ids`, `policy_ids`, and `metric_ids`. The default state is `Active`.


## OpenAPI

````yaml GET /api/condition/list
openapi: 3.1.0
info:
  title: WhiteCircle API Backend
  description: 'Authentication: Bearer API Key Required'
  license:
    name: ''
  version: '2026-06-01'
servers:
  - url: https://eu.whitecircle.com
  - url: https://us.whitecircle.com
security: []
tags:
  - name: Session
    description: Session-based content checking and moderation
  - name: User
    description: User risk assessment and scoring
  - name: Policy
    description: Policy management CRUD
  - name: Metric
    description: Metric management CRUD
  - name: Artifact
    description: Standalone artifact moderation
  - name: Events
    description: Append-only event ingestion and public event lookup
  - name: Condition
    description: Metadata-driven policy routing
paths:
  /api/condition/list:
    get:
      tags:
        - Condition
      operationId: list_v1
      parameters:
        - name: whitecircle-version
          in: header
          description: API Version
          required: true
          schema:
            type: string
          example: '2026-06-01'
        - name: environment_id
          in: query
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: state
          in: query
          required: false
          schema:
            oneOf:
              - type: 'null'
              - $ref: '#/components/schemas/PublicConditionState'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublicCondition'
        '400':
          description: Bad Request
      security:
        - bearerAuth: []
components:
  schemas:
    PublicConditionState:
      type: string
      enum:
        - Active
        - Inactive
        - Draft
    PublicCondition:
      type: object
      required:
        - id
        - revision_id
        - name
        - description
        - conditions
        - state
        - created_at
        - updated_at
        - environment_ids
        - policy_ids
        - metric_ids
      properties:
        id:
          type: string
          format: uuid
        revision_id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        conditions: {}
        state:
          $ref: '#/components/schemas/PublicConditionState'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        environment_ids:
          type: array
          items:
            type: string
        policy_ids:
          type: array
          items:
            type: string
        metric_ids:
          type: array
          items:
            type: string
      example:
        conditions:
          conditions:
            - field: user.region
              operator: eq
              type: condition
              value: eu
          op: and
          type: group
        created_at: '2026-06-01T12:00:00Z'
        description: Applies stricter Policies to users in the EU
        environment_ids:
          - 117b391d-569a-4b55-8241-9f172b17a63d
        id: 019f0000-0000-7000-8000-000000000001
        metric_ids:
          - 6c0710ea-d669-49b9-9465-e52aebf95b66
        name: EU users
        policy_ids:
          - 70289e06-9111-463e-b121-7247c2b7bfbd
        revision_id: 019f0000-0000-7000-8000-0000000000f1
        state: active
        updated_at: '2026-06-01T12:00:00Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API Key required. Format: Bearer wc-your-api-key'

````