model-hub

Get all scores for a specific source. GET /model-hub/scores/for-source/?source_type=trace&source_id=<uuid>

get/model-hub/scores/for-source/

Request

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

Query parameters

pageinteger

A page number within the paginated result set.

limitinteger

Number of results to return per page.

source_type'dataset_row' | 'trace' | 'observation_span' | 'prototype_run' | 'call_execution' | 'trace_session' required
source_idstring required
project_idstring uuid

Tracer project the trace / span was opened from. The same id can exist in several projects; when supplied, only that project's scores are listed.

Response

OK

statusboolean
span_notesobject[]

Changes

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