Uptime API › Audit log
List Uptime audit log entries
GET/api/v1/uptime-audit-logs
Changes made in Uptime, newest first: monitors created, changed, paused, resumed, deleted, silenced and linked to channels; channels created and deleted; the organization's silence set and cleared; the weekly summary turned on or off.
Filter to one resource with resource_type and resource_id
together; either alone is ignored.
data is [] when there are no entries.
Requires the uptime:audit:read scope.
Authorization
Parameters
Query parameters
resource_typestringmonitor,channel,silenceorweekly_digest. Needsresource_id.resource_idstringThe resource's ID. Needsresource_type.limitintegerHow many entries to return. A value outside 1–500, or not a number, is read as 100.
Responses
200
The entries.
dataarray of AuditLogEntryShow AuditLogEntry properties
idstringorg_idstringuser_idstringWho made the change; for an organization API key, the key's ID.resource_typestringresource_idstringactionstringmonitor.created,monitor.updated,monitor.paused,monitor.resumed,monitor.deleted,monitor.silenced,monitor.silence_cleared,monitor.channel_linked,monitor.channel_unlinked,channel.created,channel.deleted,silence.set,silence.cleared, orupdate(weekly summary).actor_typestringdetailsobjectcreated_atstring (date-time)
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/uptime-audit-logs' \
-H 'Authorization: Bearer <TOKEN>'