Skip to main content

How to Check Your ClickHouse Cloud Service State

How do I check my ClickHouse Cloud Service state? I want to check if the Service is stopped, idle, or running, but I don’t want to wake the Service up in doing so.

Answer

The ClickHouse Cloud API is great for checking the status of a cloud service. You need to create an API Key in your service before you can use the Cloud API. You can do this in ClickHouse Cloud clickhouse.cloud:
  1. To check the status of a service, run the following. Make sure to replace Key-ID and Key-Secret with your respective details:
    This will output something like:
  2. You can use the JQ utility to extract the state key:
    This will output something like:
  3. Running the same command against an actively running service will output:
Last modified on July 10, 2026