Skip to main content

create

create(request: CreateChartRequest): Promise<CreateChartResponse>
Accepted keys: Data plane fine-grained API key with project_id; Project API key without project_id (deprecated) Create a new chart Create a chart in a project.

delete

delete(request: DeleteChartRequest): Promise<DeleteChartResponse>
Accepted keys: Data plane fine-grained API key with project_id; Project API key without project_id (deprecated) Delete a chart Delete a chart from a project, removing it from the project’s dashboards.

get

get(request: GetChartRequest): Promise<GetChartResponse>
Accepted keys: Data plane fine-grained API key with project_id; Project API key without project_id (deprecated) Get a chart Retrieve a single chart by id.

list

list(request?: GetChartsRequest): Promise<GetChartsResponse>
Accepted keys: Data plane fine-grained API key with project_id; Project API key without project_id (deprecated) List charts Retrieve all charts in a project.

query

query(request: QueryChartRequest): Promise<QueryChartResponse>
Accepted keys: Data plane fine-grained API key Run a chart query Aggregate the project’s events into one chart result. query.kind selects the result shape: time series, categorical, scalar, histogram, or table. Every query must include an event_type is <type> or event_type is not <type> filter; an event_type is session filter queries sessions instead of events. The scatter kind and a categorical split_by / split_ranking are accepted by the schema but not served yet, and answer 501.

update

update(request: UpdateChartRequest): Promise<UpdateChartResponse>
Accepted keys: Data plane fine-grained API key with project_id; Project API key without project_id (deprecated) Update a chart Update a chart’s editable fields. Only fields included in the request body are modified.