Body
The type of content to review.
The data to be reviewed. The structure of the object depends on the type of
content.
Optional parameter for attaching key-value pairs with the SafetyKit Decision
object.
Response
Unique ID of the decision, used to retrieve the results.
The type of content to review.
Any key-value pairs that were included in the request.
curl --location --request POST 'https://api.safetykit.com/v1/decisions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
--data-raw '{
"type": "product_review",
"content": {
"url": "https://www.example.com/products/42"
}
}'
{
"decision_id": "content_01h2m7qdmdjckc30e1mnq6xqfd",
"type": "product_review",
"metadata": {}
}