For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundDiscordStatusDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
      • POSTCreate Batch
      • POSTAdd Batch Items
      • POSTProcess Batch
      • GETList Batches
      • GETGet Batch
      • DELDelete Batch
      • GETList Batch Items
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceBatch

Delete Batch

DELETE
https://api.getzep.com/api/v2/batches/:batchId
DELETE
/api/v2/batches/:batchId
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.batch.delete(
7 batch_id="batchId",
8)
1{
2 "message": "string"
3}
Delete a draft or invalid unprocessed batch. Processed batches cannot be deleted.
Was this page helpful?
Previous

List Batch Items

Next
Built with

Path parameters

batchIdstringRequired
The batch ID.

Response

Deleted batch
messagestring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error