Skip to main content
Retrieves the details of an existing file upload. This is useful for checking the status of an upload or getting the file URL after completion.

Method

Parameters

file_upload_id
string
required
The ID of the file upload to retrieve.

Response

Returns a FileUploadObjectResponse with the current state of the file upload.
object
string
Always "file_upload"
id
string
Unique identifier for the file upload.
status
string
Current status of the file upload.Values: "pending" | "processing" | "complete" | "failed"
created_time
string
ISO 8601 timestamp when the file upload was created.
last_edited_time
string
ISO 8601 timestamp when the file upload was last updated.
file
object
File information (only present when status is "complete")
filename
string
Name of the uploaded file.
content_type
string
MIME type of the file.

Examples

Check upload status

Poll for completion

Get file URL with error handling