Skip to main content
POST
/
api
/
v1
/
status-pages
/
{id}
/
components
Add a component to the status page
curl --request POST \
  --url https://api.devhelm.io/api/v1/status-pages/{id}/components \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "MONITOR",
  "description": "<string>",
  "monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "resourceGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "showUptime": true,
  "displayOrder": 123,
  "excludeFromOverall": true,
  "startDate": "2023-12-25"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "statusPageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "type": "MONITOR",
    "currentStatus": "OPERATIONAL",
    "showUptime": true,
    "displayOrder": 123,
    "pageOrder": 123,
    "excludeFromOverall": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "description": "<string>",
    "monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "resourceGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "startDate": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required

Component display name

Maximum string length: 255
type
enum<string>
required

Component type: MONITOR, GROUP, or STATIC

Available options:
MONITOR,
GROUP,
STATIC
description
string | null

Optional description shown on expand

Maximum string length: 500
monitorId
string<uuid> | null

Monitor ID (required when type=MONITOR)

resourceGroupId
string<uuid> | null

Resource group ID (required when type=GROUP)

groupId
string<uuid> | null

Component group ID for visual grouping

showUptime
boolean | null

Whether to show the uptime bar (default: true)

displayOrder
integer<int32> | null

Position in the component list

excludeFromOverall
boolean | null

Exclude from overall status calculation (default: false, use true for third-party deps)

startDate
string<date> | null

Date from which to start showing uptime data

Response

201 - */*

Created

data
object
required