v1
latestOpenAPI 3.0.02026-08-0610682246.0 KBSDK Feature Decision Engine
Process multiple decisions
Processes multiple decisions. The SDK Feature Decision Engine can be invoked via the Public API to calculate a decision output response based upon Feature SDK Rules created in the Zephr Console.
post/zephr/decide
Request body
Example request
{
"features": [
{
"slug": "featureX",
"path": "/x.html",
"content_id": "xxx-xxx-xxx",
"inputs": {}
}
],
"session": "xxx-xxx-xxx",
"foreign_keys": {},
"ip": "x.x.x.x",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...",
"jwt": "xxx-xxx-xxx"
}Response
OK
Example response
{
"results": [
{
"sdkFeatureSlug": "sdk-feature-1",
"outputValue": "YES",
"error": "500: Internal error ..."
}
]
}