Skip to content
POSThttps://app.evoriqa.com/api/v1/chatbots/{chatbotId}/sources/{sourceId}/toggle

Enable or disable a source

Turns a source on or off in retrieval without deleting it, so its chunks survive for re-enabling later. A missing `enabled` flag returns 422.

Requires scope knowledge:write

Warning:

Access is gated — enable it before your first call

The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.

Parameters

Request body

Content type: application/json

Request

Response

200 OK