Skip to main content

Volumes

Settings → Volumes lists the organization's volumes: the folders tasks mount and that keep files from one execution to the next. For each volume, the list shows the name, the environment, the workspace, the size against the quota, the number of files and when it was last saved. How a task uses a volume is in Task volumes.

The console shows only a volume's structure, never the content of the files: not here, not in the API, not in MCP.

Who can​

The screen has to be enabled for the organization, and what each person sees and does also depends on their role, with the same permissions as the API:

Role permissionAllows
agent.volumes.listseeing the screen and the list (without it, Volumes leaves the menu)
agent.volumes.readopening a volume's detail, also from the execution's Volumes card
agent.volumes.createcreating
agent.volumes.updateediting
agent.volumes.deletedeleting

The roles Kadu creates have agent.*, which allows everything.

Create​

Click New volume and fill in:

FieldRule
Namethe name tasks declare in task.volumes: lowercase letters, digits and hyphens. It cannot change after creation.
Labeloptional: the name shown in the console.
Environmentoptional: a volume for that environment only. Without an environment, the volume is shared by all of them. It cannot change after creation.
Workspaceoptional: only that workspace's tasks mount the volume.
Quota (MB)in MB, from 1 to 10,240. Default: 1,024 (1 GiB).

There can be a volume with the same name in each environment, plus a shared one. The execution uses the one of the environment it runs in and, if there is none, the shared one.

The volume starts empty. The first execution that mounts it for writing is what writes the files.

Volume details​

Click a volume to see:

  • Files: the tree of folders and files, with the size, the date of the last change and the execution that wrote each file.
  • Recent syncs: the executions that mounted the volume, most recent first, with the mode (read or write) and the outcome of each save.
OutcomeMeaning
Mounted (mounted)the execution mounted the volume and has not finished yet
No changes (unchanged)nothing was saved: the volume was mounted read-only, the skill changed nothing, or the task uses commit: on_success and failed
Saved (committed)saved: how many files were created, changed and deleted
Rejected (rejected)refused before any file was uploaded (a secret's value in a file, an invalid path, a file too large, the quota or the organization cap). The volume stayed as it was
Failed (failed)the upload failed. The volume may have kept part of the new files

A volume marked Last sync incomplete had a save interrupted halfway. It is still mounted, and the mark goes away on the next complete save.

Edit​

You can change the label, the workspace and the quota. The name and the environment are fixed, because tasks and kadu.yaml find the volume by them. A quota smaller than the current size makes the next save that writes be refused.

Delete​

A deleted volume leaves the list, and the tasks that declare it start failing when they start. The content is kept for 30 days and then deleted for good: to recover a volume within that period, contact Kobana support.

You cannot delete:

  • a volume declared in the Playbook's kadu.yaml. Remove it from the file first;
  • a volume an execution is writing right now.

Volumes declared in the repository​

When the Playbook's kadu.yaml declares a volume, the repository is the source of truth: the declared label, workspace and quota go back to the file's value on the next push if they are edited here.

Unlike environments and webhooks, a volume that leaves the file is not deleted: it becomes owned by the console, with its content, and can then be deleted here. See The kadu.yaml.

In the execution​

The page of each execution that mounted volumes shows the Volumes card, with each one's outcome. See Follow an execution.

Through the API: /v1/volumes (reference).