Skip to content

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
Required
project*

Project name

Typestring
Required
module*

Module name

Typestring
Required
testId*

Test id

Typestring
Required

Responses

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"
}
]
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python