v1

latestOpenAPI 3.1.02026-07-26151126273.9 KB
Custom Pipelines (Deprecated)

Set Processor Eval Rubric

Link or detach an EvalRubric on a custom processor.

DUAL WRITE (mirrors the generation-agent flow in custom_processors/tasks.py, where the version's eval_definition and the processor.eval_rubric_id back-link are always written together): the execution engine reads ONLY the rubric copy embedded in the ACTIVE version's eval_definition, so the back-link and that copy must move as one.

  • {"eval_rubric_id": <id>}: verifies the rubric exists on this team (404) and isn't archived (400), then sets processor.eval_rubric_id AND mirrors rubric.eval_definition into the active version. Requires a completed active version (400 otherwise) — a link without the mirrored copy would silently never score.
  • {"eval_rubric_id": null}: clears processor.eval_rubric_id AND the active version's eval_definition. Tolerates a processor with no active version (nothing to clear on the version side), so a dangling link is always removable.
patch/api/v1/custom_pipelines/{processor_id}/eval_rubric

Path parameters

processor_idstring required

Cookies

wos-sessionstring
datalab_active_teamstring

Request body

eval_rubric_idinteger nullable

EvalRubric ID to link to this processor, or null to detach the current rubric

Response

Successful Response

{"stackTrail":"paths:/api/v1/custom_pipelines/{processor_id}/eval_rubric:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}