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.

This feature is in public preview.

List files and details for an assistant

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.

You can list file in an assistant using the Pinecone console. Select the assistant and view the files in the Assistant playground.