Complete a Chunked Upload
Assemble the uploaded parts into the final file and start processing (text extraction, summarization, embeddings), returning the same file object as POST /files. For PDFs and Word documents, extraction runs asynchronously — poll GET /files/{id} until status is ready.
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Path Parameters
The upload session ID from initiate.
Body
The total number of parts you uploaded. Parts must be a contiguous run from 1 to this value; completion fails if any are missing.
1 <= x <= 323
Response
File assembled and processing
Unique file identifier
Original filename
File size in bytes
MIME type of the file
"application/pdf"
Current processing status of the file
extracting, embedding, ready, failed ISO 8601 creation timestamp
Folder the file belongs to
Error message if extraction failed
Project the file is linked to, if uploaded with project_id
Present when the file was uploaded successfully but a secondary operation (e.g. project linking) failed