POST
/
evaluate
/
v1
/
variant

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
namespaceKey
string
required
flagKey
string
required
entityId
string
required
context
object
required
requestId
string

Response

200 - application/json
requestId
string
required
match
boolean
required
flagKey
string
required
segmentKeys
string[]
required
variantKey
string
required
variantAttachment
string
required
timestamp
string
required
requestDurationMillis
number
required
reason
enum<string>
required
Available options:
UNKNOWN_EVALUATION_REASON,
FLAG_DISABLED_EVALUATION_REASON,
MATCH_EVALUATION_REASON,
DEFAULT_EVALUATION_REASON