Delete a knowledge base source (file / URL / inline text)
knowledge-bases
Delete a knowledge base source (file / URL / inline text)
Removes a single source from the KB along with its vector chunks and the stored file (S3). Get the source_id from GET /v1/knowledge-bases/{kb_id}/sources. Returns 404 if the source doesn’t exist in this KB.
DELETE
Delete a knowledge base source (file / URL / inline text)
Authorizations
Your API key sent as a Bearer credential — Authorization: Bearer <api_key>, where <api_key> starts with oi_sk_ (create one via POST /v1/api-keys). Although the field is labelled 'token', paste your API key here. A dashboard JWT is also accepted on this header for the same endpoints.
Response
Successful Response