model-hub

PATCH — partial update of a composite eval.

Supported fields (all optional): name, description, tags, aggregation_enabled, aggregation_function, child_template_ids (replaces the child list), child_weights (map of child_id -> weight).

patch/model-hub/eval-templates/{template_id}/composite/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/eval-templates/{template_id}/composite/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

namestring nullable
descriptionstring nullable
tagsstring[] nullable
aggregation_enabledboolean nullable
aggregation_function'weighted_avg' | 'avg' | 'min' | 'max' | 'pass_rate' nullable
child_template_idsstring[] nullable
child_weightsobject nullable
child_pinned_versionsobject nullable
child_configsobject nullable
composite_child_axis'' | 'pass_fail' | 'percentage' | 'choices' | 'code' nullable

Response

OK

statusboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.