model-hub

Universal Score CRUD.

GET /model-hub/scores/?source_type=trace&source_id=<uuid> POST /model-hub/scores/ (single score) POST /model-hub/scores/bulk/ (multiple scores on one source) DELETE /model-hub/scores/<id>/

put/model-hub/scores/{id}/

Request

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

Request body

valueobject
notesstring nullable
score_source'human' | 'api' | 'auto' | 'imported'

Response

OK

idstring uuid
source_type'dataset_row' | 'trace' | 'observation_span' | 'prototype_run' | 'call_execution' | 'trace_session' required
source_idstring
label_idstring uuid
label_namestring
label_typestring
label_settingsobject
label_allow_notesboolean
valueobject required
value_historyobject
score_source'human' | 'api' | 'auto' | 'imported'
notesstring nullable
annotatorstring uuid nullable
annotator_namestring
annotator_emailstring
queue_itemstring uuid nullable
queue_idstring
created_atstring date-time
updated_atstring date-time

Changes

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