404 — resource not found
What happened
Nothing was created or changed. Body: {"success": false, "message": "Resource not found."}. For POST /storage/url it is {"success": false, "message": "File not found."}.
Why
The identifier does not exist (a typo in the UUID, an id in the wrong format), or the resource was deleted. For POST /storage/url, a common cause is that the order files have passed their retention period: by default, 7 days after the order reaches a terminal status. For GET /orders/chunks/preview, a 404 means this text is not in the cache. Send the full text with POST /orders/chunks/preview.
What to do right now
Check the identifier format. Orders and templates use UUIDs, chunk previews use a 64-character sha256, and external voices use the provider identifier. After the retention period ends, GET /orders/{order} still shows the paths in result.files[]. files_expired (and retention.files.expired) tells you whether the files are gone, and files_expire_at gives the deletion date.
Which request to send next
GET /orders/{order} shows whether the order exists and what status it is in. If the order is there but the 404 came from POST /storage/url, check files_expired.
Where to go next
This page for AI
API version 1.0.0