View as Markdown
Statuspage icon

Statuspage ACTION

Fetch Active Incidents

Fetch unresolved (active) incidents for a Statuspage page — i.e. incidents not yet in the resolved or postmortem state. Returns an array (possibly empty) of incident objects. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Statuspage account once, then configure and run Fetch Active Incidents from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "statuspage-fetch-active-incidents",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    statuspage: { authProvisionId: "apn_xxxxxxx" },
    pageId: "Page ID",
    page: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Fetch Active Incidents inputs
Property Type Description
pageId Page ID string
The ID of the page
Required Dynamic
page Page integer
The page number to fetch
Optional
perPage Per Page integer
The number of incidents to fetch per page
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
statuspage-fetch-active-incidents
Version
0.0.2
App
Statuspage
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes