Try it free

List bucket definitions

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List all bucket definitions in Dynatrace with the Grail Storage Management API, including additional fields and newly created buckets after a short delay.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/storage/management/v1/bucket-definitions

Overview

You can use the add-fields query parameter to include additional response fields. The operation returns all bucket definitions, but newly created buckets may not appear immediately and can take up to one minute.

Authentication

To execute this request, you need a platform token or OAuth access token with storage:bucket-definitions:read scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
add-fieldsstring[]

add-fields: Define additional fields added to the response.

Depending on the field this may result in longer response times:

  • records - Request number of records stored in a bucket.
  • estimatedUncompressedBytes - Request estimated uncompressed size of a bucket.
  • estimatedUncompressedBytesQueryIncluded - Request estimated uncompressed size of query-included data in a bucket.
  • estimatedUncompressedBytesOnDemand - Request estimated uncompressed size of on-demand data in a bucket.

Note: Hold down STRG on Windows/Linux or Command on Mac to select multiple values in the box below.

The element can hold these values
  • estimatedUncompressedBytes
  • records
  • estimatedUncompressedBytesQueryIncluded
  • estimatedUncompressedBytesOnDemand
queryOptional

Response

Response codes

CodeTypeDescription
200Buckets

Successfully retrieved all bucket definitions

400ErrorEnvelope

bad request

401ErrorEnvelope

unauthorized

403ErrorEnvelope

missing permissions

Response body objects

The Buckets object

ElementTypeDescription
bucketsBucket[]-

The Bucket object

ElementTypeDescription
bucketClassstring

The class of the bucket. Read-only after creation.

The element can hold these values
  • live
  • historic
bucketNamestring

The unique identifier of the bucket within the tenant.

displayNamestring

Descriptive name of the bucket. No restriction regarding unique naming or valid characters.

estimatedUncompressedBytesinteger

Estimated uncompressed size of the bucket in bytes.

estimatedUncompressedBytesOnDemandinteger

Estimated uncompressed size of on-demand data in the bucket in bytes.

estimatedUncompressedBytesQueryIncludedinteger

Estimated uncompressed size of query-included data in the bucket in bytes.

includedQueryLimitDaysinteger

The period in days in which queries from the bucket are included in the pricing model.

metricIntervalstring

Interval of aggregated metric data. Only applies to metric buckets.

The element can hold these values
  • PT1S
  • PT5S
  • PT10S
  • PT1M
  • PT5M
  • PT15M
  • PT1H
recordsinteger

Amount of records in the bucket.

retentionDaysinteger

The retention period in days of the data in the bucket.

statusstring

The current status of the bucket, depending on bucket lifecycle.

The element can hold these values
  • creating
  • active
  • updating
  • deleting
tablestring

Name of the table the bucket is assigned to.

updatableboolean

A flag indicating whether a bucket can be updated or not.

versioninteger

Optimistic locking version. Update requests define with this on which version the data updated is based on. This must match with the version stored, otherwise the update will fail due to concurrent modification.

The ErrorEnvelope object

ElementTypeDescription
errorExceptionalReturn-

The ExceptionalReturn object

ElementTypeDescription
codeinteger-
errorDetails(CustomValidationErrorInfo | InvalidAuditEventsErrorInfo | MediaTypeErrorInfo | ParameterErrorInfo | ProxyErrorInfo | QueryFrontendRawErrorInfo | RequestBodyErrorInfo)[]-
messagestring-

The CustomValidationErrorInfo object

The ErrorInfo object

ElementTypeDescription
messagestring-

The InvalidAuditEventsErrorInfo object

The MediaTypeErrorInfo object

The ParameterErrorInfo object

The ProxyErrorInfo object

The QueryFrontendRawErrorInfo object

The RequestBodyErrorInfo object

Response body JSON models

{
"buckets": [
{
"bucketName": "default_metrics",
"table": "metrics",
"displayName": "Default metrics",
"status": "active",
"retentionDays": 462,
"includedQueryLimitDays": 0,
"metricInterval": "PT1M",
"version": 1,
"updatable": false
},
{
"bucketName": "default_bizevents",
"table": "bizevents",
"displayName": "Business events (35 days)",
"status": "active",
"retentionDays": 35,
"includedQueryLimitDays": 0,
"version": 1,
"updatable": false
}
]
}
{
"error": {
"code": 400,
"message": "Missing request header",
"errorDetails": [
{
"type": "parameter",
"parameterDescriptor": "Dt-Tenant",
"message": "is required"
}
]
}
}
Related tags
Platform APIDynatrace Platform