provider 2506 operations 141 docs pages
@utdk/posthog
PostHog API
Generated UTDK provider client for PostHog API. Generated UTDK provider types and OpenAPI-backed client for https://us.posthog.com/api/schema/.
Warehouse Model Paths
Optional generated docs page for
@utdk/posthog.
Warehouse Model Paths
Operations
posthog.warehouseModelPathsList
- HTTP:
GET /api/projects/{project_id}/warehouse_model_paths/ - OpenAPI operationId:
warehouse_model_paths_list - Path params: None
- Query params:
limit,offset - Response codes:
200 - Transport options: None
- TypeScript: Client interface
Inputs
- Client input type:
{ [key: string]: unknown } - Client transport options: None
Outputs
- Client return type:
{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: (string)[]; team: number; table?: string | null; saved_query?: string | null; created_at: string; created_by: { id: number; ... - OpenAPI response codes:
200
import posthog from "@utdk/posthog";
type WarehouseModelPathsListInput = Parameters<typeof posthog.warehouseModelPathsList> extends [infer T, ...unknown[]] ? T : undefined;
type WarehouseModelPathsListOutput = Awaited<ReturnType<typeof posthog.warehouseModelPathsList>>;
const result: WarehouseModelPathsListOutput = await posthog.warehouseModelPathsList();
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; path: (string)[]; team: number; table?: string | null; saved_query?: string | null; created_at: string; created_by: { id: number; ...
posthog.warehouseModelPathsRetrieve
- HTTP:
GET /api/projects/{project_id}/warehouse_model_paths/{id}/ - OpenAPI operationId:
warehouse_model_paths_retrieve - Path params:
id - Query params: None
- Response codes:
200 - Transport options: None
- TypeScript: Client interface
Inputs
- Client input type:
{ [key: string]: unknown } - Client transport options: None
Outputs
- Client return type:
{ id: string; path: (string)[]; team: number; table?: string | null; saved_query?: string | null; created_at: string; created_by: { id: number; uuid: string; distinct_id?: string | null; first_name?: string; last_name?:... - OpenAPI response codes:
200
import posthog from "@utdk/posthog";
type WarehouseModelPathsRetrieveInput = Parameters<typeof posthog.warehouseModelPathsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
type WarehouseModelPathsRetrieveOutput = Awaited<ReturnType<typeof posthog.warehouseModelPathsRetrieve>>;
const result: WarehouseModelPathsRetrieveOutput = await posthog.warehouseModelPathsRetrieve();
// Result shape (from schema): { id: string; path: (string)[]; team: number; table?: string | null; saved_query?: string | null; created_at: string; created_by: { id: number; uuid: string; distinct_id?: string | null; first_name?: string; last_name?:...