Update Agent Knowledge
PATCHhttps://a.klaviyo.com/api/agent-knowledge/{id}
Patches editable fields on an Agent Knowledge item.
For snippets, update title and/or content. For Q&A pairs, update question and/or answer. Re-indexing on content or answer change is automatic.
- Revision header
revision: 2026-07-15.prerequired- Scopes
agents:write- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
Agent Knowledge identifier. This must match the
agent_knowledge_idpath parameter.Show 4 fields
Human-readable title for the snippet.
Text body for the snippet. Re-indexing is automatic when changed.
Question text for a Q&A knowledge item.
Answer text for a Q&A knowledge item. Re-indexing is automatic when changed.
Responses
200Success
Content type: application/vnd.api+json
Show 4 fields
Unique Agent Knowledge identifier.
Show 6 fields
Source payload for the knowledge item.
Option 2:
AgentKnowledgeWebpageResponseSourceThe knowledge item was created from a webpage.
Normalized URL for the webpage-backed knowledge item.
Crawl scope for the webpage-backed knowledge item.
Whether the webpage is periodically re-indexed.
Option 4:
AgentKnowledgeFolderResponseSourceThe knowledge item is a folder that organizes other knowledge items.
Human-readable title for the folder.
Number of knowledge items nested under this folder at any depth (nested folders don't count themselves, only their contents do). Only populated when listed via GET /agent-knowledge; null when fetched by id via GET /agent-knowledge/{id}.
Indexing lifecycle state for the knowledge item.
Date and time when the knowledge item was created.
Date and time when the knowledge item was last updated.
Date and time when indexing completed, if available.
Error message when indexing failed; otherwise null.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json