Manage files
This page shows you how to view a list of files, check the status of a file, and delete a file from your assistant.
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:
This operation returns a response like the following:
You can use the id
value to check the status of an individual file.
You can list file in an assistant using the Pinecone console. Select the assistant and view the files in the Assistant playground.
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 the filter
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:
This operation returns a response like the following:
You can check the status a file using the Pinecone console. In the Assistant playground, click the file for more details.
Delete a file
You can delete a file from an assistant.
You can delete a file from an assistant using the Pinecone console. In the Assistant playground, find the file and click the ellipsis (..) menu > Delete.
Was this page helpful?