Skip to main content
POST
Create an evaluation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required

Body

application/json
context
EvaluationContextInput · object
required
policy
InlinePolicyInput · object
required
params
Params · object

Values the policy reads as data.params, not enforced against it

Response

Successful Response

id
string
required

Server-minted id of the evaluation

status
enum<string>
required

Whether the evaluation has run, and if so whether it recorded a result or an error

Available options:
pending,
completed,
failed
requested_at
number
required

When the evaluation was asked for

recorded_at
number
required

The instant on the recorded-time axis that every trail in the context resolves at

result
Result · object | null

The policy's output, present only when completed

error
EvaluationErrorResponse · object | null

Why the evaluation failed, present only when failed

Last modified on September 1, 2026