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

# Get an assistant.
assistant = pc.assistant.Assistant(
    assistant_name="example_assistant", 
)

# Describe a file.
file = assistant.describe_file(file_id="070513b3-022f-4966-b583-a9b12e0290ff")
{
  "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 an assistant.
assistant = pc.assistant.Assistant(
    assistant_name="example_assistant", 
)

# Describe a file.
file = assistant.describe_file(file_id="070513b3-022f-4966-b583-a9b12e0290ff")

Authorizations

Api-Key
string
headerrequired

Pinecone API Key

Path Parameters

assistant_file_id
string
required

The UUID of the file to be described.

Response

200 - application/json
name
string
required

The name of the file.

id
string
required

The UUID of the file.

metadata
object

A dictionary containing metadata for the assistant.

created_on
string

When the file was first uploaded.

updated_on
string

When the file was last updated.

status
enum<string>

The status of the file.

Available options:
Processing,
Available,
Deleting,
ProcessingFailed