List Gates
List review gates with GET /v1/structuring/gates. Gates aggregate rule thresholds and decide whether results auto-approve or queue for human review.
A review gate sits between extraction and delivery: it aggregates one or more rules (e.g. minimum confidence threshold, validation pass rate) and decides whether each structuring result is auto-approved for delivery or queued for human review. GET /v1/structuring/gates lists all active gates for your organization with their rules embedded. Gates are scoped to a schema and can be linked to a delivery destination.
/v1/structuring/gatesQuery parameters
Response
Response fields
Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Finance approval gate",
"user_schema_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"destination_id": null,
"on_approve": "export",
"on_flag": "queue",
"auto_approve_after_hours": null,
"is_active": true,
"rules": [
{
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"name": "Minimum confidence",
"type": "min_confidence",
"config": { "threshold": 0.85 },
"sort_order": 0
}
],
"created_at": "2024-09-01T10:00:00.000Z",
"updated_at": "2024-09-01T10:00:00.000Z",
"links": {
"self": "/v1/structuring/gates/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"rules": "/v1/structuring/gates/a1b2c3d4-e5f6-7890-abcd-ef1234567890/rules"
}
}
]
}Errors
Error responses
Each gate embeds its active rules array, so you can inspect thresholds without a separate fetch. Use the schema_id query parameter to find which gates apply to a specific schema, then follow the links.rules URL to manage individual rules via POST /v1/structuring/gates/{id}/rules.