GET /sites/s_ab12cd34ef56/issues
Request examples and the documented response.
Back to this endpoint in the API reference
curl
Request
curl "https://api.pagehum.com/v1/sites/s_ab12cd34ef56/issues" \ -H "Authorization: Bearer $PAGEHUM_API_KEY"
JavaScript
Request
const response = await fetch("https://api.pagehum.com/v1/sites/s_ab12cd34ef56/issues", {
headers: { Authorization: `Bearer ${process.env.PAGEHUM_API_KEY}` },
});
const { ok, data, error } = await response.json();
if (!ok) throw new Error(error);Response
Response
{
"ok": true,
"data": {
"range": 7,
"problem": "errors",
"items": [
{
"signal": "errors",
"label": "Client errors",
"level": "problem",
"problem": true,
"why": "74 client errors on 2140 pageviews (3.5%).",
"suppressed": null,
"suppressedUntil": null,
"status": "ongoing",
"trend": {
"unit": "count",
"label": "client errors a day",
"recent": [
{
"date": "2026-10-11",
"value": 12
}
]
},
"errors": [
{
"path": "/cart",
"message": "TypeError: Cannot read properties of undefined (reading 'items')",
"count": 61,
"status": "ongoing",
"firstSeen": "2026-10-09",
"lastSeen": "2026-10-11",
"daysSeen": 3,
"recent": [
{
"date": "2026-10-11",
"count": 22
}
],
"pathPageviews": 610,
"otherPaths": [],
"browsers": [
{
"browser": "Safari 17",
"count": 58
}
],
"pattern": null
}
],
"errorsOther": 0
},
{
"signal": "broken",
"label": "Broken links",
"level": "problem",
"problem": false,
"why": "27 hits visitors already ran into — /old-pricing (24), /blog/spring-sale.pdf (3).",
"suppressed": null,
"suppressedUntil": null,
"status": "ongoing",
"trend": {
"unit": "count",
"label": "broken hits a day",
"recent": [
{
"date": "2026-10-01",
"value": 0
},
{
"date": "2026-10-02",
"value": 0
},
{
"date": "2026-10-03",
"value": 1
},
{
"date": "2026-10-04",
"value": 0
},
{
"date": "2026-10-05",
"value": 2
},
{
"date": "2026-10-06",
"value": 3
},
{
"date": "2026-10-07",
"value": 0
},
{
"date": "2026-10-08",
"value": 4
},
{
"date": "2026-10-09",
"value": 3
},
{
"date": "2026-10-10",
"value": 5
},
{
"date": "2026-10-11",
"value": 2
},
{
"date": "2026-10-12",
"value": 4
},
{
"date": "2026-10-13",
"value": 3
},
{
"date": "2026-10-14",
"value": 3
}
]
},
"paths": [
{
"path": "/old-pricing",
"count": 24,
"share": 0.89,
"status": "ongoing",
"firstSeen": "2026-10-02",
"lastSeen": "2026-10-07",
"daysSeen": 4,
"recent": [
{
"date": "2026-10-07",
"count": 3
}
],
"from": [
{
"path": "/blog/spring-sale",
"count": 19
}
]
}
]
},
{
"signal": "requests",
"label": "Failing requests",
"level": "watch",
"problem": false,
"why": "3 same-site requests failed: POST /api/subscribe (HTTP 502 ×3).",
"suppressed": null,
"suppressedUntil": null,
"status": "new",
"trend": {
"unit": "count",
"label": "failed requests a day",
"recent": []
},
"requests": [
{
"method": "POST",
"path": "/api/subscribe",
"status": 502,
"count": 3,
"issueStatus": "new",
"firstSeen": "2026-10-11",
"lastSeen": "2026-10-11",
"daysSeen": 1,
"recent": []
}
]
}
]
}
}