---
title: "Execute the Decision Engine"
method: POST
path: "/blaize/decision-engine"
tags: ["Decision Engine"]
---

# Execute the Decision Engine

`POST /blaize/decision-engine`

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

## Request body

- object
  - `path` string, required
  - `http_method` string
  - `session` string
  - `foreign_keys` object — Foreign system and ID used to identify the user.
  - `request_headers` object
    - `User-Agent` string
  - `content_metadata` object
    - `publishedDate` string
  - `jwt` string
  - `btr` string — MD5-hex-encoding of: path + "|" + trusted referrer secret

## Response `200`

OK

- AccessDecisionResponse
  - `status` string
  - `body` string
  - `Location` string

## Other responses

- `409` — Conflict

---

[API](https://skmtc.net/zuora/apis/public-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/public-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/public-api-reference/revisions/0400dd83950b/schema)
