Skip to main content
POST
Evaluate policy against historical traces

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
policy
object
required

A complete CLPI policy document defining capability mappings, forbidden tools, escalation triggers, and enforcement defaults.

agent_id
string
required

Agent whose historical traces will be evaluated

from
string<date-time>

Start of time range for historical traces

to
string<date-time>

End of time range for historical traces

limit
integer
default:100

Maximum number of traces to evaluate

Response

Historical evaluation result

evaluation
object

Result of evaluating a CLPI policy against a set of tools or traces.

traces_evaluated
integer
time_range
object