Skip to main content
GET
ClickStack: List Alerts
Beta This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.

ClickStack: Retrieves alerts for the authenticated team (paginated). Results are capped at limit (default and maximum 1000). When totalCount exceeds the number of returned items, page with limit/offset to retrieve them all. Optional filters narrow the result set, and totalCount counts only the matching alerts.

Permission

The API key must have the control-plane:service:manage-clickstack-api permission.

Authorizations

Authorization
string
header
required

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Path Parameters

organizationId
string<uuid>
required

ID of the organization that owns the service.

serviceId
string<uuid>
required

ID of the ClickStack service.

Query Parameters

limit
integer
default:1000

Maximum number of results to return.

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of results to skip before returning.

Required range: x >= 0
tag
string[]

Only return alerts that have any of the given tags. Repeat the parameter to pass several tags. Matches the tags stored on the alert, not tags inherited from the linked dashboard or saved search.

Maximum array length: 50
Maximum string length: 32

Only return alerts whose display name contains this text (case-insensitive). Matches the display name stored on the alert, not a name derived from the linked dashboard or saved search.

Maximum string length: 512
source
enum<string>[]

Only return alerts of any of the given sources. Repeat the parameter to pass several sources.

Available options:
saved_search,
tile,
inline
state
enum<string>[]

Only return alerts in any of the given states. Repeat the parameter to pass several states.

Available options:
ALERT,
OK,
INSUFFICIENT_DATA,
DISABLED,
PENDING

Response

Successful response

status
number

HTTP status code.

Example:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object[]