---
title: "Get organization ClickHouse Observability usage costs"
method: GET
path: "/v1/organizations/{organizationId}/observabilityUsageCost"
tags: ["Billing"]
---

# Get organization ClickHouse Observability usage costs

`GET /v1/organizations/{organizationId}/observabilityUsageCost`

## Request

- Base URL: `https://api.clickhouse.cloud`
- URL: `https://api.clickhouse.cloud/v1/organizations/{organizationId}/observabilityUsageCost`
- Auth: HTTP basic

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns a grand total and a list of daily, per-service ClickHouse Observability usage cost records for the organization in the queried time period (maximum 31 days). All days in both the request and the response are evaluated based on the UTC timezone.

## Path parameters

- `organizationId` string, uuid, required

## Query parameters

- `from_date` string, date, required
- `to_date` string, date, required

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` ObservabilityUsageCost
    - `grandTotalCHC` number: Grand total cost of usage in ClickHouse Credits (CHCs).
    - `costs` ObservabilityUsageCostRecord[]: List of daily, per-service ClickHouse Observability usage cost records.
      - `date` string, date: Date of the usage. ISO-8601 date, based on the UTC timezone.
      - `entityId` string: Unique ID of the ClickHouse Observability service.
      - `entityName` string: Name of the ClickHouse Observability service.
      - `cloudProvider` string: Cloud provider in which the ClickHouse Observability service is located. One of 'aws', 'gcp', 'azure'. New providers may be added, so clients must accept unknown values.
      - `metrics` ObservabilityUsageCostMetric[]: Usage and cost for each signal that has usage. The costs add up to `totalCHC`.
        - `metric` string: Signal the usage is for: `logs`, `traces`, `metrics` or `sessionReplays`. New values can appear.
        - `unit` string: Unit the `usage` is measured in: `GB` for logs, traces and session replays; `datapointMillions` for metrics. New values can appear.
        - `usage` number: Amount of usage, measured in `unit`. For example, 1.5 with unit `GB` means 1.5 GB ingested.
        - `unitPriceCHC` number: Average price per unit in ClickHouse Credits (CHCs): `totalCHC` divided by `usage`. It is an average because the price can change within a day. Zero when there was no usage.
        - `totalCHC` number: Cost of this signal in ClickHouse Credits (CHCs).
      - `totalCHC` number: Total cost of usage in ClickHouse Credits (CHCs) for this service.
      - `locked` boolean: When true, the record is immutable. Unlocked records are subject to change until locked.

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

## Changes

- **2026-12-02** `dd7b68280285`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/observabilityUsageCost/get.md)

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
