warehouse_saved_queries

Return the descendants of this saved query.

By default, we return every descendant. The level parameter bounds how many hops forward to walk, so 1 gives the immediate children.

post/api/projects/{project_id}/warehouse_saved_queries/{id}/descendants/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/warehouse_saved_queries/{id}/descendants/
  • Auth: none declared

Path parameters

idstring uuid required

A UUID string identifying this data warehouse saved query.

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/.

Request body

levelinteger nullable

How many hops to walk, so 1 gives the immediate neighbours. Omit to walk the whole cone.

Response

descendantsstring[] required

Ids of the saved queries that read from this query, directly or through other queries.

Changes

No recorded changes to this operation across all 1 revision of this API.