Optional page_size parameter can be used to set a page size (max. 1000, default 10). To get the next page of batches, use the next_before_id value in the response body and pass it as the parameter before_id.

Optional state parameter to filter batches on states. Use a comma-separated list for multiple states.

Optional from and/or to parameters to filter by creation date in rfc3339 format.

Click Try It! to start a request and see the response here!