Public API reference
/v4 API
/- Retrieve a single decision
Process multiple decisions
Process a single decision
Retrieve a single decisio...
For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/decision-engine
curl -i -X GET \
'https://demo-site/zephr/decision-engine?sdkFeatureSlug=featureX&session=xxx-xxx-xxx&foreign_id.xxx=xxx-xxx-xxx&ip=x.x.x.x&userAgent=Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2011)...&path=%2Fx.html&content_id=xxx-xxx-xxx&jwt=xxx-xxx-xxx&raw=false' \
-b blaize_session=YOUR_API_KEY_HERERaw parameter response
The slug of the SDK feature which has been evaluated.
Example:"sdk-feature-1"
Feature output type. Present if there were no errors.
Enum:"ENUM""STRING""NUMBER""JSON""TRANSFORMATION""COMPONENT"
Feature output value. Present if there were no errors.
- For the 'JSON_COMPONENT' output type, the response will be stringified JSON.
- For the 'TRANSFORMATION' output type, the response will contain a stringified JSON array of transformations to be applied, including ENABLE_CONTENT, CUSTOM_COMPONENT, TEMPLATE_COMPONENT and FORM.
Example:"YES"
Response
{
"sdkFeatureSlug": "sdk-feature-1",
"outputType": "ENUM",
"outputValue": "YES",
"error": "500: Internal error ..."
}