File upload limitations depend on the plan you are using. For more information, see Pricing and limitations.
List files in an assistant
View all files
You can get the status, ID, and metadata for each file in your assistant, as in the following example:id value to check the status of an individual file.
View a filtered list of files
Metadata filter expressions can be included when listing files. This will limit the list of files to only those matching the filter expression. Use thefilter parameter to specify the metadata filter expression.
For more information about filtering with metadata, see Understanding files.
The following example lists files that are a manuscript:
Get the status of a file
You can get the status and metadata for your assistant, as in the following example:Track file operations
This feature requires API version
2026-04 or later.percent_complete for progress), Completed, and Failed (the response may include error_message). The percent_complete field on operations replaces percent_done on the file model; ingestion usage for completed file work may appear as ingestion_units on the operation.
Delete a file
You can delete a file from an assistant.- Once a file is deleted, you cannot recover it.
- With API version
2026-04or later, delete is asynchronous and returns an operation ID. You can track file operations to monitor progress. - You cannot delete a file while it is still processing.
- You can also delete a file from an assistant using the Pinecone console. In the Assistant playground, find the file and click the ellipsis (…) menu > Delete.
Track file operations
This feature requires API version
2026-04 or later.List operations
You can list all operations for an assistant:Describe an operation
You can get the status of a specific operation:Operation status values
Operations can have the following status values:- Processing: The operation is in progress. Use
percent_completeto track progress. - Completed: The operation finished successfully.
- Failed: The operation failed. In this case, the operation response includes
error_message.
The
percent_complete field on operations replaces the percent_done field that was previously on the file model. Similarly, error_message appears on failed operations, not on the file model.