capabilities.work

Run a HogQL query in a notebook

One step with PostHog. We can help you get access.

Get something done

Run a HogQL query in a notebook

with PostHog

Use PostHog: its PostHog Notebooks API lets you run a HogQL query in a notebook in a single step (POST /api/projects/{project_id}/notebooks/{short_id}/hogql/execute/). capabilities.work can help you get signed up and connected.

  • How do I run a HogQL query inside a notebook?
  • Can I execute a query against a notebook's content?
Say it to your AI assistant
  • Run a HogQL query in notebook {short_id} of {project_id}.
  • Execute a HogQL query on notebook {short_id} in {project_id} with title {title}.
For your developer

POST /api/projects/{project_id}/notebooks/{short_id}/hogql/execute/ in PostHog Notebooks API. Full spec on APIs.io.