:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
For SQL history reads, use execute-sql over system.activity_logs only when schema discovery exposes that table. Use scope, item, and created_at bounds, select only needed columns, and cap results with LIMIT 10. Treat a full page as partial history. SQL enforces the same entitlement, retention, and access controls; it is not a bypass. If the table is unavailable or access is denied, stop using this table for the run; do not probe endpoints to bypass the restriction. Other advertised, authorized history readers, including per-object readers, remain usable.