Skip to main content
Tool finish_file_upload · Behavior Additive
Finish an upload started with start_file_upload, after you have PUT the file bytes to its upload_url. Verifies the uploaded bytes, stores and processes the file (text extraction + embeddings), and returns the file record. Poll readiness with get_files({ id }) until status is “ready” (then use the file) or “failed” (then extraction_error explains why).

Input parameters

string (uuid)
required
The file_id returned by start_file_upload.

Response

string (uuid)
string
number
string
'ready' | 'extracting' | 'embedding' | 'failed'
string
string
string (uuid)
string