Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 909 Bytes

File metadata and controls

35 lines (22 loc) · 909 Bytes

Sentry API Schema

Sentry's public API schema and auto-generated TypeScript client, published as @sentry/api.

About

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.

Installation

npm install @sentry/api

Usage

import type { ... } from "@sentry/api";

Development

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 build

License

FSL-1.1-Apache-2.0. See LICENSE.md for details.