Kafka clusters
Get Kafka topic partition sizes
GET
/kafka-clusters/{uuid}/topic-sizesRetrieves cached, customer-safe partition sizes for every topic unless forceRefresh is true.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url https://api.artie.com/kafka-clusters/{uuid}/topic-sizes \
--header 'Authorization: Bearer <token>'Path parameters
uuidstringrequired
Query parameters
forceRefreshboolean
Responses
200OKapplication/json
itemsobject[]requiredShow child attributes
partitionsobject[] | nullrequiredShow child attributes
partitioninteger<int32>requiredsizeBytesinteger<int64>required
remoteSizeBytesinteger | nullThe topic's size in remote storage (S3). Missing when Datadog has no data for it.
topicstringrequired
404Not Found
500Internal Server Error
200 OK
{
"items": [
{
"partitions": [
{
"partition": 123,
"sizeBytes": 123
}
],
"remoteSizeBytes": 123,
"topic": "<string>"
}
]
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.