Skip to main content
GET
Returns recent runs as an array. For workspace API callers, originalContent and rewriteReason are always null; this endpoint does not expose the original reply text. An empty array means no recorded runs. See the Guardrails overview for shared schemas and runtime limitations.
string
required
Bearer workspace API key. The key needs read scope.
string
required
Agent UUID in the authenticated workspace.
integer
1 to 100; defaults to 20.

Response

array
Runs with id, companyId, botId, interactionId, userEventId, action, rounds, report, originalContent, rewriteReason, and createdAt.
string
passed, rewritten, blocked, or error. Inspect individual verdicts even when the action is passed.
array
Per-policy policyId, checkType, name, and verdicts. Verdicts are pass, fail, or error, in initial-check then recheck order.