Kafka clusters
List Kafka topics
/kafka-clusters/{uuid}/topicsRetrieves the light topic list for the cluster (no per-topic detail fetch). Results are cached for two minutes unless forceRefresh is true. Includes the owning source reader name and table name when the topic belongs to an Artie pipeline.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url https://api.artie.com/kafka-clusters/{uuid}/topics \
--header 'Authorization: Bearer <token>'Path parameters
uuidstringrequired
Query parameters
forceRefreshboolean
Responses
200OKapplication/json
itemsobject[]requiredShow child attributes
artieManagedbooleanrequiredWhether Artie manages this topic: a CDC topic under the company prefix outside the customer namespace, or a Kafka-internal __ topic.
localRetentionMSstringHow long a tiered topic keeps data on broker disks (local.retention.ms). -2 means the same as retention. Left out when the brokers don't report it.
partitionCountintegerrequiredretentionMSstringrequiredsourceNamestringtableNamestringtieredStorageobjectrequiredShow child attributes
canTierbooleanrequiredWhether tiered storage can be on for this topic. Kafka refuses it on compacted topics, and Artie keeps it off Kafka's and Cruise Control's own topics and topics whose retention can't be read.
statestringrequiredoff, on or paused, from the topic's remote.storage.enable and remote.log.copy.disable configs.
switchOnbooleanrequiredWhether the topic's tiered storage switch is on. On a Managed Kafka cluster it's the topic's own switch, else the cluster's tierAllTopics; elsewhere it's whether the topic is tiered (on or paused).
topicstringrequired
404Not Found
500Internal Server Error
{
"items": [
{
"artieManaged": true,
"localRetentionMS": "<string>",
"partitionCount": 123,
"retentionMS": "<string>",
"sourceName": "<string>",
"tableName": "<string>",
"tieredStorage": {
"canTier": true,
"state": "off",
"switchOn": true
},
"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.