storage_expired — file retention period has ended
What happened
The order files were deleted. POST /storage/url for a path from result.files[] returns 404 {"success": false, "message": "File not found."}. The same name can also be the value of a field in the chunk preview response. The other value of that field is chunks_purged: only the fragments were deleted, and the result is still there.
Why
Order files are deleted when the retention period ends: by default, 7 days after the order reaches a terminal status (completed, result_delivered, failed, compensated, cancelled). The order record stays. Only the files disappear.
What to do right now
GET /orders/{order} still shows the paths in result.files[] after the files are deleted. files_expired (and retention.files.expired) tells you whether they are gone, and files_expire_at gives the deletion date. Deleted files cannot be restored. Download the result as soon as the order is completed. Subtitles are stored separately, in result.service_files[], and are deleted along with the other files.
Which request to send next
POST /orders/{order}/retry creates a new order with the same parameters and is billed again. There is no other way to get the file again.
Where to go next
This page for AI
API version 1.0.0