Skip to main content
POST
/
files
/
uploads
/
{upload_id}
/
abort
curl -X POST https://api.u1.archetypeai.app/v0.5/files/uploads/upl-7d6c9f0a3b51/abort \
  -H "Authorization: Bearer $ATAI_API_KEY"
(empty body)

Documentation Index

Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Abort an in-progress direct-to-cloud upload. The server invalidates the upload, releases any reserved storage, and discards any checkpointed part_tokens. Aborting an already-completed upload returns 409. Use this endpoint when you can’t or don’t want to finish an upload — for example, when the source file is no longer available or the client crashed mid-upload.

Path Parameters

upload_id
string
required
Upload identifier returned by Initiate Upload

Response

The response body is empty when the abort succeeds.
curl -X POST https://api.u1.archetypeai.app/v0.5/files/uploads/upl-7d6c9f0a3b51/abort \
  -H "Authorization: Bearer $ATAI_API_KEY"
(empty body)