list refusals
list_refusalsPage through enforcement refusal records for audit and compliance. View newest-first entries, filter by kind, subject, or date, and paginate with cursors.
Instructions
Pages through the workspace's refusal ledger — every time enforcement stopped something (an alias repoint without evidence, an auto-gate or dataset build refusing an untrusted judge, a reward refusing a drift-flagged criterion, a round gate holding, an eval refused off its calibrated population) — newest first, for audit and compliance reporting. GET /v1/enforcement/refusals (API-key scope: read). Returns: { refusals: [{ id, kind, subject, reason (verbatim refusal message, truncated to 500 chars), created_at (ISO) }], next_cursor: <string|null — null on the last page> }. Notes: Ordered by created_at desc, id desc. The ledger is append-only: a refusal later overridden is still listed. Cache-Control: no-store. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Exact-match filter on refusal kind. | |
| limit | No | Page size, integer 1..200 (400 otherwise). Default: 50. | |
| since | No | ISO-8601 date/time; only refusals created at or after it. 400 'since must be an ISO date' if unparseable. | |
| cursor | No | Opaque cursor = the `next_cursor` (a refusal id) from the previous page; returns rows strictly after it in newest-first order. | |
| subject | No | Exact-match filter on subject identity, e.g. 'alias:prod-chat', 'criterion:<id>', 'run:<prefix>'. |