Update Knowledge Source
Changed onPartially update mutable fields of an existing knowledge source such as name, description, tags, or source-specific configuration. Only the fields provided in the request body will be updated. Some changes (e.g., KnowledgeSourceTypes) may trigger asynchronous reprocessing of the underlying content. Fields omitted from the request remain unchanged. Immutable fields (id, type, status, url, createdAt, updatedAt) cannot be modified directly.
Refresh
To request reprocessing without changing fields, pass the query parameter refresh=true. When refresh=true is provided, the server will re-queue processing for this knowledge resource (transitioning the persisted status to QUEUED) and return 202 Accepted. This query parameter is idempotent while the resource is already QUEUED or PROCESSING.
Request
- Base URLhttps://knowledge.twilio.com
- URLhttps://knowledge.twilio.com/v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}
- AuthHTTP basic
Query parameters
When true, re-queues processing for this knowledge resource. Idempotent while the resource is already QUEUED or PROCESSING.
Request body
Example request
{
"name": "Company FAQ Knowledge Base",
"source": {
"type": "Text",
"content": "This is the raw text content that will be processed as knowledge."
}
}Response
OK
Example response
{
"id": "know_knowledge_00000000000000000000000000",
"name": "Company FAQ Knowledge Base",
"description": "Frequently asked questions and answers for customer support",
"status": "COMPLETED",
"source": {
"type": "Web",
"url": "https://example.com/faq",
"crawlDepth": 2,
"crawlPeriod": "NEVER"
},
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T11:45:00Z"
}Changes
- info
added the new optional request property
///// - info
added the optional property
/////to the response with the status
- info
- breaking
removed the enum value
text/mdxof the request property///// - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - info
removed the
text/mdxenum value from the/////response property for the response status
- breaking