TokenToSeaSkill 广场
English 控制台

Consuming Endpoints From Client Code

PostHog

Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api/openapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses.

安装

npx skills add PostHog/ai-plugin --skill consuming-endpoints-from-client-code