Endpoint
Copy
GET /reviews/{review_id}/decision
Response
Copy
{
"review_id": 1,
"reviewer_id": 1,
"decision_type": "approve",
"modified_action": null,
"notes": "Payment approved",
"created_at": "2024-01-01T12:00:00Z"
}
Example
Copy
import httpx
async with httpx.AsyncClient() as client:
response = await client.get(
"https://api.humancheck.dev/reviews/1/decision"
)
decision = response.json()
if decision:
print(f"Decision: {decision['decision_type']}")
else:
print("No decision yet")