@devhelm/sdk package is a typed, promise-based client for the DevHelm REST API. It runs in any modern Node.js or browser environment, ships full TypeScript types, and uses Zod for runtime request/response validation.
Install
fetch).
Initialize
Create a monitor
managedBy is optional — omit it (defaults to API server-side) or set it
explicitly to one of API, DASHBOARD, CLI, TERRAFORM, or MCP to
record the provenance for drift detection.
Request bodies are validated against the generated Zod schemas before any HTTP I/O — invalid payloads throw DevhelmValidationError with structured field errors.
List monitors
Update or delete a monitor
Get check results
Manage incidents
Create an alert channel
channelType discriminator inside config (slack, email, discord, pagerduty, …) — there is no top-level type field on this request.
Error handling
Resource namespaces
The client exposes 17 resources:Next steps
Client reference
Every method, signature, and return type.
Error handling
Exception classes and retry patterns.