Upload a file to GC AI for processing and storage.
Requires a user-scoped API key (u:gcai_...). Files are uploaded as multipart form data and automatically processed (text extraction, summarization, and embedding creation).
For PDFs and Word documents, extraction runs asynchronously — poll GET /files/{id} until status is ready.
Usage is billed per upload request.
Documentation Index
Fetch the complete documentation index at: https://docs.gc.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → Organization → API Keys.
The file to upload
Target folder ID. Defaults to the user's "My Files" folder. Cannot be combined with project_id.
Upload the file into a project. The file is placed in the project's upload folder and linked to the project. Cannot be combined with folder_id.
File uploaded successfully
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