WWatchLLM
delete/api/v2/knowledge-sources/{id}

Delete a Knowledge Base source.

Deletes a source and cascades local chunks/events for the active project.

Requires bearer API key

Parameters

NameInDescription
X-Project-IdheaderRequired for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string
idpath / requiredNo description provided.string

Responses

204

Knowledge source deleted.

404

Error response.

application/json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  }
}

Try it

Send this request to the local WatchLLM REST handler. Use a key from /workspace/api; organization keys can include X-Project-Id only when the endpoint documents that header.