Invoke the decision engine

Invokes the decision engine. The Blaize Decision Engine can be invoked via the Admin API to calculate an HTTP Response based upon Request-Level Rules created in the Admin Console. This functionality is build into the Blaize Dynamic CDN but the API variant is useful for CMS or edge side integrations.

Request
Request Body schema: application/json
path
required
string
http_method
string
session
string
foreign_keys
object

Foreign system and ID used to identify the user

object
object
jwt
string
btr
string

MD5-hex-encoding of: path + "|" + trusted referrer secret

Responses
200

OK

409

Conflict

post/v3/decision-engine
Request samples
application/json
{
  • "path": "/x.html",
  • "http_method": "POST",
  • "session": "xxx-xxx-xxx",
  • "foreign_keys": { },
  • "request_headers": {
    },
  • "content_metadata": {
    },
  • "jwt": "xxx-xxx-xxx",
  • "btr": "17e74b9e49e66282e55d4b7ec73de951"
}
Response samples
application/json
{
  • "status": "301",
  • "body": "Redirecting to login page...",
  • "headers": {
    }
}