cURL
curl --request DELETE \ --url https://{base_url}/files/cleanup \ --header 'X-API-Key: <api-key>'
{ "files_deleted": 123, "bytes_freed": 123, "files_skipped": 123, "skipped_reasons": { "in_use_by_jobs": 123, "retention_policy": 123 } }
Remove expired files for the authenticated user
Documentation IndexFetch the complete documentation index at: https://docs.fintelite.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.fintelite.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication
Cleanup completed successfully
Number of files successfully deleted
Total bytes freed in storage
Number of files skipped during cleanup
Breakdown of why files were skipped
Show child attributes
Was this page helpful?