Delete a source.

Removes a data source and all its documents from an agent's knowledge base. Use this to disconnect content that's no longer relevant or to clean up after testing.

Notes: To delete individual documents without removing the entire source, use the Delete Document endpoint instead.

Warning: This deletes ALL documents from this source. The action cannot be undone.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique identifier of the agent (formerly known as project).

integer
required

The unique identifier of a source.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json