batches

abstract suspend fun batches(after: BatchId? = null, limit: Int? = null, requestOptions: RequestOptions? = null): List<Batch>

List your organization's batches.

Parameters

after

A cursor for use in pagination. After is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your later call can include after=obj_foo to fetch the next page of the list.

limit

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.