GET /v1/feature-flags
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lifi/v1/feature-flagsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free[POLL] Also streamable as SSE (poll bridge) via GET /stream/lifi/v1/feature-flags?poll_interval_s=15 — see Streaming.
Rollout flags read on load, with variant and enablement per flag.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
distinctId | query | str | optional | Optional visitor id example: probe-distinct-id |
Response
type: object
pagination: none
sample: {
"status": "int",
"data": "array[17]",
"message": "str",
"meta": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lifi/v1/feature-flags?distinctId=probe-distinct-id"