Skip to navigation

✨ List review routing rules

Authentication

AuthorizationToken

The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:

curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Path parameters

idintegerRequired

Query parameters

orderingstringOptional
Which field to use when ordering the results.

Response

created_atdatetimeRead-only
Time this rule was created
orderintegerRead-only

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

updated_atdatetimeRead-only
Last time this rule was updated
agreement_thresholdstring or nullOptionalformat: "decimal"

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

dimensioninteger or nullOptional

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).

idintegerOptional
operatorenum or nullOptional

Comparison operator applied to the agreement value. Null => catch-all rule.

  • lt - <
  • lte - <=
  • gt - >
  • gte - >=
  • eq - =
Allowed values:
sample_ratestringOptionalformat: "decimal"

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