GET /v1/feature-flags/{key}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lifi/v1/feature-flags/{key}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeOne feature flag by key.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
key | path | str | required | Feature flag key example: perps |
Response
type: object
pagination: none
sample: {
"status": "int",
"data": "object",
"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/perps"