POST

/evaluate/v1/boolean

{
  "enabled": "boolean",
  "reason": "UNKNOWN_EVALUATION_REASON",
  "requestDurationMillis": "number",
  "requestId": "string",
  "timestamp": "string"
}
curl --request POST \
  --url https://try.flipt.io/evaluate/v1/boolean \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "context": {},
  "entityId": "<entityid>",
  "flagKey": "<flagkey>",
  "namespaceKey": "<namespacekey>"
}'

Authorizations

Authorizationheaderrequired
string

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

Body

application/json
contextrequired
object
entityIdrequired
string
flagKeyrequired
string
namespaceKeyrequired
string
requestId
string

Response

200 - application/json
enabledrequired
boolean
reasonrequired
enum<string>
Available options:
UNKNOWN_EVALUATION_REASON,
FLAG_DISABLED_EVALUATION_REASON,
MATCH_EVALUATION_REASON,
DEFAULT_EVALUATION_REASON
requestDurationMillisrequired
number
requestIdrequired
string
timestamprequired
string