---
title: List Dynamic Configs
description: List Dynamic Configs
product: general
token_estimate: 3217
---
# List Dynamic Configs

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

## List Dynamic Configs

**GET** `/console/v1/dynamic_configs`

Full URL: `https://statsigapi.net/console/v1/dynamic_configs`

List Dynamic Configs

## Authorizations

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| STATSIG-API-KEY | string | Yes | — | apiKey (header) |

## Query parameters

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| releasePipelineID (query) | string | No | — | The release pipeline ID associated with the dynamic config Constraints: nullable |
| teamID (query) | string | No | — | Filter by team ID |
| targetAppID (query) | string | No | — | Filter by target app ID |
| type (query) | string | No | — | Filter by lifecycle type (TEMPORARY, PERMANENT, or STALE). Results depend on the nightly stale detection batch job having run. Allowed values: TEMPORARY, PERMANENT, STALE |
| typeReason (query) | string | No | — | Filter by stale classification reason. Results depend on the nightly stale detection batch job having run. Allowed values: NONE, STALE_PROBABLY_DEAD_CHECK, STALE_NO_RULES, STALE_PROBABLY_FORGOTTEN, STALE_PROBABLY_LAUNCHED, STALE_PROBABLY_UNLAUNCHED |
| creatorName (query) | string | No | — | Name of the creator. Constraints: nullable |
| creatorID (query) | string | No | — | ID of the user who created the entity. Constraints: nullable |
| tags (query) | oneOf | No | — | Filter by tags Constraints: string, string[] |
| limit (query) | integer | No | 10 | Results per page Constraints: string, number |
| page (query) | integer | No | 1 | Page number Constraints: string, number |

## Response (application/json)

**200** — List Dynamic Configs Success

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| message | string | Yes | — | A simple string explaining the result of the operation. |
| data | object[] | Yes | — | — |
| data.id | string | Yes | — | ID |
| data.name | string | No | my_config | Optional name for the configuration. Constraints: min length: 3, max length: 100, pattern: ^[a-zA-Z0-9_\-. ]*$ |
| data.idType | string | No | userID | The type of ID which the dynamic config is based on. |
| data.description | string | Yes | helpful summary of what this dynamic config does | A brief summary of what the dynamic config is being used for Constraints: max length: 1000 |
| data.lastModifierID | string | Yes | — | ID of the last modifier. Constraints: nullable |
| data.lastModifiedTime | number | Yes | — | Time of the last modification. Constraints: format: double, nullable |
| data.lastModifierEmail | string | Yes | — | Email of the last modifier. Constraints: nullable |
| data.lastModifierName | string | Yes | — | Name of the last modifier. Constraints: nullable |
| data.creatorID | string | No | — | Constraints: nullable |
| data.createdTime | number | Yes | — | Timestamp when the entity was created. Constraints: format: double |
| data.creatorName | string | Yes | — | Name of the creator. Constraints: nullable |
| data.creatorEmail | string | No | — | Constraints: nullable |
| data.tags | string[] | No | ["a tag"] | The list of tag names attached to the dynamic config |
| data.targetApps | oneOf | No | — | Constraints: string, string[] |
| data.holdoutIDs | string[] | No | — | Holdouts applied to this configuration. |
| data.team | string | No | — | The team name associated with the dynamic config, Enterprise only. Constraints: nullable |
| data.teamID | string | No | — | The team ID associated with the dynamic config, Enterprise only. Constraints: nullable |
| data.version | number | No | — | Version number Constraints: format: double |
| data.isEnabled | boolean | Yes | true | Is the dynamic config enabled |
| data.rules | object[] | Yes | — | An array of Rule objects |
| data.rules.name | string | Yes | — | The name of this rule. |
| data.rules.passPercentage | number | Yes | — | Of the users that meet the conditions of this rule, what percent should return true. Constraints: min: 0, max: 100 |
| data.rules.conditions | object[] | Yes | — | An array of Condition objects. |
| data.rules.conditions.targetValue | oneOf | No | — | Constraints: nullable, string[], number[], string, number |
| data.rules.conditions.operator | string | No | — | — |
| data.rules.conditions.field | string | No | — | Constraints: nullable |
| data.rules.conditions.customID | string | No | — | Constraints: nullable |
| data.rules.conditions.type | string | Yes | — | Allowed values: 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 |
| data.rules.environments | string[] | No | — | Constraints: nullable |
| data.rules.id | string | No | — | The Statsig ID of this rule. |
| data.rules.baseID | string | No | — | The base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout |
| data.rules.returnValue | object | No | — | — |
| data.rules.completedAutomatedRollouts | object[] | No | — | Read-only: Automated rollout phases that have already completed. |
| data.rules.completedAutomatedRollouts.time | number | No | — | — |
| data.rules.completedAutomatedRollouts.passPercent | number | Yes | — | — |
| data.rules.pendingAutomatedRollouts | object[] | No | — | Read-only: Automated rollout phases that are scheduled but not yet complete. |
| data.rules.pendingAutomatedRollouts.time | number | No | — | — |
| data.rules.pendingAutomatedRollouts.passPercent | number | Yes | — | — |
| data.rules.returnValueJson5 | string | No | — | — |
| data.rules.variants | object[] | No | — | — |
| data.rules.variants.id | string | No | — | — |
| data.rules.variants.name | string | Yes | — | — |
| data.rules.variants.passPercentage | number | Yes | — | Constraints: min: 0, max: 100 |
| data.rules.variants.returnValue | object | No | — | — |
| data.rules.variants.returnValueJson5 | string | No | — | — |
| data.defaultValue | object | No | — | The fallback JSON object when no rules are triggered |
| data.defaultValueJson5 | string | No | — | Can include comments. If provided with defaultValue, must parse to the same JSON |
| data.owner | object | No | {"ownerID":"user123","ownerType":"USER","ownerName":"John Doe","ownerEmail":"owner123@test.com"} | Schema for owner data including ID, type, name. Constraints: nullable |
| data.owner.ownerID | string | No | abc123 | ID of the owner |
| data.owner.ownerType | string | No | USER | Type of the owner (e.g., SDK_KEY or USER) |
| data.owner.ownerName | string | No | John Doe | The name of the owner. This field is optional. |
| data.owner.ownerEmail | string | No | — | The email of the owner. This field is optional. |
| data.schema | string | No | — | A schema using JSON Schema Draft 2020-12 to enforce return values of this dynamic config's rules. Constraints: nullable |
| data.schemaJson5 | string | No | — | `schema` except with Json5 comments. Optional and should parse to same json as `schema`. Constraints: nullable |
| data.releasePipelineID | string | No | — | The release pipeline ID associated with the dynamic config Constraints: nullable |
| data.isTemplate | boolean | No | — | — |
| data.status | string | No | — | Allowed values: Enabled, Disabled, Archived |
| data.checksPerHour | number | No | — | Constraints: format: double, nullable |
| data.permalink | string | Yes | — | A permalink to this dynamic config in the Statsig Console. Constraints: format: uri |
| data.type | string | Yes | — | The lifecycle type of the config (TEMPORARY, PERMANENT, or STALE). STALE classification depends on the nightly stale detection batch job having run; a config not yet processed reads as TEMPORARY. Allowed values: PERMANENT, TEMPORARY, STALE, TEMPLATE |
| data.typeReason | string | Yes | — | The reason for the current type classification. Depends on the nightly stale detection batch job having run. Allowed values: NONE, STALE_PROBABLY_DEAD_CHECK, STALE_NO_RULES, STALE_PROBABLY_FORGOTTEN, STALE_PROBABLY_LAUNCHED, STALE_PROBABLY_UNLAUNCHED |
| data.isPermanent | boolean | Yes | — | Whether the config has been explicitly marked as long-lived. |
| pagination | object | Yes | — | Pagination metadata for checking if there is next page for example. |
| pagination.itemsPerPage | number | Yes | — | Constraints: format: double |
| pagination.pageNumber | number | Yes | — | Constraints: format: double |
| pagination.nextPage | string | Yes | — | Constraints: nullable |
| pagination.previousPage | string | Yes | — | Constraints: nullable |
| pagination.totalItems | number | No | — | Constraints: format: double |
| pagination.all | string | No | — | — |

