@sentrial/sdk 0.5.0 as the sentrial binary.
This page describes that release. Start with the quickstart to send
a real trace with the published TypeScript or Python SDK.
Guided setup and Doctor are prepared for a future SDK release. They are not in the currently
published packages; use the commands below until publication.
Prerequisites
- Node.js 18+
- A Sentrial API key from organization settings
Installation
npm
npm
Commands
install
Install the SDK and scaffold example integration files.
Version 0.5.0 does not accept
install --json. Use --dry-run to inspect installation steps.
init
Scaffold examples without installing packages.login
Save an API key for future CLI calls.sessions list
List recent sessions.sessions get
Fetch one session and its events.events list
List events for a session.signals list
List detected signals.diagnose
Diagnose a failed session from its event timeline.evaluate
Run an experiment quality gate in CI.sentrial evaluate calls /api/v1/evaluate, which requires an API key carrying the
metrics:read scope. Dashboard-generated keys include it; a manually-narrowed key without it
fails the CI gate with a 403.Common Workflows
Set Up A New Agent Repo
Debug A Failed Session
Inspect Tool Calls
Gate An Experiment In CI
Output
Commands print readable terminal output by default. Add--json for scripts and agents:

