Explicit capture · small alpha
Your first trace.
Three ways to send a first trace: from Home, from any OpenTelemetry exporter, or with the reviewed scripts below.
Path 3: reviewed scripts
You need Python 3, a terminal and a SupaTrace sign-in. The scripts use Python's standard library; no package install is needed.
Traces may contain prompts, tool output, personal information and secrets. Review what you select and remove anything you do not want stored. These steps do not scan your machine, install hooks or upload automatically. The Claude hook beta needs explicit project installation and content and upload choices. Automatic Codex capture is not available.
1. Download the three scripts
Save these together in a new folder, then open your terminal in that folder. Read the scripts before running them.
2. Approve a write-only connection
Open Agents in your workspace. Copy its project-specific command, or replace YOUR_PROJECT_ID below with the project ID shown there.
python3 connect.py --project YOUR_PROJECT_ID --config ./supatrace-access.json
The script creates a key locally and shows a 12-character setup code. Approve only the code your own agent just showed you. Once approved, the script saves write-only credentials to your selected config file with owner-only permissions.
Keep that config private. Never commit it or paste it into chat. The key lasts 30 days, cannot read traces and can be revoked in API keys. Sign in later with the same provider, or one linked to the account.
3. Send the reviewed synthetic example
Download first-trace.json into that folder and inspect it. It contains three synthetic events and no real transcript data. Then explicitly upload it:
python3 upload.py ./first-trace.json --config ./supatrace-access.json
Wait for Accepted by server. The uploader keeps a local pending copy until the server returns the matching batch ID, byte hash and project ID. A failed or unclear response leaves it pending. Follow the recovery message: wait on rate limits, review capacity or key failures, and reconcile batch, hash and project before retrying an unconfirmed upload. Do not change a batch ID to force a retry. Server reservations may remain even with no acknowledgment. Repeating this exact example is idempotent.
4. Inspect and export
Open Traces, select Refresh, then open first-trace-example. Compare it with your example. Export, redaction and limits are in Export. A redacted copy needs a reviewed preview, and identifier masks can break links or merge distinct IDs, so read the impact report before sharing.
Export this environment reads every indexed trace in the selected environment, not just the filtered table. Account archives are not redacted and may contain secrets or personal information. The per-trace redacted-copy tool does not redact them. Review the archive before sharing. Without Save File support, the archive is limited to 20 MiB (including metadata) and 100,000 events across all traces. When ready, choose Download prepared archive and check your browser downloads. Pause uploads while it prepares: this is an observed read, not a point-in-time snapshot.
5. Try a selected Claude Code snapshot
When the example works, choose one finished transcript yourself. The converter never searches your disk. Use a unique run ID and a clean output folder for each snapshot:
python3 claude_snapshot.py /path/to/selected-transcript.jsonl --run-id my-reviewed-snapshot --out ./reviewed-batches
Inspect every generated batch before uploading. The summary counts unsupported blocks or rows rather than claiming they were captured. Oversized blocks fail instead of being silently truncated. Upload reviewed batches one at a time in numbered filename order:
python3 upload.py ./reviewed-batches/BATCH.json --config ./supatrace-access.json
Do not mix old and new conversions under a reused run ID. Events keep their order within a batch. Batches export in server acceptance order, so upload in order when sequence matters.
Import an existing provider export
Local staging for LangSmith, Braintrust, Weave, Opik, Datadog LLM Observability, MLflow, Helicone and OTLP HTTP JSON files. It does not fetch provider APIs or capture live sessions. Not available in the hosted service yet. Source is in the public repository and needs Node 22 and Python 3.12. The three downloads above do not include the converters.
Choose one reviewed file and a new private staging directory outside your source repository. Copy the destination project ID from Agents. This page only builds a command. It does not read files, store settings, run commands or upload.
Run the command in a macOS/Linux shell from the repository root. It stages locally and reports uploaded:false. Inspect the private report, batches, manifest and stage receipt before considering a separately authorized upload. Unsupported or oversized files fail without partial staging. A file does not establish complete provider history.
The importer guide has availability. Operator instructions for file shapes, upload, recovery and readback are in the public repository. Uploading needs deployment-specific hooks. The hosted service does not provide this flow yet. Do not enter credentials here. Use an approved destination connection only through the private uploader. Verify accepted counts and exported content before calling the import complete.
Optional: Claude Code hook beta
An opt-in connector that receives prompt-submission, successful-tool and completion events from Claude through stdin. It does not read session files or install itself. Native installed-version and hosted acceptance are not yet verified. Coverage is partial: interruptions, failed tools and API errors are not captured.
On macOS or Linux, save claude_hook.py beside upload.py, outside the source project. Use the existing approved private connection config. Choose an exact source workspace and a new private spool outside it:
python3 claude_hook.py init --workspace /absolute/source/project --config /absolute/private/supatrace-access.json --spool /absolute/private/new-hook-spool
The default keeps metadata only and does not upload. To retain prompts, tool arguments/results and final text, initialization requires both --content --allow-content. That content may contain secrets, personal information and file paths; it is not redacted. Separately add --upload-on-stop only if you approve automatic bounded uploads to that config's project when Claude completes. These choices are fixed for this spool. Do not put the config or spool in your repository.
Review the project settings example. Replace its absolute Python, script and spool paths and keep the JSON quoting. With explicit permission, merge only those entries into this project's .claude/settings.local.json, keeping existing hooks. Do not replace user-wide settings or add async execution or blocking decisions. The example sets a twelve-second timeout. First use a nonsensitive session and check that your installed version provides session_id, prompt_id and tool IDs. Missing fields are omissions. Do not read transcripts to fill them.
python3 claude_hook.py status --spool /absolute/private/new-hook-spool python3 claude_hook.py flush --spool /absolute/private/new-hook-spool
Flush sends pending data to the approved config's project. It allows at most two requests, with an eight-second interrupt deadline and a twelve-second host hook timeout. Some library calls can delay Python signals, so check timeout behavior in your install. Larger backlogs may stay pending. Matching batch, hash and project acknowledgments count as accepted, not as verified hosted readback. Inspect the trace in your workspace. Uncertain uploads block further sends until authenticated reconciliation. Do not blindly retry, delete the journal or recreate keys. Stop events use local occurrence IDs, so a duplicate Stop delivery can stay duplicated.
Capture is bounded to 2,000 events / 8 MiB of journal and 24 MiB of private spool, including write reserve. There is no automatic rollover or deletion. Health output counts omissions where it can. A lock or disk failure can prevent even that marker. To stop capture, remove only the project hook entries you added. To stop acceptance, revoke only the intended key. That does not delete stored or pending data. Real agent capture and saved export verification are still open.
Current limits
- JSON batch: 1–100 events; 512 KiB per batch; 32 KiB per event's JSON data; nesting depth 32.
- Rate: 60 API requests per minute per network; 30 uploads per minute per account. Shared networks may share the request limit.
- Setup codes expire after 10 minutes.
- The allowance is shared across an organization's environments and includes accepted and pending uploads.
- Free, Base and Pro keep traces until you delete them. At the storage cap, new uploads stop until you upgrade or free space. Enterprise retention is set by contract. Plans, retention, keys, trace listing and Claude snapshot size are on Limits. If a trace-listing scan fails or hits a limit, no partial total is shown. Retry Refresh.
When something goes wrong
- Sign-in failed or expired: start a fresh sign-in from the workspace with the same provider. Do not refresh or share an OAuth callback URL.
- Setup expired: no key is granted. Keep the pending config private and unchanged. Use a different config path for a new setup. Approved configs are not silently replaced.
- Key expired or revoked: explicitly make and approve a new connection. Do not overwrite another project's config.
- Rate limit: keep the local batch unchanged and wait for the retry window. Export can pause and retry. You can cancel while it prepares, before saving or download begins. After a standard download starts, manage it in your browser downloads.
- Allowance or capacity reached: your pending batch stays local. Spans reset on the 1st (UTC). Stored bytes do not, and repeated uploads cannot add capacity. Pending server reservations also use quota.
- Network loss: keep the original transcript and pending file until you verify the accepted trace. Local spooling survives process exit, not a lost machine or disk.
Settings provides account closure. Deleting an organization, project or environment queues physical erasure after a ten-minute in-flight grace period. Account closure requires transferring or deleting owned organizations first. An individual trace has no delete control. Trace payloads are not kept in backups once erasure finishes. Account, project and trace metadata may remain in database backups after deletion: point-in-time backups roll off within 35 days, and a small number of manual database snapshots taken in November 2026 are kept until we delete them. Use synthetic or reviewed data for evaluation.