Query Reporting
Meta Reporting
Query Reporting
Execute a read-only SELECT against reporting.meta_* (ClickHouse) — the default tool for any analytical question over historical Meta Ads data. Faster than the Graph API and supports SQL-level aggregation (GROUP BY, JOINs, sum/avg, breakdowns). Read-only by infrastructure: INSERT/UPDATE/DELETE/DDL are rejected by the server. Tenant isolation (organization_id/workspace_id) is enforced automatically by the warehouse — no need to filter on those. Data freshness: ~12h cadence. The system prompt provides the full curated schema; use it directly. Use parameterized placeholders ({name: Type}) + the `params` object for any user-controlled value.
POST
Query Reporting
Authorizations
API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.
Body
application/json