You can delete the files of any finished task yourself, from the dashboard or with the API. This permanently removes the task's generated outputs and the input files you uploaded for it, from our storage and the CDN.
From the dashboard
Open Task History. You can also click the lightning icon in the top-right corner of the website to open the Activity panel.
Click the task to expand it.
Click the trash icon (Delete outputs) and confirm with Delete.
For runs you made in Wiro Studio, use the trash icon on the run in Studio's Activity tab.
With the API
Send the task token (the socketaccesstoken returned by /Run) to POST /Task/InputOutputDelete:
curl -X POST "https://api.wiro.ai/v1/Task/InputOutputDelete" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"tasktoken": "YOUR_TASK_TOKEN"}'
A successful call returns {"result": true, "errors": []}. If your project uses signature-based authentication, also send the x-nonce and x-signature headers (see Authentication).
Good to know
Finished or cancelled tasks only. Stop a running task first with the X icon (Kill Task) in Task History.
It can't be undone. Deleted files are gone, and any link to them stops working. Download anything you want to keep first.
The task record stays. The task remains in your history with its ID, parameters and cost, marked "No output generated".
If a deleted file's link still opens after a few minutes, send us the task ID and the link and we'll check it.
API reference: https://wiro.ai/docs/tasks (see POST /Task/InputOutputDelete)
