Benchmark

Get the benchmark leaderboard

Changed on

Returns one ranked page of a suite version’s published targets, each with the metric cells it is judged on. Ranking happens in the database, so paging through the board is consistent. Every default the server applies (suite version, condition, sort metric, sort direction) is echoed on the response, so a page can be cited without guessing how it was ordered.

get/v1/benchmark/leaderboard

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/benchmark/leaderboard
  • Auth
    HTTP bearer

Query parameters

suitestring required
suiteVersionstring
conditionKeystring
sortBystring
order'asc' | 'desc'
metricsstring

Comma-separated metric keys to project per row. Defaults to the headline set.

limitinteger

Maximum number of records to return (default: 20, max: 100)

offsetinteger

Pagination offset

Response

One ranked page of the leaderboard

suitestring required
suiteVersionstring required

The version actually read, after defaulting.

conditionKeystring required

Changes