GET
/batchesList organization batches
Lists batches created by your organization. Use after to continue from a batch ID and limit to set the number of results, from 1 to 100.
afterstringoptional
A batch ID cursor that marks where to continue the list; omit it to start at the beginning.
limitintegeroptional
The maximum number of batches to return, from 1 to 100. Defaults to 20 when omitted.
200Returns a list of batch objects with pagination information, including the first and last IDs and whether more results are available.
dataarray<object>required
first_idstringoptional
last_idstringoptional
has_morebooleanrequired
objectstringrequired
400Returned when pagination parameters are invalid.
errorobjectrequired
404Returned when no batch is found with the specified pagination cursor.
errorobjectrequired
429Returned when the request is rejected because a rate limit was exceeded.
errorobjectrequired
Error handling
A 400 is returned when pagination parameters are invalid. A 404 is returned when no batch is found for the specified after cursor, and a 429 is returned when the request exceeds a rate limit. limit must be between 1 and 100.