Skip to main content
A complete reference for the artifacts command. New to the CLI? Start with the CLI guide for setup, auth, and output behavior.
Each command maps directly to a REST endpoint. Run artifacts schema for the machine-readable version of this page.

Global Flags

Discovery

Auth and Profile

artifacts login saves a bearer token to ~/.config/agent-artifacts/credentials.json (mode 0600) and stays signed in across runs. There is no dependency on an OS keyring, so it behaves identically on workstations, headless servers, containers, CI, and AI agents. Token precedence is --token flag → AGENT_ARTIFACTS_TOKEN env → saved login file.

API Keys

Valid scopes:

Projects

Create body:

Workspaces

Invitation body:

Artifacts

Create body:
Update body:
Access body:

Paths

Share link body: