Body
-
The description of the knowledge source.
-
The details of the knowledge source based on the type.
-
The name of the knowledge source.
-
The policy associated with the tool.
-
The description of the knowledge source.
-
The embedding model to be used for the knowledge source. It's only applicable to 'Database' type.
PUT
/v1/Knowledge/{id}
curl \
--request PUT 'https://assistants.twilio.com/v1/Knowledge/{id}' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"description":"string","knowledge_source_details":{},"name":"string","policy":{"description":"string","id":"string","name":"string","type":"string"},"type":"string","embedding_model":"string"}'
Request examples
{
"description": "string",
"knowledge_source_details": {},
"name": "string",
"policy": {
"description": "string",
"id": "string",
"name": "string",
"type": "string"
},
"type": "string",
"embedding_model": "string"
}
Response examples (200)
{
"description": "string",
"id": "string",
"account_sid": "string",
"knowledge_source_details": {},
"name": "string",
"status": "string",
"type": "string",
"url": "string",
"embedding_model": "string",
"date_created": "2025-05-04T09:42:00Z",
"date_updated": "2025-05-04T09:42:00Z"
}