curl --request POST \
--url https://try.flipt.io/evaluate/v1/batch \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"requests": [
{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}
]
}'
{
"requestId": "<string>",
"responses": [
{
"booleanResponse": {
"enabled": true,
"requestId": "<string>",
"requestDurationMillis": 123,
"timestamp": "2023-11-07T05:31:56Z",
"flagKey": "<string>",
"segmentKeys": [
"<string>"
]
},
"variantResponse": {
"match": true,
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"requestId": "<string>",
"requestDurationMillis": 123,
"timestamp": "2023-11-07T05:31:56Z",
"flagKey": "<string>"
},
"errorResponse": {
"flagKey": "<string>",
"namespaceKey": "<string>"
}
}
],
"requestDurationMillis": 123
}Evaluation
Batch Evaluation
POST
/
evaluate
/
v1
/
batch
curl --request POST \
--url https://try.flipt.io/evaluate/v1/batch \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"requests": [
{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}
]
}'
{
"requestId": "<string>",
"responses": [
{
"booleanResponse": {
"enabled": true,
"requestId": "<string>",
"requestDurationMillis": 123,
"timestamp": "2023-11-07T05:31:56Z",
"flagKey": "<string>",
"segmentKeys": [
"<string>"
]
},
"variantResponse": {
"match": true,
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"requestId": "<string>",
"requestDurationMillis": 123,
"timestamp": "2023-11-07T05:31:56Z",
"flagKey": "<string>"
},
"errorResponse": {
"flagKey": "<string>",
"namespaceKey": "<string>"
}
}
],
"requestDurationMillis": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.flipt.io/llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://try.flipt.io/evaluate/v1/batch \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"requests": [
{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}
]
}'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Was this page helpful?
⌘I