Skip to content

Evaluates all client-visible feature flags for the given user context.

POST
/v1/client/evaluate
curl --request POST \
--url https://eval.featureflip.io/v1/client/evaluate \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "context": { "additionalProperty": "example" } }'
X-Featureflip-Reports-Evaluations
string

Set to 1 when the client reports the flags it reads to POST /v1/client/events. The flags this request serves are then not counted as evaluated unless the client reports its reads, so flags it never reports look unused to staleness checks and archiving. Omit it otherwise.

The evaluation request containing user context attributes.

object
context
required
object
key
additional properties
nullable
Example generated
{
"context": {
"additionalProperty": "example"
}
}

Returns the evaluation results for all client-visible flags.

Media type application/json
object
flags
required
object
key
additional properties
object
value
required
variation
required
string
nullable
reason
required
string
nullable
prerequisiteKey
string
nullable
Example generated
{
"flags": {
"additionalProperty": {
"value": "example",
"variation": "example",
"reason": "example",
"prerequisiteKey": "example"
}
}
}

Client SDK key is missing or invalid.

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Flag configuration is temporarily unavailable; retry after the interval in Retry-After.