Full AWS Practitioner Certification Question

You have a Cosmos DB container with a large number of documents, and you need to perform complex filtering and aggregation operations on the data. Which Cosmos DB API would be most suitable for this task?