Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Update an assistant

For guidance and examples, see Manage assistants.

curl
PINECONE_API_KEY="YOUR_API_KEY"
ASSISTANT_NAME="example-assistant"

curl -X PATCH "https://api.pinecone.io/assistant/assistants/$ASSISTANT_NAME" \
  -H "Api-Key: $PINECONE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-Pinecone-Api-Version: 2025-10" \
  -d '{
  "instructions": "Use American English for spelling and grammar.",
  "metadata": {"team": "customer-support", "version": "1.1"}
}'
curl
{
  "name": "example-assistant",
  "instructions": "Use American English for spelling and grammar.",
  "metadata": {"team": "customer-support", "version": "1.1"},
  "status": "Ready",
  "host": "https://prod-1-data.ke.pinecone.io",
  "created_at": "2025-10-01T12:30:00Z",
  "updated_at": "2025-10-01T12:45:00Z"
}

PATCH /assistants/{assistant_name}

  • X-Pinecone-Api-Version (header, string, required) — Required date-based version header
  • assistant_name (path, string, required) — The name of the assistant to update.
  • instructions (body, string) — Description or directive for the assistant to apply to all responses. Maximum 16 KB.
  • metadata (body, object) — Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes. Maximum size is 16KB.
  • 200 — Update request successful.
  • 400 — Bad Request
  • 401 — Unauthorized
  • 404 — Assistant not found
  • 500 — Internal Server Error
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu