The five status counters of one run
GET
/v1/runs/{id}/summary
const url = 'https://beta-api.plune.ai/v1/runs/example/summary';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/runs/example/summary \ --header 'Authorization: Bearer <token>'Every status appears, including the ones at zero. “unmapped” counts results whose raw status the project map does not cover TODAY — the stored status of a result never changes, but whether the map has a hole in it does. “discovered” counts the tests this run turned up that have no case here yet and are still pending in the review queue: on a project’s FIRST run every result is diverted there instead of being written, so five zeros beside a non-zero “discovered” is a healthy first run, not an empty one.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Counters, the results nobody has mapped, and the tests still waiting in review
Media type application/json
object
counts
required
object
passed
integer
failed
integer
broken
integer
blocked
integer
skipped
integer
unmapped
required
integer
discovered
required
integer
Example generated
{ "counts": { "passed": 1, "failed": 1, "broken": 1, "blocked": 1, "skipped": 1 }, "unmapped": 1, "discovered": 1}No such run, or not yours
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}