@bugbug-io/api-schema
v14.6.0
Published
Published TypeScript types and Zod schemas for the BugBug API
Readme
![]()
BugBug API Schema
@bugbug-io/api-schema provides published TypeScript types and Zod schemas for
building BugBug integrations.
npm install @bugbug-io/api-schemaUse it when
- You need TypeScript types generated from BugBug's OpenAPI contract.
- You want to validate BugBug tests, suites, runs, profiles, steps, selectors, or enums at runtime with Zod.
- You are building tooling that needs the same API shapes as the official SDK.
Schema imports
Import grouped schemas from subpath exports:
import { TestSchema } from '@bugbug-io/api-schema/schemas/tests';
import { StepSchema } from '@bugbug-io/api-schema/schemas/steps';Other available groups are selectors, suites, profiles, runs, and
enums.
For a higher-level API client, use @bugbug-io/sdk. Using the SDK access requires a BugBug Business plan.
