# soundsguyza/creating-an-endpoint

Create a PostHog endpoint with the right shape on the first try — covers query kind choice, name conventions, what to expose as variables (HogQL code_name vs insight breakdown), data_freshness_seconds, and whether to materialise on day one. Use when the user says "create an endpoint", "expose this query as an API", "turn this insight into an endpoint", or asks for help structuring a new endpoint. Steers away from common mistakes: materialising a query with cohort breakdowns or compare mode, inline-only variables on a materialised endpoint, unbounded date ranges, ambiguous names.


- Author: Aluna Africa (https://app.skillsync.com/soundsguyza)
- Price: Free
- Version: 1

## Files

- SKILL.md (11555 bytes)
- references/materializing.md (8758 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/soundsguyza/creating-an-endpoint
3. Load it with the get_skill tool: `get_skill("soundsguyza/creating-an-endpoint")`, then follow its instructions.
