Documentation Index
Fetch the complete documentation index at: https://docs.humancheck.dev/llms.txt
Use this file to discover all available pages before exploring further.
Platform provides advanced routing capabilities:
- UI-Based Management: Create and manage rules via the dashboard at platform.humancheck.dev
- Prioritization: Set rule evaluation order for fine-tuned control
- Fine-Grained ACL: Control access and permissions per rule
- Team/User Assignment: Assign reviews to specific teams or users
- Organization Scoping: Rules scoped to organizations for multi-tenancy
You can also create and manage routing rules via the UI at platform.humancheck.dev. The dashboard provides visual rule builder, prioritization controls, and fine-grained ACL settings.
Create Routing Rule
Request Body
{
"name": "High-value payments to finance team",
"organization_id": 1,
"priority": 100,
"conditions": {
"task_type": {"operator": "=", "value": "payment"},
"metadata.amount": {"operator": ">", "value": 10000}
},
"assign_to_user_id": null,
"assign_to_team_id": 5,
"is_active": true
}
Response
{
"id": 1,
"name": "High-value payments to finance team",
"organization_id": 1,
"priority": 100,
"conditions": {
"task_type": {"operator": "=", "value": "payment"},
"metadata.amount": {"operator": ">", "value": 10000}
},
"assign_to_user_id": null,
"assign_to_team_id": 5,
"is_active": true,
"created_at": "2024-01-01T12:00:00Z"
}
Example
import httpx
async with httpx.AsyncClient() as client:
response = await client.post(
"https://api.humancheck.dev/routing-rules",
headers={
"Authorization": "Bearer your-api-key-here",
"Content-Type": "application/json"
},
json={
"name": "High-value payments to finance team",
"organization_id": 1,
"priority": 100,
"conditions": {
"task_type": {"operator": "=", "value": "payment"},
"metadata.amount": {"operator": ">", "value": 10000}
},
"assign_to_team_id": 5,
"is_active": True
}
)
rule = response.json()