Request a new decision
/v1/decisions
Submit content for review and receive a decision ID to track the results. The decision is processed asynchronously.
Body Parameters
type: string
The type of content to review
Returns
decision_id: string
Unique identifier for the decision
type: string
Type of content to review
Request a new decision
curl https://api.safetykit.com/v1/decisions \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $SAFETYKIT_API_KEY" \
-d '{
"content": {
"url": "https://www.example.com/products/42"
},
"type": "product_review",
"metadata": {
"user_id": "user-456",
"batch_name": "Daily review"
}
}'
{
"decision_id": "content_01h2m7qdmdjckc30e1mnq6xqfd",
"metadata": {},
"type": "product_review"
}
Returns Examples
{
"decision_id": "content_01h2m7qdmdjckc30e1mnq6xqfd",
"metadata": {},
"type": "product_review"
}