Retrieve data from your endpoint with TypeScript
Contents
Call PostHog endpoints from TypeScript with type safety.
Basic request
typescript
With variables
typescript
For fully type-safe SDKs generated from your endpoint schemas, see OpenAPI SDK generation.