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

Create Batch

POST
https://api.getzep.com/api/v2/batches
POST
/api/v2/batches
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.batch.create()
1{
2 "batch_id": "string",
3 "completed_at": "string",
4 "created_at": "string",
5 "item_count": 1,
6 "metadata": {},
7 "processed_at": "string",
8 "progress": {
9 "failed_items": 1,
10 "percent_complete": 1.1,
11 "processing_items": 1,
12 "queued_items": 1,
13 "skipped_items": 1,
14 "succeeded_items": 1,
15 "total_items": 1
16 },
17 "status": "draft",
18 "updated_at": "string"
19}
Create a draft batch that can be filled with graph episodes and thread messages.
Was this page helpful?
Previous

Add Batch Items

Next
Built with

Request

Create batch request
metadatamap from strings to anyOptional

Response

Created batch
batch_idstring
completed_atstring
created_atstring
item_countinteger
metadatamap from strings to any
processed_atstring
progressobject
statusenum
updated_atstring

Errors

400
Bad Request Error
403
Forbidden Error
500
Internal Server Error