Get run status
curl --request GET \
--url https://api.mobileboost.io/runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mobileboost.io/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mobileboost.io/runs/{run_id}', 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.mobileboost.io/runs/{run_id}",
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.mobileboost.io/runs/{run_id}"
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.mobileboost.io/runs/{run_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mobileboost.io/runs/{run_id}")
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{
"runId": "abc123",
"status": "completed",
"totalTests": 2,
"succeededTests": [
{
"id": "test1",
"title": "Login flow",
"status": "succeeded",
"recording": "https://app.mobileboost.io/recording/abc123/runs/test1",
"interactionLogs": "https://api.mobileboost.io/suite/abc123/run/test1/interaction_logs?organisation_id=org123"
}
],
"failedTests": [
{
"id": "test2",
"title": "Checkout flow",
"status": "failed",
"recording": "https://app.mobileboost.io/recording/abc123/runs/test2",
"interactionLogs": "https://api.mobileboost.io/suite/abc123/run/test2/interaction_logs?organisation_id=org123"
}
],
"blockedTests": []
}Runs
Get run status
Retrieve the status and per-test results for a specific run. Each result entry contains the test ID, title, status, a link to the recording, and a link to the per-step interaction logs.
GET
/
runs
/
{run_id}
Get run status
curl --request GET \
--url https://api.mobileboost.io/runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mobileboost.io/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mobileboost.io/runs/{run_id}', 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.mobileboost.io/runs/{run_id}",
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.mobileboost.io/runs/{run_id}"
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.mobileboost.io/runs/{run_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mobileboost.io/runs/{run_id}")
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{
"runId": "abc123",
"status": "completed",
"totalTests": 2,
"succeededTests": [
{
"id": "test1",
"title": "Login flow",
"status": "succeeded",
"recording": "https://app.mobileboost.io/recording/abc123/runs/test1",
"interactionLogs": "https://api.mobileboost.io/suite/abc123/run/test1/interaction_logs?organisation_id=org123"
}
],
"failedTests": [
{
"id": "test2",
"title": "Checkout flow",
"status": "failed",
"recording": "https://app.mobileboost.io/recording/abc123/runs/test2",
"interactionLogs": "https://api.mobileboost.io/suite/abc123/run/test2/interaction_logs?organisation_id=org123"
}
],
"blockedTests": []
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
200 - application/json
Successful response
The ID of the run.
Overall status of the run (e.g. pending, running, completed).
Total number of tests in the run.
Tests that succeeded.
Show child attributes
Show child attributes
Tests that failed.
Show child attributes
Show child attributes
Tests that were blocked.
Show child attributes
Show child attributes
⌘I

