Manage Assistants
Upload a file
Upload a file to the specified assistant.
An identifier will be generated. To specify a file identifier or to replace file content, use the upsert endpoint (PUT /files/{assistant_name}/{assistant_file_id}).
This operation is asynchronous. The response includes an operation ID that can be used to poll for completion via the describe operation endpoint.
For guidance and examples, see Manage files.
post/files/{assistant_name}
Path parameters
assistant_namestring required
The name of the assistant to upload files to.
Query parameters
multimodalstring
Optional flag to opt in to multimodal file processing (PDFs only). Can be either true or false. Default is false.
Headers
X-Pinecone-Api-Versionstring required
Required date-based version header
Response
File upload accepted. Processing has started.
Example response
{
"id": "op-1234-abcd-5678",
"operation_type": "upload_file",
"file_id": "my-file-id-123",
"status": "Processing",
"created_on": "2025-10-01T12:30:00.000Z",
"completed_on": "2025-10-01T12:35:00.000Z",
"percent_complete": 42,
"error_message": "File processing failed: unsupported file format.",
"ingestion_units": 50
}