GET
/batchesList organization batches
Lists all batches in your organization with cursor-based pagination. Returns batch metadata including status, endpoint, input file ID, and timestamps. Use after and limit to control pagination through the batch list.
afterstringoptional
A cursor for pagination. Pass the ID of the last batch from the previous response to fetch the next page.
limitintegeroptional
Maximum number of batches to return per page. Must be between 1 and 100. Defaults to 20 when omitted.
200Returns a paginated list of batch objects with metadata including status, endpoint, file IDs, and timestamps, along with pagination cursors.
dataarray<object>required
first_idstringoptional
last_idstringoptional
has_morebooleanrequired
objectstringrequired
Error handling
limit must be a positive integer between 1 and 100 — values outside this range are rejected. after must be a valid batch ID from a previous response if provided.