action posthog_query_draft_sql_retrieve { label: "query_draft_sql_retrieve" description: "DRF ViewSet mixin that gates coalesced responses behind permission checks.\n\nThe QueryCoalescingMiddleware attaches cached response data to\nrequest.META[\"_coalesced_response\"] for followers. This mixin runs DRF's\ninitial() (auth + permissions + throttling) before returning the\ncached response, ensuring the request is authorized." provider: posthog method: GET path: "/api/projects/{project_id}/query/draft_sql/" encoding: json output: { type: "object" } }