Feature Flags

Evaluate one flag as an app in the given environment would, for a context you supply. Read-only; the console's "test this flag" panel.

Changed on
post/projects/{project_id}/flags/{key}/evaluate

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

keystring required

Flag key

Request body

attributesobject
environment_idinteger required
keystring nullable

Bucketing subject. Required for rules with a rollout or a split to apply.

Response

Evaluation

valueunknown required
variantstring nullable

The variant served, when a rule served one. None for plain values.

Changes