Maxim Logo
Test Runs

Get test runs

Get test runs for a workspace

GET
/v1/test-runs

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Query Parameters

workspaceIdRequiredstring

Unique identifier for the workspace

idstring

Test run ID to fetch specific run

cursorstring

Cursor for pagination

isRunReportboolean

Whether this is a run report

Default: false
limitnumber

Maximum number of records to return (max: 100)

Default: 20Maximum: 100
filtersarray<object>

Additional filters for the query

curl -X GET "https://api.getmaxim.ai/v1/test-runs?workspaceId=%3Cstring%3E&id=%3Cstring%3E&cursor=%3Cstring%3E&isRunReport=false&limit=20&filters=%5Bobject+Object%5D" \
  -H "x-maxim-api-key: <token>"

Successfully retrieved test runs

{
  "data": {
    "runs": [
      {}
    ],
    "total": 0
  }
}