This feature is in public beta and is not recommended for production usage. Join the beta waitlist and review the preview terms for more details.

This page shows you how to get a list of the files in your assistant, along with their statuses and IDs.

To learn about the concepts related to Pinecone Assistant, see Understanding Assistant.

List files in an assistant with the Assistant API

Use the list files operation to get the status, ID, and metadata for each file in your assistant as in the following example:

This endpoint returns a response like the following:

{
  "files": [
    {
      "name": "example_file.txt",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {},
      "created_on": "2023-11-07T05:31:56Z",
      "updated_on": "2023-11-07T05:31:56Z",
      "status": "Processing"
    }
  ]
}

You can use the id value to check the status of an individual file.

List files in an assistant in the Pinecone Console

To list the files in an assistant in the Pinecone Console, follow these steps:

  1. Open the Pinecone console.
  2. Select your project.
  3. Select Assistant (Beta) in the left panel.
  4. Select your assistant.
  5. Select the Files tab.

The files in the assistant appear below.