metrics

Check dashboard panel queries before they go on a dashboard: the metrics must exist, PromQL must run, and SQL must compile and read only logs or traces.

post/api/projects/{project_id}/metrics/dashboard_imports/validate/

Request

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

import_idstring uuid nullable

The import that these panels belong to, from the import instructions. The import progress shows which panels pass.

Response

Changes

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