POST
http://localhost:8080
/
evaluate
/
v1
/
boolean
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>"
}'
{
  "enabled": true,
  "reason": "UNKNOWN_EVALUATION_REASON",
  "requestId": "<string>",
  "requestDurationMillis": 123,
  "timestamp": "2023-11-07T05:31:56Z",
  "flagKey": "<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

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

OK

The response is of type object.