GET /flags/ruleset
AvailableFull ruleset the SDK evaluates locally, edge-cached per app.
GET
https://ctrlapp.krdcode.com/api/public/sdk/v1/flags/rulesetAuth:
Bearer <PUBLISHABLE_KEY>Filtered to the flag capabilities unlocked by the app's plan.
Response (abridged)
json
{
"flags": [
{
"id": "...",
"key": "checkout_v2",
"enabled": true,
"default_treatment": "off",
"rollout_seed": "...",
"treatments": [{ "key": "on", "weight": 100, "payload": null }],
"rules": [{ "priority": 1, "...": "..." }]
}
]
}