curl --request GET \
--url https://api.apsio.io/v1/projects/{projectId}/probable-cause \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apsio.io/v1/projects/{projectId}/probable-cause"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apsio.io/v1/projects/{projectId}/probable-cause', 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.apsio.io/v1/projects/{projectId}/probable-cause",
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.apsio.io/v1/projects/{projectId}/probable-cause"
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.apsio.io/v1/projects/{projectId}/probable-cause")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apsio.io/v1/projects/{projectId}/probable-cause")
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{
"summary": "<string>",
"verdict": "suspects",
"subject": {
"kind": "issue_spike",
"issue_id": "<string>",
"metric": "crash_rate",
"unit": "installs",
"untrusted": {
"release": "<string>",
"baseline": "<string>"
}
},
"windows": {
"now": {
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z"
},
"before": {
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z"
},
"data_through": "2026-10-04T10:15:00.431000000Z"
},
"sample": {
"bad_installs": 123,
"installs": 123,
"values_tested": 123,
"power": "too_few",
"needed": 123,
"estimated": true,
"read_one_in": 123
},
"coverage": {},
"suspects": [
{
"rank": 123,
"dimension": "release",
"label": "strong",
"evidence": {
"inside": {
"bad": 123,
"installs": 123,
"rate": 123
},
"outside": {
"bad": 123,
"installs": 123,
"rate": 123
},
"rate_ratio": 123,
"interval": [
123,
123
],
"test": "before_after",
"explains_rise": 123
},
"checks": {
"timing": "before_the_rise",
"stratified_rate_ratio": 123,
"moves_with": [
{
"dimension": "release",
"untrusted": {
"value": "<string>"
}
}
],
"coverage": 123
},
"would_clear_it": "<string>",
"marked": "not_this",
"untrusted": {
"value": "<string>"
},
"next": {
"tool": "<string>",
"untrusted": {
"arguments": {}
}
}
}
],
"not_suspects": [
{
"dimension": "release",
"reason": "moved_with",
"with_rank": 123,
"untrusted": {
"value": "<string>"
}
}
],
"commit": {
"state": "not_linked"
},
"limits": [
"<string>"
],
"limit_codes": [
"baseline_last_hours"
],
"computed_at": "2026-10-04T10:15:00.431000000Z"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}Suspects for a rise
One subject of one app and the suspects it supports, ranked by how much of the rise each explains, each with its counts and what would clear it; or a plain answer that nothing stands out, or that there are too few bad installs to rank. Give exactly one of issue_id, release with baseline, or metric. A correlation in counts shows where to look: it does not prove a cause. Windows end two minutes before now, as crash reports arrive at the next launch. At most 7 days, or 30 for a release.
curl --request GET \
--url https://api.apsio.io/v1/projects/{projectId}/probable-cause \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apsio.io/v1/projects/{projectId}/probable-cause"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.apsio.io/v1/projects/{projectId}/probable-cause', 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.apsio.io/v1/projects/{projectId}/probable-cause",
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.apsio.io/v1/projects/{projectId}/probable-cause"
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.apsio.io/v1/projects/{projectId}/probable-cause")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apsio.io/v1/projects/{projectId}/probable-cause")
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{
"summary": "<string>",
"verdict": "suspects",
"subject": {
"kind": "issue_spike",
"issue_id": "<string>",
"metric": "crash_rate",
"unit": "installs",
"untrusted": {
"release": "<string>",
"baseline": "<string>"
}
},
"windows": {
"now": {
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z"
},
"before": {
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z"
},
"data_through": "2026-10-04T10:15:00.431000000Z"
},
"sample": {
"bad_installs": 123,
"installs": 123,
"values_tested": 123,
"power": "too_few",
"needed": 123,
"estimated": true,
"read_one_in": 123
},
"coverage": {},
"suspects": [
{
"rank": 123,
"dimension": "release",
"label": "strong",
"evidence": {
"inside": {
"bad": 123,
"installs": 123,
"rate": 123
},
"outside": {
"bad": 123,
"installs": 123,
"rate": 123
},
"rate_ratio": 123,
"interval": [
123,
123
],
"test": "before_after",
"explains_rise": 123
},
"checks": {
"timing": "before_the_rise",
"stratified_rate_ratio": 123,
"moves_with": [
{
"dimension": "release",
"untrusted": {
"value": "<string>"
}
}
],
"coverage": 123
},
"would_clear_it": "<string>",
"marked": "not_this",
"untrusted": {
"value": "<string>"
},
"next": {
"tool": "<string>",
"untrusted": {
"arguments": {}
}
}
}
],
"not_suspects": [
{
"dimension": "release",
"reason": "moved_with",
"with_rank": 123,
"untrusted": {
"value": "<string>"
}
}
],
"commit": {
"state": "not_linked"
},
"limits": [
"<string>"
],
"limit_codes": [
"baseline_last_hours"
],
"computed_at": "2026-10-04T10:15:00.431000000Z"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization"
}
}Authorizations
Path Parameters
Query Parameters
Response
The suspects, or why there are none.
nothing_stands_out is a finding, not a failure, and never means there is no cause. too_few: too few bad installs to rank. too_large: the app started more sessions in the days of the windows than a report can read in time, so none was read and the sample is empty.
suspects, nothing_stands_out, too_few, too_large The code of each entry of limits, in the same order.
baseline_last_hours, window_past_retention, flags_left_out, no_install_id, estimated, large_effects_only, two_times_invisible, young_release, no_rise, low_coverage_network_type, low_coverage_endpoint, low_coverage_screen, low_coverage_feature_flag, flags_capped, read_every_bad, read_one_in, too_few_of_read