---
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` string
        - `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

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/versions/3189f450c93b/schema)
