Skip to content

getsentry/sentry-api-schema

Repository files navigation

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.

About

Sentry's public API schema

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 154