---
ai:
  exclude: true
search:
  tags:
    - searchLimits
    - GET
seo:
  description: >-
    Returns the maximum number of… Reference for the GET
    /api/2/searchLimits/maxAggregationBuckets endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Get maximum aggregation buckets
  badge: GET
title: Get maximum aggregation buckets
type: openapi-operation
---
Returns the maximum number of aggregation buckets allowed by the underlying search platform

`GET /api/2/searchLimits/maxAggregationBuckets`

**Responses**

- `200` — Maximum aggregation buckets limit
- `500` — Internal server error

Response example, 200:

```json
10000
```
