POST
/
files
/
multipart
/
abort
Together AI SDK (Python)
from together import Together
import os

client = Together(
    api_key=os.environ.get("TOGETHER_API_KEY"),
)

client.files.multipart.abort(
    upload_id="upload-123",
    file_id="file-456"
)
{
  "success": true
}

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
upload_id
string
required

Upload session ID from initiate response

Example:

"upload-abc123"

file_id
string
required

File ID from initiate response

Example:

"file-def456"

Response

Multipart upload aborted successfully

success
boolean
Example:

true