> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v3/sdk-reference/batch/process-batch/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # Process Batch POST https://api.getzep.com/api/v2/batches/{batchId}/process Start processing a filled batch. Repeated calls return a conflict. Reference: https://docs-beta.getzep.com/sdk-reference/batch/process-batch ## Request ### Path parameters - `batchId` (string, required) — The batch ID. ## Response ### 200 Batch processing state - `batch_id` (string, optional) - `completed_at` (string, optional) - `created_at` (string, optional) - `ignore_roles` (list of enum, optional) - Allowed values: `norole`, `system`, `assistant`, `user`, `function`, `tool` - `item_count` (integer, optional) - `metadata` (map from string to any, optional) - `processed_at` (string, optional) - `progress` (apidata.BatchProgress, optional) - `status` (enum, optional) - Allowed values: `draft`, `invalid`, `queued`, `processing`, `succeeded`, `partial`, `failed`, `canceled` - `strict_ontology` (boolean, optional) - `updated_at` (string, optional) ## Errors ### 400 Bad Request Error Bad Request - `code` (string, optional) - `invalid_items` (list of apidata.BatchInvalidItem, optional) - `message` (string, optional) ### 403 Forbidden Error Forbidden - `message` (string, optional) ### 404 Not Found Error Not Found - `message` (string, optional) ### 409 Conflict Error Conflict - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Types ### apidata.BatchProgress - `canceled_items` (integer, optional) - `failed_items` (integer, optional) - `percent_complete` (double, optional) - `processing_items` (integer, optional) - `queued_items` (integer, optional) - `skipped_items` (integer, optional) - `succeeded_items` (integer, optional) - `total_items` (integer, optional) ### apidata.BatchInvalidItem - `graph_id` (string, optional) - `item_id` (string, optional) - `reason` (string, optional) - `sequence_index` (integer, optional) - `source_uuid` (string, optional) - `thread_id` (string, optional) - `user_id` (string, optional) ## Examples **Response** ```json { "batch_id": "string", "completed_at": "string", "created_at": "string", "ignore_roles": [ "norole" ], "item_count": 1, "metadata": {}, "processed_at": "string", "progress": { "canceled_items": 1, "failed_items": 1, "percent_complete": 1.1, "processing_items": 1, "queued_items": 1, "skipped_items": 1, "succeeded_items": 1, "total_items": 1 }, "status": "draft", "strict_ontology": true, "updated_at": "string" } ```