Database

[{"_id":ObjectId("6345e01473144cec0073ea95"),"results":[{"total_cost":10,"total_time":20},{"total_cost":30,"total_time":40}]}]

Query

db.collection.aggregate([{$project:{total_cost:"$results.total_cost",total_time:"$results.total_time"}}])

Result