Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

hook ingest

Stream event batches from stdin to your workspace and print a receipt for each accepted batch.

Usage

span hook ingest < batches.ndjson
Send one JSON session batch (version 1) or swarm batch (version 2) per line. Each line is sent immediately and produces a JSON receipt containing line, session, inserted, and total. Closing stdin ends the process. Run span login first, or supply service credentials for unattended ingestion.
Each batch line can be at most 256 KiB. The command stops at the first invalid or unconfirmed batch and reports the line on stderr. Replay from that line with the original event IDs, timestamps, and contents.

Options

OptionDescription
-h, --helpPrint ingest help.

Examples

span hook ingest < reviewed.jsonl
Create the file with review. See authentication for service credentials and local redaction for filtering before upload.