Skip to main content
GET
/
v1
/
benchmarks
/
runs
List BenchmarkRuns.
curl --request GET \
  --url https://api.runloop.ai/v1/benchmarks/runs \
  --header 'Authorization: Bearer <token>'
{
  "runs": [
    {
      "id": "<string>",
      "start_time_ms": 123,
      "state": "running",
      "metadata": {},
      "benchmark_id": "<string>",
      "name": "<string>",
      "duration_ms": 123,
      "score": 123,
      "purpose": "<string>",
      "environment_variables": {},
      "secrets_provided": {}
    }
  ],
  "has_more": true,
  "total_count": 123,
  "remaining_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string

Filter by name

benchmark_id
string

The Benchmark ID to filter by.

limit
integer<int32>

The limit of items to return. Default is 20. Max is 5000.

starting_after
string

Load the next page of data starting after the item with the given ID.

Response

200 - application/json

OK

runs
object[]
required

List of BenchmarkRuns matching filter.

has_more
boolean
required
total_count
integer<int32>
required
remaining_count
integer<int32>
required