SDK 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
- Base URL: https://demo-site
- URL: https://demo-site/zephr/decide
- Auth: one of:
- API key in cookie blaize_session
- API key in query parameter jwt
- API key in header x-blaize-jwt
- API key in header x-zephr-jwt
- HTTP bearer
- API key in cookie blaize_jwt
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 ..."
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.