Sentry's public API schema and auto-generated TypeScript client, published as @sentry/api.
This repository contains Sentry's OpenAPI v3.0.1 schema and tooling to generate TypeScript client from it. The schema source of truth lives in getsentry/sentry and is synced here automatically.
npm install @sentry/apiimport type { ... } from "@sentry/api";This project uses Bun as its package manager and build tool.
# Install dependencies
bun install
# Build the package (generates types from OpenAPI schema, bundles, and emits declarations)
bun run buildFSL-1.1-Apache-2.0. See LICENSE.md for details.