Endpoint
Request Body
Decision Types
approve- Approve the proposed actionreject- Reject the proposed actionmodify- Modify the proposed action before approving
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Make a decision on a review
POST /reviews/{review_id}/decide
{
"reviewer_id": 1,
"decision_type": "approve",
"modified_action": null,
"notes": "Payment approved"
}
approve - Approve the proposed actionreject - Reject the proposed actionmodify - Modify the proposed action before approving{
"review_id": 1,
"reviewer_id": 1,
"decision_type": "approve",
"notes": "Payment approved",
"created_at": "2024-01-01T12:00:00Z"
}
import httpx
async with httpx.AsyncClient() as client:
response = await client.post(
"https://api.humancheck.dev/reviews",
headers={
"Authorization": "Bearer your-api-key-here",
"Content-Type": "application/json"
},
json={
"reviewer_id": 1,
"decision_type": "approve",
"notes": "Payment approved"
}
)
decision = response.json()