Unrefused

Decision headers

How every response tells you what the policy did.

HeaderValue
x-request-idUnique id, e.g. req_93f1a1c7…. Also in the unrefused body field.
x-unrefused-policyProfile and version applied, e.g. eval-harness@v14.
x-unrefused-inputInput-stage decision code.
x-unrefused-outputOutput-stage decision code. pending on streams (read the final chunk), n/a for embeddings.
x-unrefused-retentionAlways none.

Decision codes

A code is one or more parts joined by ;:

PartMeaning
passNothing matched and nothing was changed.
redacted=NN values were redacted before the text left the gateway.
flag=a+bClassifiers a and b matched; the request proceeded.
block=aBlocked by classifier a. block=platform:… means the platform baseline.
note=aMatched under annotate.
error=aClassifier a was unavailable and its fail mode let the request continue.

Examples: redacted=2, flag=toxicity, redacted=1;flag=toxicity, block=pii.

Spot an error or a gap? Tell us — and quote x-request-id if you have one.