Retrieves all batch jobs for a business with pagination.
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
Pagination cursor
Number of results per page (Default: 20)
Optional batch type to filter by. If not provided, returns all batch types.
PARTNER_RESOURCE_JSON_INGEST, PARTNER_RESOURCE_BATCH_DELETE, PARTNER_RESOURCE_BATCH_PATCH Optional field to sort by. Defaults to createdAt.
createdAt, startedAt, completedAt Optional sort direction. Defaults to desc.
asc, desc Whether to include detailed information about pending resources and their dependencies
true, false Whether to only return batches that have pending resources (filters by pendingRecords > 0)
true, false