# funcdctl

URL: /docs/develop/tools/funcdctl/spec

Every funcdctl command with its usage line, its text and its flags.

## `funcdctl` [#funcdctl]

```text
funcdctl

funcd control-plane CLI (kubectl-style)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--server` | string |  | control-plane base URL ($FUNCD_SERVER, else http://localhost:8080) |
| `--token` | string |  | bearer token for the authenticated control plane ($FUNCD_TOKEN) |

## `funcdctl app` [#funcdctl-app]

```text
funcdctl app

Manage Apps (render|deploy|delete|lock|history|rollback|pause|resume|retry)
```

## `funcdctl app delete` [#funcdctl-app-delete]

```text
funcdctl app delete <app> [flags]

Delete an App, wait until the GC has removed its tree, and print what went and which stores stayed
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `--no-wait` | bool | `false` | return once the App is deleted |

## `funcdctl app deploy` [#funcdctl-app-deploy]

```text
funcdctl app deploy <dir|ref> [flags]

Render an App template, apply the App and wait until its new revision is current or failed.

One command deploys, upgrades and downgrades. Deploy prints the revision it follows and each part whose state changes, and exits 0 once the revision is current; 1 when it fails, when the App's spec changes before it is stamped, or when the App is deleted. The server's app.upgradeTimeout bounds a rollout; an interrupt stops the wait, not the rollout.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dry-run` | bool | `false` | admit the App and store nothing; print what the deploy would do and wait for nothing |
| `--name` | string |  | the App's name (default: app.yaml's name) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `--no-wait` | bool | `false` | return once the App is applied |
| `--resource-group` | string |  | resource group (default: the App's name, or the stored App's group) |
| `-f`, `--values` | stringArray | `[]` | a values file; repeat it to merge files in order |

## `funcdctl app history` [#funcdctl-app-history]

```text
funcdctl app history <app> [flags]

List an App's revisions by number (REVISION, VERSION, PHASE, STAMPED)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: json |

## `funcdctl app lock` [#funcdctl-app-lock]

```text
funcdctl app lock <dir> [flags]

Resolve each image of an App template to a version and a digest, and write them to its app.lock.

An exact entry resolves its tag; a range takes the highest version tag it accepts. The registry is the template's registry value, from the -f files and the schema defaults. Any failure writes nothing.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-f`, `--values` | stringArray | `[]` | a values file; repeat it to merge files in order |

## `funcdctl app pause` [#funcdctl-app-pause]

```text
funcdctl app pause <app> [flags]

Pause an App (sets spec.paused: a paused App writes no part)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl app render` [#funcdctl-app-render]

```text
funcdctl app render <dir|ref> [flags]

Render an App template into the App deploy would apply, and print it (YAML; -o json)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--name` | string |  | the App's name (default: app.yaml's name) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: json |
| `--resource-group` | string |  | resource group (default: the App's name, or the stored App's group) |
| `-f`, `--values` | stringArray | `[]` | a values file; repeat it to merge files in order |

## `funcdctl app resume` [#funcdctl-app-resume]

```text
funcdctl app resume <app> [flags]

Resume an App (sets spec.paused: a paused App writes no part)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl app retry` [#funcdctl-app-retry]

```text
funcdctl app retry <app> [flags]

Call the App's failed hook again (the rollout continues once it succeeds)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl app rollback` [#funcdctl-app-rollback]

```text
funcdctl app rollback <app> <n> [flags]

Apply the spec of the App's revision n again (the App reconciler stamps it as a new revision)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dry-run` | bool | `false` | admit the rollback and store nothing; print what it would do |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl apply` [#funcdctl-apply]

```text
funcdctl apply [flags]

Apply a manifest of one or more YAML documents, or JSON (- for stdin).

Every document is validated offline first; then the documents are applied in order. Apply stops at the first error the server returns and names that document; the documents before it stay applied.

With --dry-run each document is admitted against the store as it is and nothing is stored: apply prints what it would apply, and an App's plan.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dry-run` | bool | `false` | admit each document against the store and store nothing; print what would apply |
| `-f`, `--file` | string |  | manifest file (YAML or JSON); - for stdin |

## `funcdctl backup` [#funcdctl-backup]

```text
funcdctl backup

Platform backup: status (the daemon's report), verify (off the box) and plan (objectives into settings)
```

## `funcdctl backup plan` [#funcdctl-backup-plan]

```text
funcdctl backup plan <platform|kv|blob|lake|schedule> [flags]

Print the backup settings recovery objectives give, as an example: --rpo (the most data a loss may take) and --keep (how far back a restore point must reach) give the platform, kv or blob keys of funcdconfig.yaml, or the schedule and ttl of a BackupSchedule (-f); lake says why a Lake needs no key. The example passes the daemon's own loader merged into the located file, then is printed; no file is written. --rto with --size and --speed checks the download time, a lower bound: only a restore drill proves an RTO. Exit 1: refused, nothing printed; 3: the RTO is below the download time.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--config` | string |  | platform, kv, blob, lake: path to funcdconfig.yaml (else $FUNCD_CONFIG, ./funcdconfig.yaml, /etc/funcd/funcdconfig.yaml) |
| `-f`, `--file` | string |  | schedule: a manifest holding one BackupSchedule; - for stdin |
| `--keep` | string |  | how far back a restore point must reach, a duration (720h) |
| `--rpo` | string |  | the most data a loss may take, a duration (1h) |
| `--rto` | string |  | the target recovery time, a duration; needs --size and --speed |
| `--size` | string |  | the bytes a restore downloads: an integer with an optional Ki, Mi, Gi or Ti suffix |
| `--speed` | string |  | the link's bytes per second, in the grammar of --size |

## `funcdctl backup status` [#funcdctl-backup-status]

```text
funcdctl backup status

Print the platform backup status as YAML: restore points, rpoRisk, failures (admin only)
```

## `funcdctl backup verify` [#funcdctl-backup-verify]

```text
funcdctl backup verify [flags]

Check a generation against its manifest, decrypt it to its end and parse its records; with --escrow, also find the keys it names. Then copy it under gen/verified/, manifest last. A generation already pinned is checked again and nothing is written. Run it every (backup.objectives.rpo − backup.interval) / 2.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--credentials-file` | string |  | s3:// only: the verify credential's AWS shared credentials file |
| `--escrow` | string |  | the escrow set's directory: find the keys the generation names |
| `--generation` | uint64 | `0` | the generation to verify; default the newest complete hourly, daily or weekly one |
| `--identity` | stringArray | `[]` | an age identity file (repeatable) |
| `--target` | string |  | backup.target: s3://… or file:///&lt;absolute dir&gt; |

## `funcdctl bench` [#funcdctl-bench]

```text
funcdctl bench [flags]

Load-test a deployed function's data-plane endpoint (throughput + tail latency)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--body` | string | `{}` | request body |
| `-c`, `--concurrency` | int | `8` | concurrent workers |
| `--content-type` | string | `application/json` | request content-type |
| `--data-plane` | string |  | data-plane base URL ($FUNCD_DATA_PLANE), used with --function |
| `-d`, `--duration` | duration | `5s` | run length (ignored when --requests is set) |
| `-f`, `--function` | string |  | function name — with --data-plane builds &lt;data-plane&gt;/function/&lt;name&gt; |
| `--json` | bool | `false` | emit the result as JSON |
| `--method` | string | `POST` | HTTP method |
| `-n`, `--requests` | int | `0` | total requests across workers (overrides --duration) |
| `--url` | string |  | data-plane endpoint to hit (e.g. http://host:8081/function/hello) |

## `funcdctl completion` [#funcdctl-completion]

```text
funcdctl completion

Generate the autocompletion script for funcdctl for the specified shell.
See each sub-command's help for details on how to use the generated script.
```

## `funcdctl completion bash` [#funcdctl-completion-bash]

```text
funcdctl completion bash

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

	source <(funcdctl completion bash)

To load completions for every new session, execute once:

#### Linux:

	funcdctl completion bash > /etc/bash_completion.d/funcdctl

#### macOS:

	funcdctl completion bash > $(brew --prefix)/etc/bash_completion.d/funcdctl

You will need to start a new shell for this setup to take effect.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--no-descriptions` | bool | `false` | disable completion descriptions |

## `funcdctl completion fish` [#funcdctl-completion-fish]

```text
funcdctl completion fish [flags]

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

	funcdctl completion fish | source

To load completions for every new session, execute once:

	funcdctl completion fish > ~/.config/fish/completions/funcdctl.fish

You will need to start a new shell for this setup to take effect.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--no-descriptions` | bool | `false` | disable completion descriptions |

## `funcdctl completion powershell` [#funcdctl-completion-powershell]

```text
funcdctl completion powershell [flags]

Generate the autocompletion script for powershell.

To load completions in your current shell session:

	funcdctl completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command
to your powershell profile.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--no-descriptions` | bool | `false` | disable completion descriptions |

## `funcdctl completion zsh` [#funcdctl-completion-zsh]

```text
funcdctl completion zsh [flags]

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need
to enable it.  You can execute the following once:

	echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

	source <(funcdctl completion zsh)

To load completions for every new session, execute once:

#### Linux:

	funcdctl completion zsh > "${fpath[1]}/_funcdctl"

#### macOS:

	funcdctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_funcdctl

You will need to start a new shell for this setup to take effect.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--no-descriptions` | bool | `false` | disable completion descriptions |

## `funcdctl delete` [#funcdctl-delete]

```text
funcdctl delete <kind> <name> [flags]

Delete an object
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--force` | bool | `false` | ResourceGroup only: delete its members first; their protections apply |
| `-n`, `--namespace` | string |  | namespace |

## `funcdctl describe` [#funcdctl-describe]

```text
funcdctl describe <kind> [name] [flags]

Get an object (or list) as full JSON (get -o json)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace |

## `funcdctl dev` [#funcdctl-dev]

funcdctl-dev only.

```text
funcdctl dev [dir] [flags]

funcdctl dev runs a folder's resource files from their local builds. A directory that holds app.yaml beside resources/ runs as an App template instead: dev pushes each image's build, renders the template as funcdctl app deploy does and applies the App, then again on each save.

A funcdctl.config.yaml in the current directory holds what dev is run with: its dev keys are these flags in camelCase (dir, values, build, hooks, apply, persist, persistTo, gport, s3port, cport), plus env and envFile for the values of a declared Secret no document defines, platform for runtime.handOutSettle, eventing.blobPollInterval and funclog.segmentMaxAge, and addons.runtime, docker or containerd, the container engine that runs the add-ons' engines, Docker first when it is unset. A flag given here replaces its key, and a dir argument replaces dev.dir.

For an App template the file also takes watch, a list of name, run and dir: dev starts each command, waits for the builds they write and keeps their output in log files; and liveReload: true, which reloads open Site pages after a Site change.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--apply` | stringArray | `[]` | a file of resource documents applied before the App, again when it changes (App mode; repeatable) |
| `--build` | stringArray | `[]` | an App's builds: a folder each image key is looked up in, or &lt;key&gt;=&lt;path&gt; (App mode; repeatable) |
| `--cport` | int | `0` | fixed control-plane port (for `funcdctl --server`: apply, workflow run); 0 ⇒ a random free port |
| `--gport` | int | `0` | fixed gateway (function-invoke) port; 0 ⇒ a random free port |
| `--hooks` | bool | `false` | keep the App's preApply and postApply hooks, called on each new revision (App mode) |
| `--persist` | bool | `false` | keep the metastore, KV, blob, SQL, lake and volume data between runs, in the --persist-to directory (default: in memory or in temporary directories, gone when dev stops) |
| `--persist-to` | string | `.funcd-dev` | directory for --persist state, one subdirectory per service: metastore, kv, blob, lake, sql, volumes and bundles |
| `--print-env` | bool | `false` | print the dev S3 credentials as `export …` lines and exit (no server); pair with a fixed --s3port. Use: eval "$(funcdctl dev &lt;dir&gt; --s3port 3006 --print-env)" |
| `--s3port` | int | `0` | fixed S3-frontend port; 0 ⇒ a random free port |
| `-f`, `--values` | stringArray | `[]` | an App template's values file; repeat it to merge files in order (App mode) |

## `funcdctl eventing` [#funcdctl-eventing]

```text
funcdctl eventing

Eventing operations (dlq: inspect/replay/discard dead-lettered Sensor actions)
```

## `funcdctl eventing dlq` [#funcdctl-eventing-dlq]

```text
funcdctl eventing dlq

Manage the eventing dead-letter queue (list|describe|replay|discard)
```

## `funcdctl eventing dlq describe` [#funcdctl-eventing-dlq-describe]

```text
funcdctl eventing dlq describe <id> [flags]

Show a dead letter in full (provenance, attempts, reason, the parked CloudEvent)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl eventing dlq discard` [#funcdctl-eventing-dlq-discard]

```text
funcdctl eventing dlq discard <id> [flags]

Discard a dead letter (delete without replaying)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl eventing dlq list` [#funcdctl-eventing-dlq-list]

```text
funcdctl eventing dlq list [flags]

List dead-lettered Sensor actions (newest first)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: json |

## `funcdctl eventing dlq replay` [#funcdctl-eventing-dlq-replay]

```text
funcdctl eventing dlq replay <id> [flags]

Replay a dead letter against the live Sensor spec (removed on success; re-parked if the delivery fails)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl get` [#funcdctl-get]

```text
funcdctl get <kind> [name] [flags]

List a kind, or get one object (table; -o json for the object)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace |
| `-o`, `--output` | string |  | output format: json |

## `funcdctl help` [#funcdctl-help]

```text
funcdctl help [command]

Help provides help for any command in the application.
Simply type funcdctl help [path to command] for full details.
```

## `funcdctl hold` [#funcdctl-hold]

```text
funcdctl hold

The platform hold a restore or safe mode leaves (status|release)
```

## `funcdctl hold release` [#funcdctl-hold-release]

```text
funcdctl hold release [flags]

Lift the hold: timers, blob sources, Sensors, runs, rollouts, backups and sweeps act again
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--advance` | stringArray | `[]` | a blob EventSource &lt;namespace&gt;/&lt;name&gt; whose listed objects are marked seen instead of fired (repeatable) |
| `--namespace` | stringArray | `[]` | a namespace whose hold a restore left (restore run's data, an ended in-place Restore's load) is released instead of the platform's hold (repeatable) |

## `funcdctl hold status` [#funcdctl-hold-status]

```text
funcdctl hold status

Show the hold: marker, restore report, counts, paused runs, dead letters, pending blob keys, orphan data, namespace markers
```

## `funcdctl index` [#funcdctl-index]

```text
funcdctl index <ref> <source-ref>...

Combine per-platform pushes (push --platform) into one multi-arch OCI image index (prints <ref>@<digest>)
```

## `funcdctl inspect` [#funcdctl-inspect]

```text
funcdctl inspect <ref>[@<digest>]

Print a function artifact's I/O contract from its OCI metadata (no bundle pull, no run)
```

## `funcdctl job` [#funcdctl-job]

```text
funcdctl job

Run Jobs and read their runs (run|runs|logs|describe|cancel|approve|reject)
```

## `funcdctl job approve` [#funcdctl-job-approve]

```text
funcdctl job approve <run> [flags]

Approve a run's preview, so the run runs exactly what it previewed.

Without --digest, the command prints the preview's document and digest and, on a terminal, asks to confirm. With --digest, it approves that digest with no question, for scripts. funcd refuses an approval that names another preview than the run's current one with 409, and one from a caller who may not update the run's Job with 403.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--digest` | string |  | approve this preview digest, sha256:&lt;hex&gt;, with no question (default: show the preview and ask) |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl job cancel` [#funcdctl-job-cancel]

```text
funcdctl job cancel <run> [flags]

Cancel a run (sets spec.cancel; a running run's worker is stopped)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl job describe` [#funcdctl-job-describe]

```text
funcdctl job describe <run> [flags]

Show a run: phase, reason, revision, digest, who started it, its preview, who approved or rejected it, its times and its result
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: rendered (default) or json |

## `funcdctl job logs` [#funcdctl-job-logs]

```text
funcdctl job logs <run> [flags]

Print a run's logs: its worker's lines and those of the calls it made
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--limit` | int | `0` | max records to return, most-recent (default 1000) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: wide (append source/inv/attrs inline) \| json |
| `--severity` | string |  | minimum level: trace\|debug\|info\|warn\|error\|fatal |
| `--since` | string |  | only logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00:00Z) |

## `funcdctl job reject` [#funcdctl-job-reject]

```text
funcdctl job reject <run> [flags]

Reject a run that has not started running, so it ends Rejected and its handler never runs
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `--reason` | string |  | why the run is rejected, at most 512 bytes: the message of its Ready condition |

## `funcdctl job run` [#funcdctl-job-run]

```text
funcdctl job run <job> [run-name] [flags]

Start a run of a Job and print its name (omit run-name for a server-generated <job>-<id>)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--input` | string |  | run input: inline JSON or @file (default: none) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `--resource-group` | string | `default` | resource group |

## `funcdctl job runs` [#funcdctl-job-runs]

```text
funcdctl job runs <job> [flags]

List a Job's runs (newest first; --phase to filter)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: json |
| `--phase` | string |  | filter by run phase (Pending\|Previewing\|AwaitingApproval\|Running\|Succeeded\|Failed\|Cancelled\|Rejected) |

## `funcdctl kvstore` [#funcdctl-kvstore]

```text
funcdctl kvstore

Manage KV stores (handover)
```

## `funcdctl kvstore handover` [#funcdctl-kvstore-handover]

```text
funcdctl kvstore handover <store> <workflow> [flags]

Make a workflow the owner of a kept KV store (needs KVStore update and delete)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl login` [#funcdctl-login]

```text
funcdctl login <registry> [flags]

Store registry credentials
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-p`, `--password` | string |  | password |
| `-u`, `--user` | string |  | username |

## `funcdctl logout` [#funcdctl-logout]

```text
funcdctl logout <registry>

Remove stored credentials for a registry
```

## `funcdctl logs` [#funcdctl-logs]

```text
funcdctl logs <function> | <kind>/<name> [flags]

Print the logs of a Function or of an object's engine (tenant-scoped to your identity)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--limit` | int | `0` | max records to return, most-recent (default 1000) |
| `-n`, `--namespace` | string |  | namespace |
| `-o`, `--output` | string |  | output format: wide (append source/inv/attrs inline) \| json |
| `--severity` | string |  | minimum level: trace\|debug\|info\|warn\|error\|fatal |
| `--since` | string |  | only logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00:00Z) |

## `funcdctl plugin` [#funcdctl-plugin]

```text
funcdctl plugin

Plugins: `funcdctl <name>` runs funcdctl-<name> from PATH when <name> is no built-in command
```

## `funcdctl plugin list` [#funcdctl-plugin-list]

```text
funcdctl plugin list

List the plugins on PATH, and warn about each one that never runs
```

## `funcdctl pull` [#funcdctl-pull]

```text
funcdctl pull <ref> <digest> [dir] [flags]

Fetch an artifact by digest into a dir (verifies the digest)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--platform` | string |  | the platform whose manifest to pull from a multi-arch index (linux and this machine's architecture when not given) |

## `funcdctl push` [#funcdctl-push]

```text
funcdctl push <path> <ref> [flags]

Package a function (a file or a bundle directory) — or, with --site, a prebuilt static web app, or with --template, an App template — as an OCI artifact and push it (prints <ref>@<digest>)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--entry` | string |  | handler entry file relative to the bundle root (directory push only); default main.py for a python runtime, else main.mjs |
| `--platform` | string |  | the platform the artifact was built for (linux/amd64 or linux/arm64), recorded on the manifest so `funcdctl index` can combine per-platform pushes |
| `--site` | bool | `false` | push &lt;path&gt; (a directory) as a static-site bundle for a Site: one deterministic tar+gzip layer, no contract/runtime/entry |
| `--template` | bool | `false` | push &lt;path&gt; (an App template directory with a fresh app.lock) as it is, tagged with its version |

## `funcdctl quarantine` [#funcdctl-quarantine]

```text
funcdctl quarantine

The data a start moved aside instead of deleting it, as no object named it (return)
```

## `funcdctl quarantine return` [#funcdctl-quarantine-return]

```text
funcdctl quarantine return <kvstore|bucket|volume> <namespace>/<name>[/<volume>] [flags]

Return an object's quarantined data into it. Apply the object again first: the return refuses an object that is missing or whose data is not empty, and nothing returns on its own. A volume is <namespace>/<function>/<volume>. Without --since, the newest entry returns; a return cut short resumes when run again.
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--since` | string |  | the entry's since, as hold status lists it (RFC 3339); the newest entry when absent |

## `funcdctl types` [#funcdctl-types]

```text
funcdctl types -f <name>.contract.yaml [flags]

Generate FuncInput/FuncOutput (JobInput/JobOutput for a Job) + binding types from a contract file and its Function or Job (.py / .d.ts; DX-only)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-f`, `--file` | string |  | the contract file, &lt;name&gt;.contract.yaml or &lt;name&gt;.contract.json |
| `-o`, `--out` | string |  | output directory (default: a python Function's source entry directory, else .) |

## `funcdctl volume` [#funcdctl-volume]

```text
funcdctl volume

Function volume operations (delete a retained volume)
```

## `funcdctl volume delete` [#funcdctl-volume-delete]

```text
funcdctl volume delete <namespace>/<function>/<volume>

Delete a retained Function volume and free its reserved space
```

## `funcdctl workflow` [#funcdctl-workflow]

```text
funcdctl workflow

Manage workflow runs (run|runs|pause|resume|cancel|describe|logs|replay)
```

## `funcdctl workflow cancel` [#funcdctl-workflow-cancel]

```text
funcdctl workflow cancel <run> [flags]

Cancel a workflow run (requests cancellation via spec.cancel)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl workflow describe` [#funcdctl-workflow-describe]

```text
funcdctl workflow describe <run> [flags]

Show a workflow run's per-step troubleshooting state (phase, attempts, duration, error)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: rendered (default) or json |

## `funcdctl workflow logs` [#funcdctl-workflow-logs]

```text
funcdctl workflow logs <run> [flags]

Print a whole workflow run's logs (the full error/logs by run, tenant-scoped)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--limit` | int | `0` | max records to return, most-recent (default 1000) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: wide (append source/inv/attrs inline) \| json |
| `--severity` | string |  | minimum level: trace\|debug\|info\|warn\|error\|fatal |
| `--since` | string |  | only logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00:00Z) |
| `--step` | string |  | narrow to one step's function (the --step drill-down) |

## `funcdctl workflow pause` [#funcdctl-workflow-pause]

```text
funcdctl workflow pause <run> [flags]

Pause a workflow run (patches spec.paused)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl workflow replay` [#funcdctl-workflow-replay]

```text
funcdctl workflow replay <source-run> --from <step> [flags]

Re-run a finished run from a chosen step (reuses upstream outputs)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--allow-drift` | bool | `false` | re-run even if a step's artifact digest moved since the source run |
| `--from` | string |  | the step to re-run from (required); it and its descendants re-execute |
| `--name` | string |  | the new run's name (default: &lt;source&gt;-r-&lt;hex&gt;) |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl workflow resume` [#funcdctl-workflow-resume]

```text
funcdctl workflow resume <run> [flags]

Resume a workflow run (patches spec.paused)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |

## `funcdctl workflow run` [#funcdctl-workflow-run]

```text
funcdctl workflow run <workflow> [run-name] [flags]

Start a workflow run (creates a WorkflowRun; omit run-name for a server-generated <workflow>-<id>)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--input` | string |  | run input: inline JSON or @file (default: empty) |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `--resource-group` | string | `default` | resource group |

## `funcdctl workflow runs` [#funcdctl-workflow-runs]

```text
funcdctl workflow runs [flags]

List workflow runs (newest first; --phase to filter)
```

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-n`, `--namespace` | string |  | namespace (default: default) |
| `-o`, `--output` | string |  | output format: json |
| `--phase` | string |  | filter by run phase (Pending\|Running\|Paused\|Succeeded\|Failed\|Cancelled) |
