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. Start MCP Connect Cursor, Claude, Codex, VS Code, and other MCP clients with your project API key. 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 Version from package.json / metadata. Environments Browser Window hooks, page URL, fetch/XHR breadcrumbs. Environments Node.js Server init, request URL on captureException. Environments Python pip install, FastAPI and Django, asyncio auto-capture. Environments Java Gradle/Maven, Java 17+ and Kotlin, uncaught handler. Platforms Next.js instrumentation-client + instrumentation, error boundaries. Billing Plans How long errors stay visible and how many we store per project.