# To use the Python SDK, install the plugin:
# pip install --upgrade pinecone pinecone-plugin-assistant
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
assistants = pc.assistant.list_assistants()
{
"assistants": [
{
"name": "example-assistant",
"status": "Initializing",
"instructions": "<string>",
"metadata": {},
"host": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}List of all assistants in a project.
For guidance and examples, see Manage assistants.
# To use the Python SDK, install the plugin:
# pip install --upgrade pinecone pinecone-plugin-assistant
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
assistants = pc.assistant.list_assistants()
{
"assistants": [
{
"name": "example-assistant",
"status": "Initializing",
"instructions": "<string>",
"metadata": {},
"host": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}# To use the Python SDK, install the plugin:
# pip install --upgrade pinecone pinecone-plugin-assistant
from pinecone import Pinecone
pc = Pinecone(api_key="YOUR_API_KEY")
assistants = pc.assistant.list_assistants()
Pinecone API Key
List all assistants in a project.
The list of assistants that exist in the project.
Show child attributes
The name of the assistant. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.
1 - 45"example-assistant"
Initializing, Failed, Ready, Terminating, InitializationFailed Description or directive for the assistant to apply to all responses.
The host where the assistant is deployed.
Was this page helpful?