v76

OpenAPI 3.0.3raw.githubusercontent.com2026-08-015764591.5 MB
Review Routing Rules

✨ Bulk replace review routing rules

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Atomically replace the ordered review routing rules for a project. Rules with an `id` update the existing project rule. Rules without an `id` are created. Existing project rules omitted from the request are deleted, and request order becomes rule order.
post/api/projects/{id}/review-routing-rules/bulk/

Path parameters

idinteger required

Request body

Response

agreement_thresholdstring decimal nullable

Agreement threshold (0..1) compared against the rule operator. Required when operator is set.

created_atstring date-time required

Time this rule was created

dimensioninteger nullable

Dimension whose agreement is compared. Null => compare overall task agreement. Deleting the dimension cascades to the rule (a dimension-scoped rule has no meaning without its dimension; falling back to overall agreement would silently change the cohort).

idinteger
operator'lt' | 'lte' | 'gt' | 'gte' | 'eq'
  • lt - <
  • lte - <=
  • gt - >
  • gte - >=
  • eq - =
orderinteger required

Position in the rule list (rules are evaluated in ascending order)

sample_ratestring decimal

Sample rate (0..1) of matching tasks routed for review. 1 always routes, 0 never routes.

updated_atstring date-time required

Last time this rule was updated