Documentation
Overview
Install the SDK, pass your API key, and errors show up in the app.
Quick start
pnpm add @retrace-kit/sdk
import { init } from '@retrace-kit/sdk';
init({ apiKey: 'your-project-api-key' }); Setup — install, test, get your key.
Guides
Start Setup Install, API key, quick test. Features Incidents Related issues on a route, release, or session — one outage to triage. Features Breadcrumbs Trail before an error — routes, requests, custom steps. Features Current user User id on events; Users column on issues. Features Session Visits and the EFU metric. Features Release Version on errors; Releases view in the app. SDK Capture Automatic vs manual capture, payload fields. SDK Breadcrumbs addBreadcrumb, network patch, router hooks. SDK Current user setUser API. SDK Session sessionId, localStorage, pings. SDK Release release in init. Environments Browser Window hooks, page URL, fetch/XHR breadcrumbs. Environments Node.js Server init, serverUrl, Node limits. Platforms Next.js instrumentation-client + instrumentation, error boundaries. Billing Plans How long errors stay visible and how many we store per project.