Skip to Content
Docs

List guardrail decisions recorded for an agent

GET
/api/guardrails/events

List guardrail decisions recorded for an agent.

Personal access token scope: agents:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

agent_id?string

Agent ID

limit?string

Max rows (default 100)

offset?string

Row offset

days?string

Trailing window in days, clamped to 1-365 (optional; invalid values are ignored)

check?string

Exact check name (optional)

outcome?string

One of block, redact, flag, not_evaluated (optional; unknown values are ignored)

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/guardrails/events'
Example Response200
Empty