Files
The Files API enables you to upload documents, datasets, code bundles, and media assets for analysis by Plannix models or incorporation into vector collections.
Upload a file
Upload a file that can be used across assistants, fine-tuning, or batch processing.
curl https://api.plannix.web.id/v1/files \
-H "Authorization: Bearer ${PLANNIX_API_KEY}" \
-F "purpose=assistants" \
-F "file=@analysis_data.csv"Initialize a file upload
Initializes a resumable chunked upload session for large archives or videos up to 5 GB.
Upload a file in chunks
Uploads an individual chunk part with part index and MD5 checksum verification.
List files
Returns a paginated list of files belonging to the authenticated workspace.
Get file metadata
Returns information about a specific file including filename, size in bytes, and purpose.
Update a file's metadata or content
Updates tags, custom metadata key-values, or replaces the underlying byte payload.
Delete a file
Permanently removes a file and its vector index chunks from storage.
Get file content
Streams the raw binary bytes of the requested file.