List batches with pagination and filtering options.
Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'. Falls back to ?namespace= query parameter if the header is omitted.
"ns_abc123def456"
"production"
"my-namespace"
The unique identifier of the bucket.
The request model for listing batches.
Filter batches by status.
PENDING, QUEUED, IN_PROGRESS, PROCESSING, COMPLETED, COMPLETED_WITH_ERRORS, FAILED, CANCELED, UNKNOWN, SKIPPED, DRAFT, ACTIVE, ARCHIVED, SUSPENDED Filter batches to only those associated with a specific collection ID. Useful for tracking the processing state of all batches for a given collection.
Filter batches to only those belonging to a specific bucket. Useful with the org-level POST /v1/batches/list endpoint to scope results.
The number of batches to skip.
x >= 0The maximum number of batches to return.
1 <= x <= 1000Cursor for deep pagination. Use next_cursor from a previous response to fetch the next page. More efficient than offset for large result sets.
Successful Response
The response model for listing batches.
Each batch in results includes bucket_id, enabling callers to build batch-to-bucket mappings without additional queries.