CLI
sazabi artifacts
Command reference for sazabi artifacts.
sazabi artifacts — Retrieve artifacts produced in a thread. Subcommands: list, get.
sazabi artifacts
Retrieve artifacts produced in a thread
sazabi artifacts <subcommand>sazabi artifacts list --thread-id <thread-id> # List artifacts in a thread
sazabi artifacts get <artifact-id> --thread-id <thread-id> # Get one artifact's datasazabi artifacts list
List artifacts produced in a thread
sazabi artifacts list [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override authentication token |
--thread-id | string | No | Thread to list artifacts for (required) |
--json | boolean | No | Output as JSON |
--api-base-url | string | No | Override API base URL |
sazabi artifacts list --thread-id <thread-id> # List artifacts in a thread
sazabi artifacts list --thread-id <thread-id> --json # Output as JSONsazabi artifacts get
Get a single artifact's data
sazabi artifacts get <artifact-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override authentication token |
--thread-id | string | No | Thread the artifact belongs to (required) |
--format | string | No | Output format for non-JSON mode: json (default) or csv |
--json | boolean | No | Output as JSON |
--api-base-url | string | No | Override API base URL |
sazabi artifacts get <artifact-id> --thread-id <thread-id> # Print artifact data
sazabi artifacts get <artifact-id> --thread-id <thread-id> --format csv # Render table/timeseries as CSV
sazabi artifacts get <artifact-id> --thread-id <thread-id> --json # Output as JSON