Statuspage

Manage Statuspage incidents and components via API. Update status and communicate outages.

modbender Updated 12 repo stars

File contents

Statuspage

Status communication.

Environment

export STATUSPAGE_API_KEY="xxxxxxxxxx"
export STATUSPAGE_PAGE_ID="xxxxxxxxxx"

Create Incident

curl -X POST "https://api.statuspage.io/v1/pages/$STATUSPAGE_PAGE_ID/incidents" \
  -H "Authorization: OAuth $STATUSPAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"incident": {"name": "Service Degradation", "status": "investigating", "body": "We are investigating..."}}'

List Incidents

curl "https://api.statuspage.io/v1/pages/$STATUSPAGE_PAGE_ID/incidents" \
  -H "Authorization: OAuth $STATUSPAGE_API_KEY"

Update Component

curl -X PATCH "https://api.statuspage.io/v1/pages/$STATUSPAGE_PAGE_ID/components/{id}" \
  -H "Authorization: OAuth $STATUSPAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"component": {"status": "operational"}}'

Links

modbender/skill-library-mcp/tree/main/data/statuspage commit 330bfa8afe

Frequently asked questions

npx skillmds@latest add modbender/statuspage