delete_knowledge_source
Permanently remove a knowledge source and all of its indexed vectors from the agent's knowledge base.
Permanently remove a knowledge source and all of its indexed vectors from the agent's knowledge base. Destructive and irreversible — anyone with access to the agent, including shared team members, can delete one. Use list_knowledge_sources to find the source id.
You pass only the sourceId — the underlying vector ids are resolved server-side.
Authentication: Required.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
syntheticId | integer | Yes | The agent the knowledge source belongs to. |
sourceId | integer | Yes | The knowledge-source id to delete (the id from list_knowledge_sources). |