EvoHub Docs Sign in

Uptime API › Weekly summary

Email yourself a preview

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"
    }
  }
}
POST/api/v1/uptime-digest/preview

Emails the caller the summary of the last full week. Takes no body.

Only an owner or administrator signed in to EvoHub can do this, at most once a minute. An API key always gets 403.

Requires the uptime:monitor:read scope, and a person who is an owner or administrator.

Authorization

Any one of:

Responses

200

The preview was sent.

Content type: application/json

Type: object

  • data object
    • sent_to string required
      The address it was sent to.

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 caller is not an owner or administrator signed in as a person, or lacks uptime:monitor:read (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

409

The weekly summary email is not available yet (DIGEST_UNAVAILABLE), there are no monitors to summarize (NO_MONITORS), or the caller's account has no address it can be sent to (NO_DELIVERABLE_EMAIL).

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

A preview was sent to the caller less than a minute ago (RATE_LIMITED), or the API rate limit was reached.

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

502

The email provider refused the preview (EMAIL_REJECTED), or it could not be sent (PREVIEW_FAILED).

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 POST 'https://evohub.io/api/v1/uptime-digest/preview' \
  -H 'Authorization: Bearer <TOKEN>'

Last updated