Files
dcy file upload uses the Files module presigned upload flow by default:
- Request a presigned upload URL from
POST /v1/files/presigned-urls - Upload the file directly to S3
- Confirm the upload with
PATCH /v1/files/batch-update
Upload a File
Upload into a Folder
Upload and Link to a Project
--project-id is present, the CLI passes that value to PATCH /v1/files/batch-update so the backend creates file_project associations after the S3 upload succeeds.
Choose the Upload Mode
Inspect Uploaded Files
Retry File Processing
If a file was uploaded and classified but has still not produced afile_reading, re-queue processing:
POST /v1/files/send-event with event_type=PROCESS_DOCUMENT.
Work With File Readings
Correct Extracted Reading Content
Prepare a JSON file containing either:- a full
{"content":{"items":[...]}}object, or - a raw
itemsarray
Create Linked Records
Create invoices or wastes from a parsed reading and assign facility percentages in the same command:<= 1.0:
Current Limitation
The backend currently supports exactly one file reading percreate-records request, so the CLI processes one
reading at a time for this step.

