Record an agent decision
POST/v1/agent_decisions
Record a human reviewer’s final verdict for content that SafetyKit has previously reviewed. This feedback lets SafetyKit measure and improve automated decisions over time. Each request provides feedback for one content object and one policy category. If a content object is reviewed for multiple policy categories, send one request per policy category.
Body ParametersJSON
policy_id: string
The SafetyKit policy category ID that was evaluated, as configured for your account
action: optional string
Optional correct enforcement action for this content, such as ‘reduce_visibility’ or ‘unpublish’
Record an agent decision
curl https://api.safetykit.com/v1/agent_decisions \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $SAFETYKIT_API_KEY" \
-d '{
"content_type": "product_listing",
"decision": "no_match",
"policy_id": "counterfeit",
"reference_id": "listing_12345"
}'{
"safetykitCorrect": true
}Returns Examples
{
"safetykitCorrect": true
}