API reference · Meta & Utility v1
POST/api/v1/feature-flags

Evaluate feature flags with custom context

Evaluates requested/all flags with optional custom context payload; requires session user.

Request body

Content type: application/json · schema FeatureFlagsPostBodyV1

flagsarray of string
itemsstring
contextobject
userRolestring
companySizestring
Enum: smallmediumlargeenterprise
subscriptionPlanstring
customPropertiesobject

Response body

Success response 200 · schema MetaUtilityApiSuccessV1

dataanyOf
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
anyOf (option 3)string
anyOf (option 4)number
anyOf (option 5)boolean
anyOf (option 6)null
flagsobject
contextobject
enabledboolean
reasonstring
usageStatsEnabledboolean
controlledBystring
messagestring
successboolean

Response codes

200
Operation succeeded.
400
Invalid request payload/query.
401
Unauthorized (API key/session auth failure depending on route).
403
Permission denied.
500
Unexpected route/controller failure.