Skip to content

Refusals

See what was refused, and why.

Refusals, newest first, paged. sefra_viewer and above.

From execution.rejected (kind rejected, one refused submission), admission.refused (kind admission, the first refusal of a principal and code in a minute) and admission.refused_summary (kind admission_summary, the window’s count, which includes its first refusal). Admission refusals are counted, not recorded singly; they have stage admission and no execution, intents or rules, so intent and rule select only refused submissions. The range defaults to the last 24 hours and is at most 31 days.

Parameters

Name In Type Required Description
agent query string No
code query string No
stage query string No One of admission, validation, policy.
intent query string No
rule query string No
from query string No Format: date-time.
to query string No Format: date-time.
before_seq query integer No Minimum: 1.
limit query integer No Default: 50. Minimum: 1. Maximum: 200.

Responses

Status Description Body
200 A page. object
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)

Body of 200

Field Type Required Description
from string Yes Format: date-time.
next_before_seq integer No Absent on the last page.
refusals array of Refusal Yes
to string Yes Format: date-time.

Refusals of a range by code, by rule and by agent. sefra_viewer and above.

A refused submission counts one; an admission window one for admission.refused and count - 1 for its summary. by_rule covers refused submissions only; rule: null is those whose violations name no policy rule. by_agent (at most 50) carries each agent’s state against the denial breaker now, not of the range. The range defaults to the last 24 hours and is at most 31 days.

Parameters

Name In Type Required Description
from query string No Format: date-time.
to query string No Format: date-time.

Responses

Status Description Body
200 The counts. RefusalSummary
400 A problem. Problem (application/problem+json)
401 No valid token (with WWW-Authenticate). Problem (application/problem+json)
403 The principal is not human or lacks the role. Problem (application/problem+json)