Kitaru

kitaru session import

Upload a local payload or fetch from a provider API, and create an import job.

Usage

kitaru session import [FILE] [OPTIONS]

Supported --output modes: auto, text, json, jsonl.

Arguments

NameTypeRequiredDescription
FILEpathNoLocal payload file. Omit for an API import.

Options

NameTypeRequiredDescription
--importerreferenceYesExact IMPORTER@VERSION reference.
--agentreferenceYesExact AGENT@VERSION reference.
--paramsJSON objectNoImporter parameters.
--join-onJSON PointerNoGroup source traces by the value at this RFC 6901 JSON Pointer.
--sincetimestamp or durationNoFor an API import, fetch traces at or after this ISO 8601 timestamp or relative duration such as 7d, 12h, or 30m.
--untiltimestamp or durationNoFor an API import, fetch traces before this ISO 8601 timestamp or relative duration such as 7d, 12h, or 30m.
--trace-idtext[]NoFor an API import, fetch exactly these provider trace ids.
--queryJSON objectNoAdditional importer-defined API selection fields, merged with --since, --until, and --trace-id.
--connectionreferenceNoFor an API import, the connection UUID or name supplying provider credentials.
--tagtext[]NoTag every session created by this import; requires --wait.
--evaluatorEVALUATOR@VERSION[]NoExact evaluator version scored against every imported session.
--evaluator-paramsEVALUATOR@VERSION=JSON_OBJECT[]NoParameters for a selected evaluator token.
--analyzerANALYZER@VERSION[]NoExact analyzer version run once over every imported session.
--analyzer-paramsANALYZER@VERSION=JSON_OBJECT[]NoParameters for a selected analyzer token.
--analyzer-connectionANALYZER@VERSION=CONNECTION[]NoConnection for a selected analyzer token.
--media-typestringNoPayload media type.
--max-sessionsintegerNoStop the import after creating this many sessions.
--waitbooleanNoWait for remote work settlement.
--intervalpositive floatNoPolling interval; requires --wait.
--timeoutpositive floatNoLocal wait timeout; requires --wait.
--idempotency-keystringNoRetrying this exact invocation with the same key returns the original result instead of acting twice.

Every command also accepts the global options listed on the CLI overview page.

On this page