leaderboard

Get Competition Samples

Fetch sample rows for a single competition dataset.

Lazy-load endpoint behind the "View Sample Data" action on a competition card.

Args: dataset_id: The competition dataset to fetch samples for. auth: Authenticated caller.

Returns: Dict with dataset_id and sample_rows list.

Raises: HTTPException: 404 when the competition does not exist, 500 when the samples cannot be read.

get/leaderboard/competitions/{dataset_id}/samples

Path parameters

dataset_idstring required

Response

Successful Response

object required

Changes

Changed in 1 of the 3 revisions of this API.1

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed