data_deletion_requests

Validate a one-column HogQL query and count the selected event UUIDs.

post/api/projects/{project_id}/data_deletion_requests/preview/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_deletion_requests/preview/
  • 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/.

Request body

querystring required

HogQL query that selects one event UUID column.

variablesobject

Variables referenced by the HogQL query.

Response

countinteger required

Number of event UUIDs selected when the preview ran.

Changes

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