Test runs
GET
/v1/data/tests/runs
Returns test runs for a given test id and module.
Authorizations
Buildnote-Api-Key
TypeAPI Key (header: Buildnote-Api-Key)
Parameters
Query Parameters
fromTs
Unix timestamp (in milliseconds) defining beginning of time range.
Typeinteger
Format
"int64"
toTs
Unix timestamp (in milliseconds) defining end of time range.
Typeinteger
Format
"int64"
org*
Organisation name
Typestring
Requiredproject*
Project name
Typestring
Requiredmodule*
Module name
Typestring
RequiredtestId*
Test id
Typestring
RequiredResponses
OK
application/json
JSON
{
"testRuns": [
{
"id": "00000000-0000-0000-0000-000000000000",
"timestamp": 1733220930000,
"build": "example-build-id",
"ref": "refs/heads/main",
"submitter": "user:example-user",
"name": "Test name",
"duration": 22300,
"status": "successful",
"failure": "Test failure message"
}
]
}