creating-an-endpoint

Originally fromposthog/ai-plugin
Installation
SKILL.md

Creating an endpoint

This skill walks through creating a new endpoint with the right configuration. Endpoints expose saved HogQL or insight queries as callable HTTP routes — the configuration choices made at creation time determine cost, latency, and how callers integrate.

The materialisation deep-dive lives at references/materializing.md. Pull it in when the materialisation decision is non-obvious.

When to use this skill

  • "Create an endpoint for [query]"
  • "Expose this insight as an API"
  • "Help me turn this HogQL into a callable endpoint"
  • A new caller (mobile app, customer-facing dashboard, downstream pipeline) needs PostHog data and the user is choosing how to deliver it

Decisions to make in order

Installs
122
Repository
posthog/skills
GitHub Stars
58
First Seen
Jun 15, 2026
creating-an-endpoint — posthog/skills