Files
Input files (attached to the run) and output files (published by the execution).
| Command | HTTP | Description |
|---|---|---|
files list | GET /v1/files | List files |
files create | POST /v1/files | Start an input file upload |
files get | GET /v1/files/{id} | Get file details |
files confirm | POST /v1/files/{id}/confirm | Confirm the upload (pending → uploaded) |
files download | GET /v1/files/{id}/download | Temporary download URL |
Examples​
--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits the fields that come back — worth using on every list/get to save context. See Global flags for the full reference.
# List files
kobana kadu files list --fields "id"
# Start an input file upload
kobana kadu files create \
--json '{"task_id": "TASK_ID", "filename": "FILENAME", "size_bytes": 0}'
# Get file details
kobana kadu files get --params '{"id": "FILE_ID"}'
# Confirm the upload (pending → uploaded)
kobana kadu files confirm --params '{"id": "FILE_ID"}'
# Temporary download URL
kobana kadu files download --params '{"id": "FILE_ID"}'
Next steps​
- Repository
- Schema introspection — every parameter this resource accepts.