Skip to content

Test failures

GET
/v1/data/tests/failures

Returns test failures for a given 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

Responses

OK

application/json
JSON
{
"failures": [
{
"id": "00000000-0000-0000-0000-000000000000",
"testId": "example-statistic-id",
"timestamp": 1733220930000,
"build": "example-build-id",
"ref": "refs/heads/main",
"name": "Some test name"
}
]
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python