POST

/api/v1/evaluate

Bearer*
curl --request POST \
     --url https://try.flipt.io/api/v1/evaluate \
     --header 'Authorization: Bearer AUTH_VALUE' \
     --header 'Content-Type: application/json' \
     --data '{
 "flagKey": "string",
 "entityId": "string",
 "context": object
}'

Body

requestId
string
flagKeyRequired
string
entityIdRequired
string
contextRequired
object

Response

requestIdRequired
string
entityIdRequired
string
requestContextRequired
object
matchRequired
boolean
flagKeyRequired
string
segmentKeyRequired
string
timestampRequired
string
valueRequired
string
requestDurationMillisRequired
number
attachmentRequired
string
reasonRequired
string
Available options: UNKNOWN_EVALUATION_REASON, FLAG_DISABLED_EVALUATION_REASON, FLAG_NOT_FOUND_EVALUATION_REASON, MATCH_EVALUATION_REASON, ERROR_EVALUATION_REASON