List runs
curl --request GET \
--url https://api.qa.tech/v1/run \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qa.tech/v1/run"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qa.tech/v1/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qa.tech/v1/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qa.tech/v1/run"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qa.tech/v1/run")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qa.tech/v1/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"shortId": "<string>",
"status": "<string>",
"result": "<string>",
"trigger": "<string>",
"branch": "<string>",
"commitHash": "<string>",
"testPlanShortId": "<string>",
"applicationShortIds": [
"<string>"
],
"startedAt": "<string>",
"finishedAt": "<string>",
"createdAt": "<string>",
"passedCount": 123,
"failedCount": 123,
"erroredCount": 123,
"skippedCount": 123,
"cancelledCount": 123,
"totalCount": 123,
"url": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Runs
List runs
Lists runs for the project, newest first. With no filters it returns the 20 most recent runs across all time; pass since/until (ISO 8601) to scope to a window such as the last 24 hours. Returned shortIds work directly with get_run and rerun_run.
GET
/
v1
/
run
List runs
curl --request GET \
--url https://api.qa.tech/v1/run \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qa.tech/v1/run"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qa.tech/v1/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qa.tech/v1/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qa.tech/v1/run"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qa.tech/v1/run")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qa.tech/v1/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"shortId": "<string>",
"status": "<string>",
"result": "<string>",
"trigger": "<string>",
"branch": "<string>",
"commitHash": "<string>",
"testPlanShortId": "<string>",
"applicationShortIds": [
"<string>"
],
"startedAt": "<string>",
"finishedAt": "<string>",
"createdAt": "<string>",
"passedCount": 123,
"failedCount": 123,
"erroredCount": 123,
"skippedCount": 123,
"cancelledCount": 123,
"totalCount": 123,
"url": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Query Parameters
Filters for listing runs. Every filter is optional; with no filters the most recent runs across all time are returned, newest first.
Show child attributes
Show child attributes
Was this page helpful?
⌘I