Skip to main content
POST
Evaluate a decision

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workspace
string
required

Workspace slug.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$
key
string
required

Decision key — a flat slug, never a path.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$

Query Parameters

version
integer | null

Pin an exact version instead of the published one.

Required range: x >= 1
trace
boolean
default:false

Include the node-by-node trace.

Body

application/json
context
Context · object

Input context passed to the decision graph.

Response

Successful Response

workspace
string
required
key
string
required
version
integer
required
content_sha
string
required
result
any
required

The decision's output.

latency_ms
number
required
performance
string | null
trace
Trace · object | null

Node-by-node trace when requested.