Sentry Client
@theholocron/sentry-client wraps the Sentry REST API for managing organizations and projects.
Installation
Section titled “Installation”pnpm add @theholocron/sentry-clientimport { createSentryClient } from "@theholocron/sentry-client";
const client = createSentryClient({ token: process.env.SENTRY_AUTH_TOKEN!,});
const org = await client.auth.getOrganization("my-org");const projects = await client.projects.list("my-org");const project = await client.projects.create("my-org", { name: "my-app", platform: "node" });const keys = await client.projects.listKeys("my-org", "my-app");The full API reference is generated from the package’s TSDoc comments.