```json
{
  "message": "Dynamic Configs listed successfully.",
  "data": [
    {
      "id": "example_config",
      "permalink": "https://console.statsig.com/company_id/dynamic_configs/example_config",
      "name": "Example Config",
      "description": "An example dynamic configuration",
      "idType": "userID",
      "lastModifierID": "abc123",
      "lastModifiedTime": 1600000000000,
      "lastModifierName": "Jane Doe",
      "lastModifierEmail": "jane@example.com",
      "creatorID": "def456",
      "createdTime": 1500000000000,
      "creatorName": "John Smith",
      "creatorEmail": "john@example.com",
      "targetApps": [
        "myapp"
      ],
      "holdoutIDs": [],
      "tags": [
        "example_tag"
      ],
      "type": "TEMPORARY",
      "typeReason": "NONE",
      "isPermanent": false,
      "team": "Product",
      "isEnabled": true,
      "rules": [],
      "defaultValue": {},
      "defaultValueJson5": "{}",
      "schema": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{}}",
      "schemaJson5": "{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"properties\": {}\n}",
      "version": 1
    }
  ]
}
```

**404** — Not Found. The requested resource could not be found.

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| status | integer | Yes | — | Allowed values: 404 |
| message | string | Yes | — | — |

```json
{
  "status": 404,
  "message": "Not Found. The requested resource could not be found."
}
```

## Code samples

### cURL

```bash
curl -X GET "https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1" \
  -H "Content-Type: application/json" \
  -H "STATSIG-API-KEY: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1",
    headers={
        "Content-Type": "application/json",
        "STATSIG-API-KEY": "YOUR_API_KEY"
    }
)
data = response.json()
```

### JavaScript

```javascript
const response = await fetch("https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
    "STATSIG-API-KEY": "YOUR_API_KEY"
  }
});
const data = await response.json();
```

### PHP

```php
<?php
$ch = curl_init("https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: application/json",
    "STATSIG-API-KEY: YOUR_API_KEY"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
```

### Go

```go
package main

import (
  "bytes"
  "net/http"
)

func main() {
req, _ := http.NewRequest("GET", "https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1", nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("STATSIG-API-KEY", "YOUR_API_KEY")
  client := &http.Client{}
  resp, _ := client.Do(req)
  defer resp.Body.Close()
}
```

### Java

```java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1"))
      .method("GET", HttpRequest.BodyPublishers.noBody())
.header("Content-Type", "application/json")
      .header("STATSIG-API-KEY", "YOUR_API_KEY")
      .build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
```

### Ruby

```ruby
require "net/http"
require "json"

uri = URI("https://statsigapi.net/console/v1/dynamic_configs?limit=10&page=1")
request = Net::HTTP::Get.new(uri)
request["Content-Type"] = "application/json"
request["STATSIG-API-KEY"] = "YOUR_API_KEY"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  http.request(request)
end
```

