Skip to main content
POST
Evaluate a rule

Authorizations

X-Access-Token
string
header
required

Evaluation token from project settings

Path Parameters

project
string
required

Project slug or ID

key
string
required

Document path of the graph or policy

Body

application/json

Evaluation request with context data

Request body for decision evaluation

context
object
required

Input data for the decision model. The structure depends on your decision model's expected input.

trace
boolean | null
default:false

When true, includes detailed trace information in the response for debugging purposes.

Response

Evaluation result. Includes a meta object describing the loaded release and an X-Release-Id response header when release metadata is available.

performance
string

Evaluation duration

Example:

"156.2µs"

result
object

Output of the evaluation

trace
object | null

Per-node trace (only when trace=true)

meta
object | null

Project and release metadata for the loaded release