Evaluation

POSTEvaluate all flags

Resolve every flag for an evaluation context in a selected environment

POST/v1/evaluate
Evaluate all flags
curl --request POST \
  --url 'http://localhost:4000/v1/evaluate' \
  --header 'Authorization: Bearer <token>'
200
application/json
{}

Evaluate all flags

Use this endpoint to resolve every feature flag in an environment for a supplied evaluation context. The request body selects the environment and provides a non-empty subject key, with optional attributes. The response returns the environment and a flags object keyed by flag key; each result includes the resolved value, variation key, and evaluation reason.

The project is derived from the authenticated project-scoped API key rather than from the request URL, so evaluation is limited to that key’s project.

Authentication

Authorizationbearerrequired

Client API key (cli_) scoped to its project. See Authentication.