curl --request GET \
--url https://api.apsio.io/v1/projects/{projectId}/performance/hangs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apsio.io/v1/projects/{projectId}/performance/hangs"
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}/performance/hangs', 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}/performance/hangs",
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}/performance/hangs"
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}/performance/hangs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apsio.io/v1/projects/{projectId}/performance/hangs")
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{
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z",
"releases": [
{
"app_id": "<string>",
"release": "<string>",
"sessions": 123,
"sessions_with_hang": 123,
"sessions_with_anr": 123,
"hang_rate": 123,
"anr_rate": 123
}
],
"days": [
{
"day": "<string>",
"sessions": 123,
"sessions_with_hang": 123,
"sessions_with_anr": 123
}
],
"screens": [
{
"app_id": "<string>",
"screen": "<string>",
"hangs": 123,
"anrs": 123,
"sessions": 123,
"p50_ms": 123,
"p90_ms": 123,
"release": "<string>"
}
],
"durations": {
"count": 123,
"unfinished": 123,
"p50_ms": 123,
"p90_ms": 123,
"histogram": {
"bounds_ms": [
123
],
"counts": [
123
]
},
"fine_histogram": {
"bucket_ms": 123,
"counts": [
123
],
"overflow": 123
}
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}Hangs and ANRs
Hang (iOS) and ANR (Android) session rates per release and per UTC day of session start, and the screens they happened on (the last screen loaded before each), from the hangs the SDK saw live (apsio.hang.source live, spec 6.3), so a hang MetricKit reports a day later counts once, and without launch hangs (apsio.hang.phase launch: app.start measures a slow launch, and no screen is shown yet); and the distribution of hang durations (apsio.hang.duration, iOS) from every hang record, MetricKit ones included, except unfinished hangs (the app was killed during them), whose durations are lower bounds and are only counted, and live launch hangs (MetricKit hangs carry no phase, so those still count). The issues themselves: /issues?kind=hang or kind=anr. Default range: the last 7 days, at most 30.
curl --request GET \
--url https://api.apsio.io/v1/projects/{projectId}/performance/hangs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.apsio.io/v1/projects/{projectId}/performance/hangs"
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}/performance/hangs', 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}/performance/hangs",
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}/performance/hangs"
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}/performance/hangs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.apsio.io/v1/projects/{projectId}/performance/hangs")
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{
"from": "2026-10-04T10:15:00.431000000Z",
"to": "2026-10-04T10:15:00.431000000Z",
"releases": [
{
"app_id": "<string>",
"release": "<string>",
"sessions": 123,
"sessions_with_hang": 123,
"sessions_with_anr": 123,
"hang_rate": 123,
"anr_rate": 123
}
],
"days": [
{
"day": "<string>",
"sessions": 123,
"sessions_with_hang": 123,
"sessions_with_anr": 123
}
],
"screens": [
{
"app_id": "<string>",
"screen": "<string>",
"hangs": 123,
"anrs": 123,
"sessions": 123,
"p50_ms": 123,
"p90_ms": 123,
"release": "<string>"
}
],
"durations": {
"count": 123,
"unfinished": 123,
"p50_ms": 123,
"p90_ms": 123,
"histogram": {
"bounds_ms": [
123
],
"counts": [
123
]
},
"fine_histogram": {
"bucket_ms": 123,
"counts": [
123
],
"overflow": 123
}
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"subject": "organization",
"queries_per_minute": 123
}
}Authorizations
Path Parameters
Query Parameters
Response
Hang and ANR rates, screens and durations.