Artifact Share

Artifact Share CLI reference

CLI version: @artifactshare/cli 0.23.0 · Generated: 2026-11-17

A public, machine-friendly guide to sharing, updating, reading, and organizing artifacts from a terminal.

Targets accept artifact IDs, share URLs, and version-scoped execution URLs on artifactshareusercontent.com (a- for authenticated viewing, l- for link viewing). Legacy execution URLs resolve to IDs only. Use share for a file, folder, or static site; update to keep the same URL; open or artifacts get to read; download to save locally; comments for review; projects for organization; profiles and config for accounts and settings; and skills for agent setup. REST API only: POST /api/shareables/:id/versions?artifact_kind=static_site accepts base_version=v1 and repeated delete_path values, for example delete_path=data/old.parquet. Sent files replace matching paths; remaining files are inherited. The base must be current (409 version_conflict otherwise) and supplies the expected version, including for agents. An explicit expected_version must match it. Deletion requires a base; sending and deleting the same path is invalid. A delete-only update must retain index.html or index.md. Version bytes describe the complete file list; workspace quota counts unique stored objects. CLI update has no inheritance flags. Browser share pages pass their URL fragment (#) to HTML, Markdown, and static-site frames, follow changes inside them, and include it in Copy link for sharing filtered views or headings. Only a static site’s entrypoint updates the share fragment; subpages leave it unchanged. CLI local preview is unchanged.

The command surface below is generated from the public CLI help. Usage and accepted options are rendered from the generated surface snapshot.

All public commands

append

Append a local UTF-8 file to an existing single-file HTML or Markdown artifact.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare append <artifact-id-or-url> ./section.md --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare append <OPTIONS> <artifactIdOrUrl> <path>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

artifacts

Browse, read, and delete artifacts.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare artifacts [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

artifacts delete

Alias of delete: permanently delete an artifact.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare artifacts delete <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

artifacts get

Read data.title and data.visibility for the current artifact along with source, or pass --version <version-id> to read an earlier published version. When a read is truncated, pass the same --version with --offset <next_offset> to continue. version_id and format describe the returned source. data.title and data.visibility stay current on historical and continuation reads. Removed versions return version_removed. Static sites return metadata only: no content or format; --include, --version and --offset are unsupported. Updated get explicitly requests metadata. Older CLI releases still receive unsupported-kind for static sites, so open suggests download. For human and agent credentials, get includes retain_versions, version_count and total_size_bytes for versions the caller can list. Static-site history and totals include only published versions with a publication timestamp for every caller, including owners. Publisher credentials do not receive version_count or total_size_bytes.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare artifacts get <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --offset · --include

--version <version> Published version id to read; omit for current source

artifacts list

List artifacts you can access, including project or home results. Pass --q to search body text and titles, or --query to match titles only (filters, paging and empty results: see Failures and recovery). Legacy list rows (without search filters) and human search rows include retain_versions, version_count and total_size_bytes for versions the caller can list. Restricted agent and bot search rows omit all three. Static-site history and totals include only published versions with a publication timestamp for every caller, including owners. Publisher credentials cannot list artifacts. Compare total_size_bytes client-side across pages.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare artifacts list <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --project-id · --home · --q · --query · --owner-user-ids · --date-field · --days · --from · --to · --cursor

artifacts versions

List retained file or static-site versions (version_id, created_at, size_bytes, is_current), newest first, 50 per page. Pass next_cursor as --cursor while has_more. retain_versions is null for unlimited; version_count and total_size_bytes cover versions the caller can list. Static-site history and totals include only published versions with a publication timestamp for every caller, including owners. Static-site bytes include all files per version, including inherited files. Publisher-created static-site versions may have a null creator. Logical bytes count reused files per version, not physical storage or billing. Managed histories can exceed the policy because human/current versions are protected. Publisher credentials do not receive version_count or total_size_bytes and cannot read history; inaccessible artifacts return target_not_found. Restart without --cursor if invalid.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare artifacts versions <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --cursor

--cursor <cursor> Continue with next_cursor from the previous history page; omit to restart.

changelog

Show CLI release notes.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare changelog <OPTIONS>

Options

--help · --version · --json

comments

Work with comments on an artifact.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

comments delete

Delete a comment message.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments delete <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --thread-id · --message-id

comments edit

Edit a comment message.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments edit <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --message-id · --body

comments list

Read first/latest-three comment windows; use --thread-id and --before for older replies (up to 50). Text anchors include target_path: the page, plus any #/ or #!/ hash route on multi-file sites. PDF page comments add page_number with version_id and version_number of the version they were posted on.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments list <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --thread-id · --before · --limit · --around-message-id

comments post

Post a comment or reply. Quote positions stay unchecked until a viewer resolves the exact context.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments post <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --body · --reply-to · --quote · --quote-before · --quote-after · --agent

comments reopen

Reopen a resolved comment thread.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments reopen <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --thread-id

comments resolve

Resolve a comment thread.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare comments resolve <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --thread-id

config

Inspect and change local CLI settings.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare config [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

config get

Read a setting at user, repository, or effective scope.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare config get home_audience --scope effective --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare config get <OPTIONS> [<key>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --scope

config set

Save a setting at user or repository scope.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare config set home_audience private --scope user --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare config set <OPTIONS> <key> <value>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --scope

config unset

Remove a setting at user or repository scope.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare config unset <OPTIONS> <key>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --scope

delete

Permanently delete an artifact.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare delete <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

doctor

Check token storage, authentication, configuration, and connectivity.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare doctor <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

download

Download an artifact to a local path.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare download <OPTIONS> [<artifactIdOrUrl>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --project-id · --output · --force

--force Replace existing output; retain backups for recovery

edit

Edit artifact title, visibility, grants, or destination.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare edit <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --title · --visibility · --link-expires-at · --retain-versions · --no-link-expiry · --grant-email · --revoke-email · --project-id · --home

--visibility <visibility> private, workspace, project, or link (project requires placement in a project)

--retain-versions <retain-versions> N or all (owner only). Keeps the latest N versions; publisher-managed artifacts count only publisher versions and keep all versions people added. Older eligible versions are permanently deleted; all clears the limit.

init

Detect the agent, install its skill, and start setup.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare init --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare init <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --project-id · --dry-run

login

Authorize the CLI with unrestricted or project-scoped agent access.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare login --profile agent --preset agent --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare login <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --preset · --project

logout

Revoke and remove a saved credential.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare logout <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

move

Move an artifact to a project or home.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare move <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --project-id · --home

open

Read an Artifact Share URL and prepare the CLI skill when needed.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare open <artifact-id-or-url> --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare open <OPTIONS> <artifactIdOrUrl>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

preview

Preview a local file with the product viewer look and annotate it.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

preview done

Report batch outcomes from stdin JSON, idempotent per generation.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview done <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --stdin · --session

preview history

Read local review history: each batch with its comments and the document before and after the agent reported.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview history <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --session · --batch

preview next

Return every undelivered annotation batch to the agent.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview next <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --wait · --session

preview reply

Append a reply to an annotation thread without changing state.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview reply <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --thread · --body · --session

preview start

Serve a local .md or .html file for annotation. Invoked as preview <file>.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview start <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --no-open

preview stop

Stop a live preview session; annotations stay saved.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare preview stop <OPTIONS> [<file>]

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --session · --force

profiles

Manage named authentication profiles.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare profiles [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

profiles delete

Delete a named profile.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare profiles delete <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

profiles import-token

Import a CI or manually issued token into a profile.

Example
printf '%s' "$ARTIFACTSHARE_TOKEN" | npm exec --yes --package=@artifactshare/cli -- artifactshare profiles import-token --profile ci --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare profiles import-token <OPTIONS>

Options

--help · --version · --json · --base-url · --profile · --allow-plaintext-token-store · --insecure-localhost · --force

profiles list

List saved profiles.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare profiles list <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

profiles use

Select the active profile.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare profiles use <OPTIONS> <name>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

projects

Manage projects.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare projects [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

projects create

Create a project.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare projects create <OPTIONS> <name>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --description · --visibility

projects edit

Edit project details, audience, or archive state.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare projects edit <OPTIONS> <id>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --name · --description · --visibility · --add-email · --remove-email · --archive · --unarchive

projects list

List active projects you can post into.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare projects list <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

resolve

Resolve a URL, ID, or other Artifact Share value.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare resolve <OPTIONS> <value>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

share

Share a local file (HTML, Markdown, PDF, or MP4 video up to 25 MiB; a .pdf must start with %PDF-, a .mp4 needs an ftyp box), folder, or static site. A share --key resend preserves visibility. If --visibility differs after normalization (at home, project compares as private), the command fails with key_visibility_mismatch before creating a version. Use edit <id> --visibility <value> --json to change it, and artifacts get <id> --json to check it for HTML and Markdown artifacts. Profiles logged in with login --preset agent must also pass --expected-version when republishing with --key (see Failures and recovery).

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare share ./report.html --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare share <OPTIONS> <path>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --project-id · --project · --home · --visibility · --link-expires-at · --no-link-expiry · --no-slack-notify · --grant-email · --key · --expected-version

--expected-version <expected-version> Require this current version id when --key updates an existing artifact; use data.version.id, not a number (artifacts get returns data.version_id)

--visibility <visibility> private, workspace, project, or link (default: project for a project destination, otherwise resolved from config); keyed resends reject a different effective value before creating a version (Home project means private). Change with edit --visibility

skills

Manage the installed Artifact Share agent skill.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills [COMMANDS] <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

skills ensure

Ensure the skill is installed for a detected tool.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills ensure <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --tool · --scope · --dry-run

skills install

Install the skill for a selected tool.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills install <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --tool · --scope · --dry-run · --force

--force Take over bundled paths or intentionally downgrade; preserve user additions

skills list

List installed skill targets.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills list <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

skills remove

Remove an installed skill.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills remove <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --tool · --scope · --dry-run

skills update

Update an installed skill.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare skills update <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --tool · --scope · --dry-run · --force

--force Rewrite managed folder files, allowing an explicit downgrade; never take over an unmanaged entry

update

Upload a new version behind an existing share URL. Profiles logged in with login --preset agent must also pass --expected-version (see Failures and recovery). Optional --label adds an immutable 1–80-code-point note, normalized to NFC with outer Unicode spaces trimmed; internal spacing and case stay unchanged. Letters, marks, numbers, punctuation, symbols, spaces, and joined emoji are allowed. Omission creates an unlabeled version. Successful JSON includes the stored label at data.version.label, or null when omitted. data.version.number matches the Viewer version number (v{number}); older servers may omit it. Read version history with artifacts get --include versions. Empty labels, control characters, and invalid, invisible-only, or repeated --label values fail locally with validation_failed before authentication.

Example
npm exec --yes --package=@artifactshare/cli -- artifactshare update <artifact-id-or-url> ./report.html --expected-version <version-id> --json

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare update <OPTIONS> <artifactIdOrUrl> <path>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost · --label · --expected-version

--expected-version <expected-version> Only update this current version id; use data.version.id, not a number (artifacts get returns data.version_id); required for agent-preset logins

whoami

Show the active account and workspace.

Usage

npm exec --yes --package=@artifactshare/cli -- artifactshare whoami <OPTIONS>

Options

--help · --version · --json · --base-url · --token · --profile · --allow-plaintext-token-store · --insecure-localhost

With --json, piping, or another non-interactive invocation, successful results go to stdout as a common envelope with schema_version: 2, ok: true, command, and data. Failures go to stderr with schema_version: 2, ok: false, command, and error. Unfiltered skills update/remove partial failures keep ok: true on stdout with failed action rows, code: skill_update_conflict and hint in data.targets, and exit with status 1. Exit code 0 means success, 1 means a command failure, and 130 means cancellation. An auth_required response includes the verification URL and user code; approve it, then rerun the same command.

Destination lists show only active projects you can post into. Private projects permit their creator, active team-plan workspace owners/admins, or verified contributors/managers. Free/plus admin status, viewer access and artifact-only grants do not grant placement rights. Human agents retain their fixed project. Workspace bots can use multiple administrator-approved projects without reimport; projects list shows eligible approvals and doctor checks the set. Private-project reports must explicitly use project visibility. Both require a verified contributor/manager grant for private projects; publishers cannot select projects. edit accepts --visibility private|workspace|project|link. Project visibility requires the artifact to be in a project after the edit; use --project-id <id> in the same request if needed. An explicit --visibility project at home (including --home) is refused without changes. Moving a project-visible artifact home makes it private only when project visibility is not explicitly requested. A project destination uses the project audience. When share has no destination, it posts to home. Choose home_audience by purpose: use user scope for a personal safe default in this CLI environment, repository scope only for a policy agreed by all participants, and explicit --visibility for one post. Confirm the result with config get home_audience --scope effective --json. home_audience is the canonical setting: private means only you, and workspace means everyone in the workspace. Store repository settings in .artifactshare/config.json and user settings in the user config directory. Home resolution checks repository home_audience, repository default_artifact_visibility, user home_audience, user default_artifact_visibility, then the account-aware product default. Home without an explicit or configured audience defaults to workspace when the account supports it, otherwise private. Explicit or configured workspace still fails when unavailable; sharing never automatically switches to link. Choose --visibility link deliberately. Config inspection is offline: value workspace with source product_default is an unresolved policy placeholder. Share and preview resolve it against the account. Older servers without workspace.visibility_available retain workspace and its existing rejection. whoami and doctor report workspace.visibility_available. Private fallback share results include visibility_source: product_default_private and visibility_hint. default_artifact_visibility is only a compatibility alias. default_project_visibility is an independent default for projects create. --grant-email adds an individual project share recipient; it does not implicitly change project visibility.

Use artifacts list --q to search body text and titles. --query matches titles only; combining it with --q, owner or period filters returns validation_failed. Filter with repeatable --owner-user-ids (user IDs, not email addresses; MCP uses the owner_user_ids array), --project-id or --home, and --date-field updated|viewed with --days 7|30|90 or ISO --from/--to. A date-only upper bound includes that UTC day. API empty q browses; CLI --q must be nonblank.

Search returns excerpts and groups matching documents with the same normalized title. group_size counts allowed matching documents across the search; total counts matching groups, capped at 1000. eq means exact, gte a lower bound. Repeat filters with --cursor; restart without it after changing filters or credentials. Restricted agents and bots search only the intersection of person discovery and their readable project range, without version summaries. Publishers, bridge and bootstrap cannot list/search.

Rephrase the query and search again before concluding that nothing exists. Completed zero-result searches succeed with search_hint: "Rephrase the query and search again before concluding that nothing exists." Retry with fewer or different words. With two or more normalized terms and no matches for all terms, search automatically retries for any of the terms; no additional flag or OR syntax is needed. Its search_hint is: "No documents matched all query terms. These results match any of the terms. Rephrase the query and search again."

HTTP 503: Search capacity exceeded (search_capacity_exceeded). Narrow the query or filters and search again. This error is not a zero-result search. The CLI reports it as service_error with details.api_code search_capacity_exceeded; MCP returns the search_capacity_exceeded tool error.

Download IDs must match ^[a-z0-9]{10}$; invalid or duplicate list/index IDs fail before writes. Download accepts linked output parents and rechecks their resolved directory identities. Linked output roots, indexes, and listed artifact trees are refused, even with --force. Preflight checks every listed artifact tree, including unchanged versions, and the index; unrelated content is not walked. Network failures and invalid manifest paths, bodies, or identities remain per-artifact; every boundary violation stops further publication, including the final index. Successful replacements retain originals and previous indexes in data.backup_paths and human output. Failed recovery also names retained paths in the error; inspect them before manual cleanup.

When saving configuration, init refuses linked or changed config paths. Node path-based operations cannot guarantee atomic confinement against arbitrary concurrent changes. Init preserves unknown config keys. Git worktrees and submodules still save config, but .git files, links, gitdir or commondir files inside .git, and unsafe exclude paths produce git_exclude_warning with the exact line to add manually.

Files named by another spelling (such as Windows short names) use their stored names for kind and content type; disappearing listed files are changed, and relative paths with a regular file in the middle (for example file.txt/x) are not_found. For share, append, and update, relative paths stay in the physical current directory and reject linked components. Absolute paths trust parents but reject a linked selection or included descendant. Every .. component is rejected: pass a direct absolute path. Copy linked content into the selection or pass the target by absolute path. Names that start with a dot (.) and excluded names are skipped before inspection. Local reads finish before authentication or project lookup; authentication retries reuse verified content. validation_failed includes details.path and details.reason: parent_traversal, link, outside_cwd, not_found, changed, unsupported_guarantee, or invalid_type. Check missing paths, pass an absolute path for outside_cwd, retry changed selections, and follow the named guarantee or file-type hint. For upload_read_failed, check details.errno, filesystem availability and permissions, then retry. POSIX uses available no-follow opens; Windows checks handle identity and rejects links reported by lstat. Transient swap-and-restore and same-identity, same-size edits may escape detection.

For auth_required or token_invalid, run login or import a valid profile token and rerun the same command. For unknown_option, correct details.option using the hint or command help; options are checked before authentication, requests or writes. For invalid_expected_version, use a version id from data.version.id in share/update output or data.version_id from artifacts get <target> --json, rather than a number. Both errors use recovery.kind: change_input. For unsupported_node_version, upgrade Node.js to 22.19.0 or newer; this requires human or environment action (recovery.kind: ask_human, agent_recoverable: false, requires_human: true). For validation_failed without a details.reason, check usage and options. For target_not_found, resolve the URL or ID again. For self_upload_disabled, sign in with Google or Microsoft and rerun the same command. For network_failed, check the base URL and retry without changing the destination. For expected_version_required after login --preset agent, pass data.version.id from the previous successful share or update output as --expected-version when retrying update or share --key. If that output is unavailable, for single-file HTML and Markdown artifacts, artifacts get <target> --json returns the current version as data.version_id. For static sites, download <target> --json returns it as data.version.id. Check the returned current content (data.content, or the downloaded files for static sites) and reapply your changes to it if it differs from what you edited. Pass the returned value as --expected-version.