GET
/api/v1/status/historyThe last 24 hours, hour by hour: the share of health checks that passed for each moderation type. No API key needed; cached for 60 seconds.
Responses#
200#
Hourly availability. hours and every hourly list have 24 entries (shortened here).
-
hoursarray of string requiredThe start of each of the last 24 hours, oldest first.
-
typesobject requiredOne entry per moderation type.
-
updatedAtstring requiredWhen this history was computed.
429#
Too many requests in a minute. Wait Retry-After seconds. See Rate limits.
Header Retry-After: Seconds to wait.
{
"error": "too_many_requests",
"message": "Too many requests. Try again in a minute."
}Request
curl -X GET https://api.detectivision.ai/api/v1/status/history \
-H "Api-Key: $DETECTIVISION_API_KEY"import os, requests
r = requests.get(
"https://api.detectivision.ai/api/v1/status/history",
headers={"Api-Key": os.environ["DETECTIVISION_API_KEY"]},
)
print(r.status_code, r.json())const res = await fetch("https://api.detectivision.ai/api/v1/status/history", {
method: "GET",
headers: {
"Api-Key": process.env.DETECTIVISION_API_KEY,
},
});
console.log(res.status, await res.json());Response 200
{
"hours": [
"2026-09-26T11:00:00.000Z",
"2026-09-26T12:00:00.000Z"
],
"types": {
"image_moderation": {
"uptime": 99.93,
"hourly": [
1,
0.983
]
}
},
"updatedAt": "2026-09-27T10:15:00.000Z"
}