GET
/
assistant
/
files
/
{assistant_name}
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")

# Get your assistant.
assistant = pc.assistant.Assistant(
    assistant_name="YOUR_ASSISTANT_NAME", 
)

# List files in your assistant.
files = assistant.list_files()
{
  "files": [
    {
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {},
      "created_on": "2023-11-07T05:31:56Z",
      "updated_on": "2023-11-07T05:31:56Z",
      "status": "Processing"
    }
  ]
}

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.

from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")

# Get your assistant.
assistant = pc.assistant.Assistant(
    assistant_name="YOUR_ASSISTANT_NAME", 
)

# List files in your assistant.
files = assistant.list_files()

Authorizations

Api-Key
string
headerrequired

Pinecone API Key

Path Parameters

assistant_name
string
required

The name of the assistant to be described.

Response

200 - application/json
files
object[]