Skip to content

Add batch delete documents endpoint (closes #78)#422

Open
chadvik88 wants to merge 1 commit into
morphik-org:mainfrom
chadvik88:add-batch-delete
Open

Add batch delete documents endpoint (closes #78)#422
chadvik88 wants to merge 1 commit into
morphik-org:mainfrom
chadvik88:add-batch-delete

Conversation

@chadvik88

@chadvik88 chadvik88 commented Jul 1, 2026

Copy link
Copy Markdown
  • New DELETE/documents/batch endpoint accepting a list of document_ids
  • Reuses the existing document_service.delete_document logic per document (consistent with how delete_document already works)
  • Returns a BatchDeleteResponse with deleted and errors lists, so partial failures are reported per-document rather than failing the whole batch
  • Note: SDK, shell, and UI support for this endpoint aren't included yet — happy to follow up with those if this approach looks good

@CLAassistant

CLAassistant commented Jul 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@chadvik88

Copy link
Copy Markdown
Author

Hi again,

The gitleaks check is failing here (and most likely on all PRs) because it's missing a GITLEAKS_LICENSE org secret, not because of anything in this diff. The error is: missing gitleaks license... store it as a GitHub Secret named GITLEAKS_LICENSE. I think it might be worth adding that secret or disabling the check for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants