Skip to content
Latest (currently 2026.10.0) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentregistry.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl apply

Page as Markdown

Apply one or more registry resources from a YAML file

Apply reads a YAML file (or stdin with -f -) containing one or more resource documents and applies them via POST /v0/apply.

Each resource is applied atomically; the server reports per-resource status. Best-effort: per-resource errors are reported without aborting the batch.

A namespace selected by –namespace/-n or ARCTL_NAMESPACE fills documents that omit metadata.namespace, and the server rejects documents whose metadata.namespace differs from it. Without a selection, each document keeps its own metadata.namespace, defaulting to “default”.

Usage

arctl apply -f FILE [flags]

Example:

arctl apply -f agent.yaml
arctl apply -f agent.yaml -n team-a
arctl apply -f stack.yaml --dry-run
cat stack.yaml | arctl apply -f -

Command-specific flags

--dry-run: Validate and simulate without mutating state.
-f, --filename stringArray: YAML file to apply (repeatable; use - for stdin).

Global flags

-h, --help: Display help information for the command.
-n, --namespace string: Registry namespace to operate in (defaults to value of ARCTL_NAMESPACE env var, else "default").
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).