endpoints
Ask AI to rewrite the endpoint's query into a semantically equivalent form that can be materialized. Only applicable to SQL (HogQL) endpoints that currently fail the materialization checks. The suggestion is validated against the live checks before being returned; nothing is saved. Requires the organization's AI data processing approval.
post/api/projects/{project_id}/endpoints/{name}/materialization_suggestion/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/endpoints/{name}/materialization_suggestion/
- Auth: HTTP bearer
Path parameters
namestring required
URL-safe name for the endpoint
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
Response
Changes
No recorded changes to this operation across all 1 revision of this API.