> 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/list-batches/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # List Batches GET https://api.getzep.com/api/v2/batches List batches for the current project, optionally filtered by batch status. Reference: https://docs-beta.getzep.com/sdk-reference/batch/list-batches ## Request ### Query parameters - `limit` (integer, optional) — Maximum number of batches to return. - `cursor` (integer, optional) — Pagination cursor from a previous response. - `status` (string, optional) — Batch status filter. ## Response ### 200 Batch list - `batches` (list of apidata.BatchSummary, optional) - `next_cursor` (integer, optional) ## Errors ### 400 Bad Request Error Bad Request - `message` (string, optional) ### 403 Forbidden Error Forbidden - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Types ### apidata.BatchSummary - `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) ### 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) ## Examples **Response** ```json { "batches": [ { "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" } ], "next_cursor": 1 } ```