EvoHub Docs Sign in

Uptime API › Audit log

List Uptime audit log entries

Use with AI
View as MarkdownThis page as plain text, for pasting into an AI tool Open in ClaudeAsk Claude questions about this page Open in ChatGPTAsk ChatGPT questions about this page
Connect to Cursor / VS Code / ClaudeSearch and read these docs from your AI tool (MCP server)

MCP server URL

https://docs-dev.evohub.io/mcp

Claude Code

claude mcp add --transport http evohub-docs-docs https://docs-dev.evohub.io/mcp

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector, and paste the URL above.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "evohub-docs-docs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://docs-dev.evohub.io/mcp"
      ]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "evohub-docs-docs": {
      "url": "https://docs-dev.evohub.io/mcp"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "evohub-docs-docs": {
      "type": "http",
      "url": "https://docs-dev.evohub.io/mcp"
    }
  }
}
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

Any one of:

Parameters

Query parameters

  • resource_type string
    monitor, channel, silence or weekly_digest. Needs resource_id.
    Example: monitor
  • resource_id string
    The resource's ID. Needs resource_type.
    Example: mon_8c1d0b52-6f3e-4a7d-9b21-0e5c4f7a3d19
  • limit integer
    How many entries to return. A value outside 1–500, or not a number, is read as 100.
    Default: 100 · Minimum: 1 · Maximum: 500

Responses

200

The entries.

Content type: application/json

Type: object

  • data array of AuditLogEntry
    Show AuditLogEntry properties
    • id string
    • org_id string
    • user_id string
      Who made the change; for an organization API key, the key's ID.
    • resource_type string
      One of: monitor channel silence weekly_digest
    • resource_id string
    • action string
      monitor.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, or update (weekly summary).
    • actor_type string
      Value: user
    • details object
      Other keys: any
    • created_at string (date-time)

401

No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: MONITOR_NOT_FOUND
    • message string required
      Example: monitor not found
    • request_id string

403

The key lacks the scope this endpoint needs (FORBIDDEN).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: MONITOR_NOT_FOUND
    • message string required
      Example: monitor not found
    • request_id string

429

Too many requests (RATE_LIMITED). Wait for Retry-After seconds.

Headers

  • Retry-After integer
    Seconds to wait before retrying.

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: MONITOR_NOT_FOUND
    • message string required
      Example: monitor not found
    • request_id string

500

Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.

Content type: application/json

Type: Error

  • error object required
    • code string required
      Example: MONITOR_NOT_FOUND
    • message string required
      Example: monitor not found
    • request_id string

Example request

curl -X GET 'https://evohub.io/api/v1/uptime-audit-logs' \
  -H 'Authorization: Bearer <TOKEN>'

Last updated