Attach a label set
Attach a frozen golden set to a judge criterion so its calibration runs on that set and its certificate carries the set’s kappa — or detach it.
400 ‘Freeze the golden set first — an unfrozen set can change under the calibration.’ when the set has no frozen_at. 404 ‘Golden set not found’ for foreign/unknown set ids (when attaching). A criterion holds at most one golden set; attaching replaces the previous one.
Authorizations
Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.
Path Parameters
Identifier.
Body
The judge criterion to attach the set to. Non-empty string required (400 'criterion_id is required'); 404 'Criterion not found' if not in the workspace.
When exactly true, clears the criterion's golden set (sets label_set_id to null) instead of attaching {id}.
Response
200 { criterion_id: string, label_set_id: string|null } — the criterion's new golden-set binding.
The response is of type object.