data_warehouse

Get managed warehouse Trino monitoring snapshot

Changed on

Get tenant-safe live Trino query totals, limits, and in-flight queries for the current organization.

get/api/projects/{project_id}/data_warehouse/managed-warehouse-trino-monitoring/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_warehouse/managed-warehouse-trino-monitoring/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

Current organization-scoped Trino query activity.

schema_versioninteger required

Version of the Trino monitoring response schema.

org_idstring required

Organization whose managed warehouse is represented.

as_ofstring date-time required

UTC timestamp when this snapshot was assembled.

availableboolean required

Whether live query data could be read. When false, totals are zero and do not mean the warehouse is idle.

queries_truncatedboolean required

Whether the query list was capped. Totals always cover every in-flight query.

Changes