---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Capabilities](/capabilities)
3.  Batch Processing

Back to Capabilities

Content Processing

# Batch Processing

Multi-tier DAG processing that transforms bucket objects into searchable documents with feature extraction

[Start Processing](/start)

### Why do anything?

Raw objects need feature extraction to become searchable. Without batch processing, you can't generate embeddings or enrich content at scale.

### Why now?

AI search requires vector embeddings. Manual processing doesn't scale.

### Why this feature?

Multi-tier DAG processing handles complex pipelines: Tier 0 (bucket→collection) and Tier N (collection→collection) with Celery workers and Ray inference.

## How It Works

Batch processing uses a multi-tier DAG architecture. Tier 0 processes bucket objects, Tier N processes upstream collection outputs.

1

#### Batch Creation

Create batch record, validate source and collection config

2

#### Task Routing

Route to Celery process\_tier queue based on tier level

3

#### Feature Extraction

Ray engine runs feature extractor, generates embeddings

4

#### Document Storage

Documents stored in the Mixpeek Vector Store with vectors indexed

### Why This Approach

DAG enables complex multi-stage pipelines (e.g., video→frames→faces→embeddings). Celery provides reliable task execution. Ray handles ML inference at scale.

## Where This Is Used

[

Media

#### Large-Scale Video Processing



](/solutions/media-intelligence)

[

E-commerce

#### Product Catalog Indexing



](/solutions/ecommerce)

## Integration

PythonAPI

batch = client.collections.trigger(collection\_id=collection\_id)

[View Documentation](https://mixpeek.com/docs/overview/concepts)

## Recent updates

[Full changelog](/changelog)

*   [Nov 25, 2026A batch reports every collection that failedWhen one processing job ran several collections and some failed, the batch could mark the first of them COMPLETED. Its downstream collections then ran over an empty parent, and the batch's error named only some of the failures. A failed collection now stays FAILED, its downstream collections are skipped, and a tier that ends COMPLETED\_WITH\_ERRORS lists each failed collection in tier\_tasks\[\].errors with its error type, message and affected count.](/changelog)
*   [Nov 25, 2026A batch the engine cannot take yet waits in the queue and keeps its retriesWhen the processing engine could not accept a job, a batch submit could wait two minutes and then fail, though nothing had been sent. The engine now checks first and answers at once with a 503 and a Retry-After of 60 seconds, and the batch waits in the queue with the reason shown. A batch refused while a circuit breaker is open also queues and keeps its retry attempts. A batch refunded on failure that then completes on a retry is charged for the output it delivered.](/changelog)
*   [Nov 25, 2026A batch that writes nothing is refunded in fullTwo cases kept a batch's up-front charge when it produced no documents. A batch whose priced collections all came back empty could still read as having written documents, and a batch whose last tier had every collection skipped after an upstream failure ended without settling. Both now settle on what was written, so a batch that delivered nothing is refunded in full.](/changelog)
*   [Nov 24, 2026A batch can re-run only the layers that read other collectionsA batch can now name only collections that read from other collections, with no collection reading the bucket directly. Submit used to refuse every object with "has no collection that can process it", and the batch then failed because its first tier read bucket objects instead of the source collections' documents. Re-processing part of a pipeline after an extractor change no longer requires re-running the first layer.](/changelog)

## Related Capabilities

[

prerequisite

#### Objects

Batches process objects



](/capabilities/objects)

[

often combined

#### Text Extractor

Feature extractors run in batches



](/capabilities/text-extractor)