Evaluate a rule
Evaluates a graph or policy from the release loaded by the Agent. Serves the same Rules API surface as BRMS, so clients can switch between BRMS and Agent without changes. Available since Agent 1.28.0; the legacy /api/projects/{project}/evaluate/{key} endpoint continues to work. A token is only required when the loaded release ships evaluation tokens: if none are scoped to the deployed target, requests are served without authentication; if at least one is, a matching X-Access-Token is required.
Authorizations
Evaluation token from project settings
Path Parameters
Project slug or ID
Document path of the graph or policy
Body
Evaluation request with context data
Response
Evaluation result. Includes a meta object describing the loaded release and an X-Release-Id response header when release metadata is available.