List recent checks
curl --request GET \
--url https://api.hebeat.com/monitors/{monitor_id}/checks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebeat.com/monitors/{monitor_id}/checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hebeat.com/monitors/{monitor_id}/checks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"checks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"region_code": "us-east",
"observed_region": "<string>",
"trigger_code": "scheduled",
"scheduled_for": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"outcome": "active",
"latency_ms": 1,
"dns_ms": 1,
"tcp_connect_ms": 1,
"tls_handshake_ms": 1,
"ttfb_ms": 1,
"transfer_ms": 1,
"phase_reasons": {
"dns": "not_applicable",
"tcp_connect": "not_applicable",
"tls_handshake": "not_applicable",
"ttfb": "not_applicable",
"transfer": "not_applicable"
},
"protocol_status": 123,
"error_code": "<string>"
}
],
"pagination": {
"page": 123,
"per_page": 123,
"has_more": true
},
"window": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"retention_days": 123,
"clamped": true
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}Monitors
List recent checks
GET
/
monitors
/
{monitor_id}
/
checks
List recent checks
curl --request GET \
--url https://api.hebeat.com/monitors/{monitor_id}/checks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebeat.com/monitors/{monitor_id}/checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hebeat.com/monitors/{monitor_id}/checks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"checks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"region_code": "us-east",
"observed_region": "<string>",
"trigger_code": "scheduled",
"scheduled_for": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"outcome": "active",
"latency_ms": 1,
"dns_ms": 1,
"tcp_connect_ms": 1,
"tls_handshake_ms": 1,
"ttfb_ms": 1,
"transfer_ms": 1,
"phase_reasons": {
"dns": "not_applicable",
"tcp_connect": "not_applicable",
"tls_handshake": "not_applicable",
"ttfb": "not_applicable",
"transfer": "not_applicable"
},
"protocol_status": 123,
"error_code": "<string>"
}
],
"pagination": {
"page": 123,
"per_page": 123,
"has_more": true
},
"window": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"retention_days": 123,
"clamped": true
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}Headers
Query Parameters
Was this page helpful?