---
title: "Get Specific Dynamic Config Rule"
method: GET
path: "/console/v1/dynamic_configs/{id}/rule/{ruleId}"
tags: ["Dynamic Configs"]
---

# Get Specific Dynamic Config Rule

`GET /console/v1/dynamic_configs/{id}/rule/{ruleId}`

## Path parameters

- `id` string, required
- `ruleId` string, required

## Response `200`

Get Specific Dynamic Config Rule Response

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — A single result.
    - `name` string, required — The name of this rule.
    - `passPercentage` number, double, 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

## Changes

- **2026-08-26** `1fd471fa03cc` — 26 warning
  - added the new `after` enum value to the `allOf[subschema #2]/data/conditions/items/operator` response property for the response status `200`
  - added the new `any` enum value to the `allOf[subschema #2]/data/conditions/items/operator` response property for the response status `200`
  - added the new `any_case_sensitive` enum value to the `allOf[subschema #2]/data/conditions/items/operator` response property for the response status `200`
  - added the new `array_contains_all` enum value to the `allOf[subschema #2]/data/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/rule/:ruleId/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)
