---
title: "Get Dynamic Config Rules"
method: GET
path: "/console/v1/dynamic_configs/{id}/rules"
tags: ["Dynamic Configs"]
---

# Get Dynamic Config Rules

`GET /console/v1/dynamic_configs/{id}/rules`

## Path parameters

- `id` string, required

## Response `200`

Get Dynamic Config Rules Response

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object[], required — Array of results returned by pagination limit.
    - `rules` object[], required
      - `name` string, required — The name of this rule.
      - `passPercentage` number, required — Of the users that meet the conditions of this rule, what percent should return true.
      - `conditions` object[], required — An array of Condition objects.
        - `targetValue` union
          - string[]
          - number[]
          - string
          - number
        - `operator` 'any' | 'none' | 'any_case_sensitive' | 'none_case_sensitive' | 'str_contains_any' | 'str_contains_none' | 'gt' | 'lt' | 'lte' | 'gte' | 'version_gt' | 'version_lt' | 'version_gte' | 'version_lte' | 'version_eq' | 'after' | 'before' | 'on' | 'is_null' | 'is_not_null' | 'str_matches' | 'encoded_any' | 'array_contains_any' | 'array_contains_none' | 'array_contains_all' | 'not_array_contains_all'
        - `field` string, nullable
        - `customID` string, nullable
        - `type` 'app_version' | 'browser_name' | 'browser_version' | 'country' | 'custom_field' | 'email' | 'environment_tier' | 'fails_gate' | 'fails_segment' | 'ip_address' | 'locale' | 'os_name' | 'os_version' | 'passes_gate' | 'passes_segment' | 'public' | 'time' | 'unit_id' | 'user_id' | 'user_agent' | 'url' | 'javascript' | 'device_model' | 'target_app' | 'experiment_group', required
      - `environments` string[], nullable — The environments this rule is enabled for.
      - `id` string — The Statsig ID of this rule.
      - `baseID` string — The base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
      - `returnValue` object — The return value of the rule.
      - `completedAutomatedRollouts` object[] — Read-only: Automated rollout phases that have already completed.
        - `time` number
        - `passPercent` number, required
      - `pendingAutomatedRollouts` object[] — Read-only: Automated rollout phases that are scheduled but not yet complete.
        - `time` number
        - `passPercent` number, required
  - `pagination` PaginationResponseMetadataDto, required
    - `itemsPerPage` number, double, required
    - `pageNumber` number, double, required
    - `nextPage` string, nullable, required
    - `previousPage` string, nullable, required
    - `totalItems` number, double
    - `all` string

## Changes

- **2026-08-26** `1fd471fa03cc` — 26 warning
  - added the new `after` enum value to the `allOf[subschema #2]/data/items/rules/items/conditions/items/operator` response property for the response status `200`
  - added the new `any` enum value to the `allOf[subschema #2]/data/items/rules/items/conditions/items/operator` response property for the response status `200`
  - added the new `any_case_sensitive` enum value to the `allOf[subschema #2]/data/items/rules/items/conditions/items/operator` response property for the response status `200`
  - added the new `array_contains_all` enum value to the `allOf[subschema #2]/data/items/rules/items/conditions/items/operator` response property for the response status `200`
  - …22 more

[Change history](https://skmtc.dev/statsig/apis/console-api/changes/console/v1/dynamic_configs/:id/rules/get.md)

---

[API](https://skmtc.dev/statsig/apis/console-api.md) · [All operations](https://skmtc.dev/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/statsig/console-api/revisions/1fd471fa03cc/schema)
