Documentation Index
Fetch the complete documentation index at: https://docs.artifacta.io/llms.txt
Use this file to discover all available pages before exploring further.
Commands
| Command | Description |
|---|---|
push | Upload a file as an artifact |
pull | Download an artifact |
ls | List artifacts with filters |
inspect | Show detailed artifact metadata |
link | Create a temporary download URL |
rm | Delete artifacts |
session ls | List sessions with artifact counts and seal status |
session new | Generate a new session ID (local operation, no server call) |
session seal | Seal a session (prevent new uploads) |
whoami | Show tenant info and usage |
auth login | Authenticate with an API key |
config | Read/write CLI configuration |
Global behavior
| Behavior | Detail |
|---|---|
| Output format | Human-readable by default. --json for JSON. Auto-JSON when stdout is piped. --human to force human output in pipes. |
| Exit codes | 0 success, 1 client error, 2 server error, 3 network error |
| Config file | ~/.config/artifacta/config.toml |
| Auth priority | ARTIFACTA_API_KEY env var > config file |
| Destructive actions | artifacta rm prompts for confirmation; pass --yes (or --force) to skip the prompt in scripts, or --dry-run to preview what would be deleted without committing. artifacta session seal is irreversible — sealed sessions cannot accept new artifacts. |
Destructive actions
The CLI carries verbatim warnings on every destructive command. Read them via--help once before a script run — the wording below is the exact text the CLI prints, and is part of the user-facing contract.
Environment variables
| Variable | Default | Description |
|---|---|---|
ARTIFACTA_API_KEY | — | API key (overrides config file) |
ARTIFACTA_API_URL | https://api.artifacta.io | API base URL |
ARTIFACTA_OUTPUT | human | Output format: human or json |
ARTIFACTA_TTL | 30d | Default TTL for uploads |
ARTIFACTA_SESSION_ID | — | Default session_id for push (inherited by sub-processes) |
ARTIFACTA_AGENT_ID | — | Default agent_id for push (inherited by sub-processes) |
ARTIFACTA_TELEMETRY | — | Set to 1 to enable Sentry error reporting (opt-in) |
Agent integration pattern: An orchestrator sets
ARTIFACTA_SESSION_ID once in the environment. Every sub-agent inherits it automatically — zero flag passing required.