OpenFeature Evaluation
Bulk Evaluation
Overview
OpenFeature Evaluation
Namespaces
Rollouts
OpenFeature Evaluation
Bulk Evaluation
OFREP bulk flag evaluation
POST
/
ofrep
/
v1
/
evaluate
/
flags
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
{
"flags": [
{
"key": "<string>",
"reason": "UNKNOWN",
"variant": "<string>",
"metadata": {},
"value": "<any>"
}
]
}
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
OK
Available options:
UNKNOWN
, DISABLED
, TARGETING_MATCH
, DEFAULT
Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
{
"flags": [
{
"key": "<string>",
"reason": "UNKNOWN",
"variant": "<string>",
"metadata": {},
"value": "<any>"
}
]
}