---
title: "GET /model-hub/scores/for-source/"
method: GET
path: "/model-hub/scores/for-source/"
tags: ["model-hub"]
---

# GET /model-hub/scores/for-source/

`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`

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

## Query parameters

- `page` integer
- `limit` integer
- `source_type` 'dataset_row' | 'trace' | 'observation_span' | 'prototype_run' | 'call_execution' | 'trace_session', required
- `source_id` string, required
- `project_id` string, uuid

## Response `200`

OK

- ScoreForSourceResponse
  - `status` boolean
  - `result` Score[], required
    - `id` string, uuid
    - `source_type` 'dataset_row' | 'trace' | 'observation_span' | 'prototype_run' | 'call_execution' | 'trace_session', required
    - `source_id` string
    - `label_id` string, uuid
    - `label_name` string
    - `label_type` string
    - `label_settings` object
    - `label_allow_notes` boolean
    - `value` object, required
    - `value_history` object
    - `score_source` 'human' | 'api' | 'auto' | 'imported'
    - `notes` string, nullable
    - `annotator` string, uuid, nullable
    - `annotator_name` string
    - `annotator_email` string
    - `queue_item` string, uuid, nullable
    - `queue_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `span_notes` object[]

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
