anchor.diff:   details) |Required |
    |`gap_policy` |The policy to apply when gaps are found in the data (see <<gap-policy>> for more
    details)|Optional | `skip`
  - |`format` |format to apply to the output value of this aggregation |Optional |`null` 
  + |`format` |format to apply to the output value of this aggregation |Optional |`null`
   |===
   
   The following snippet calculates the minimum of the total monthly `sales`:
  
positive.code: // CONSOLE
  // TEST[setup:sales]
  
  <1> `buckets_path` instructs this max_bucket aggregation that we want the minimum value of the `sales` aggregation in the
  `sales_per_month` date histogram.
  
  And the following may be the response:
  
negative.code: 
  ==== Syntax
  
  A `min_bucket` aggregation looks like this in isolation:
  
  [source,js]
  --------------------------------------------------
  