Skip to content

Retrieve the Decision Engine

Request

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
Query
pathstringrequired

Uniquely identifies the content Zephr is making a decision about. Request rules can be configured to only execute when the request path matches a provided regular expression.

sessionstringrequired

Zephr Session ID - same as the blaize_session cookie used by the CDN and authentication endpoints.

foreign_id.xxxstringrequired

Foreign ID used to identify the user. The foreign system is parsed as the remainder of the parameter key name following 'foreign_id.'

content_idstringrequired

Passed as metadata.content_id to the Content API template, used to perform requests to a 3rd party API for additional content information used in making a decision.

jwtstringrequired

A JSON Web Token, may include identity or product holding claims.

btrstringrequired

A trusted referrer token. If Zephr generates a matching token using path, passed-in Referer header and a configured secret, all entitlements used in this decision will be temporarily granted for this request.

cURL
curl -i -X GET \
  'https://demo-site/blaize/decision-engine?path=string&session=string&foreign_id.xxx=string&content_id=string&jwt=string&btr=string' \
  -b blaize_session=YOUR_API_KEY_HERE

Responses

Response status and body are determined by the executed rule. If there is an error executing the rule, a 200 will be returned.

Headers
any