EvoHub Docs Sign in

Status API › Components

Get a component

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/components/{componentID}

Returns one component with its stored current_status (the page's component list shows a monitor-linked component's live state instead).

Permission (API-key scope): status:component:read.

Authorization

Any one of:

Parameters

Path parameters

  • componentID string (uuid) required
    The component's id (a UUID).
    Example: a7c1e3f5-2b4d-4c6e-8f0a-1b3d5f7a9c2e

Responses

200

The component.

Content type: application/json

Type: object

  • data Component required
    Show Component properties
    • id string (uuid) required
    • org_id string required
    • page_id string (uuid) required
    • name string required
    • description string
    • source string required
      One of: manual uptime_monitor
    • monitor_id string
      The Uptime monitor it mirrors (source uptime_monitor).
    • current_status ComponentStatus required
      One of: operational degraded partial_outage major_outage maintenance
    • position integer required
    • group string
      The group (product) it appears under; absent when ungrouped.
    • shown_status ComponentStatus
      In the page's component list only, and only when a live incident or maintenance shows it differently from current_status on the public page.
      One of: operational degraded partial_outage major_outage maintenance
    • shown_because string
      The live incident's or maintenance's title that makes visitors see shown_status.
    • created_at string (date-time) required
    • updated_at string (date-time) required
  • success boolean required
    Value: true

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
      Machine-readable code. Branch on this.
    • message string required
      Human-readable explanation.
    • request_id string
      This request's id, also in X-Request-ID.

403

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

Content type: application/json

Type: Error

  • error object required
    • code string required
      Machine-readable code. Branch on this.
    • message string required
      Human-readable explanation.
    • request_id string
      This request's id, also in X-Request-ID.

404

No such item, or one the caller cannot see (NOT_FOUND).

Content type: application/json

Type: Error

  • error object required
    • code string required
      Machine-readable code. Branch on this.
    • message string required
      Human-readable explanation.
    • request_id string
      This request's id, also in X-Request-ID.

429

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

Headers

  • Retry-After integer
    Seconds to wait.

Content type: application/json

Type: Error

  • error object required
    • code string required
      Machine-readable code. Branch on this.
    • message string required
      Human-readable explanation.
    • request_id string
      This request's id, also in X-Request-ID.

500

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

Content type: application/json

Type: Error

  • error object required
    • code string required
      Machine-readable code. Branch on this.
    • message string required
      Human-readable explanation.
    • request_id string
      This request's id, also in X-Request-ID.

Example request

curl -X GET 'https://evohub.io/api/v1/components/a7c1e3f5-2b4d-4c6e-8f0a-1b3d5f7a9c2e' \
  -H 'Authorization: Bearer <TOKEN>'

Last updated