For the complete documentation index, see llms.txt. This page is also available as Markdown.

Aggregates

Saved MongoDB pipelines you run to compute and summarise data.

An aggregate is a saved MongoDB aggregation pipeline you run on demand β€” to group, count, join, and summarise records without writing that logic into your app.

Database β†’ Aggregates.

What you can do here

The list shows every saved aggregate with its ID (maggr_…), Name, and the Schema (collection) it runs on. Add New opens the editor β€” see Create an aggregate for the fields, the sample record panel, and the TEST run against live data. Click an aggregate's id to edit it.

Because your app calls an aggregate by id (executeAggregate), the pipeline stays server-side β€” you can tune it here without redeploying anything.

Use it from code

Database β†’ Aggregates; run one with executeAggregate from the data API.

API reference

Endpoints: Database β†’ Aggregates.

Last updated