Request
Headers
Device context headers
Targeting rules match against these optional headers. Send them to get rule-resolved values; omit them all and every flag falls back to its environment default.Rate limit headers
Responses includeX-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset from the flags bucket. 429 responses include Retry-After.
Query parameters
Response
How a value is resolved
For each flag, in order:- An active per-device override matching
X-Device-IDwins outright. - Otherwise targeting rules are evaluated in priority order; the first rule whose conditions all match and whose rollout admits the device supplies the value. Rules are skipped entirely when no device context headers are sent.
- Otherwise the flag’s value for that environment is used — its “on” value when the flag is active in that environment, its “off” value when it is not.
List environments
Tier limits
See also
- Stream Flags (SSE) — push updates instead of polling
- Test an evaluation — dry-run a flag against a simulated device
- Manage Flags — create and update flags with an API key