Update a dataset item's label
datasets
Update a dataset item's label
Updates the label on a single dataset item. Used by the dashboard to
toggle inline labels while reviewing a dataset. Pass null (or omit
the field) to clear the label back to unlabeled.
PATCH
Update a dataset item's label
Authorizations
SDK API key (tl_...) or Clerk session JWT
Body
application/json
Mutation body for PATCH /v1/datasets/{id}/items/{itemId}. Only the
label field is accepted. Pass null or omit the field to clear the
label back to unlabeled.
Available options:
pass, fail, unlabeled, null Response
Dataset item updated
Review label for the item. null (or omitted) means the item has
not been labeled yet. The frontend toggles this value via
PATCH /v1/datasets/{id}/items/{itemId}.
Available options:
pass, fail, unlabeled, null