Skip to main content
POST
Delete Knowledge
Use this API to hard-delete a knowledge source and all its derived chunks and rules. A source that is still processing, or that other sources were de-duplicated against, returns FAILED_PRECONDITION; wait for it to finish (or remove dependents) and retry.

Endpoint

POST https://api.velt.dev/v2/memory/knowledge/delete

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Delete a source

Response

The response confirms the deletion and reports how many derived chunks and rules were removed.

Success Response

Failure Response