@utdk/posthog 1.0.0-20260712.5-dev.e2949a6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +172 -0
  3. package/docs/account_relationship_definitions.md +194 -0
  4. package/docs/accounts.md +380 -0
  5. package/docs/actions.md +274 -0
  6. package/docs/activity_logs.md +144 -0
  7. package/docs/advanced_activity_logs.md +101 -0
  8. package/docs/agent_platform.md +2525 -0
  9. package/docs/ai-observability.md +514 -0
  10. package/docs/alerts.md +444 -0
  11. package/docs/annotations.md +200 -0
  12. package/docs/batch_exports.md +2118 -0
  13. package/docs/business_knowledge.md +468 -0
  14. package/docs/code-invites.md +72 -0
  15. package/docs/cohorts.md +412 -0
  16. package/docs/comments.md +321 -0
  17. package/docs/conversations.md +695 -0
  18. package/docs/custom_property_definitions.md +442 -0
  19. package/docs/custom_property_sources.md +194 -0
  20. package/docs/customer_analytics.md +442 -0
  21. package/docs/customer_journeys.md +380 -0
  22. package/docs/customer_profile_configs.md +380 -0
  23. package/docs/dashboard_templates.md +258 -0
  24. package/docs/dashboards.md +1896 -0
  25. package/docs/data_color_themes.md +380 -0
  26. package/docs/data_modeling_jobs.md +264 -0
  27. package/docs/data_warehouse.md +928 -0
  28. package/docs/dataset_items.md +382 -0
  29. package/docs/datasets.md +382 -0
  30. package/docs/desktop_file_system.md +753 -0
  31. package/docs/desktop_file_system_shortcut.md +244 -0
  32. package/docs/docs.md +72 -0
  33. package/docs/early_access_feature.md +194 -0
  34. package/docs/elements.md +510 -0
  35. package/docs/endpoints.md +1030 -0
  36. package/docs/engineering_analytics.md +712 -0
  37. package/docs/environments.md +881 -0
  38. package/docs/error_tracking.md +5108 -0
  39. package/docs/evaluation_runs.md +78 -0
  40. package/docs/evaluations.md +446 -0
  41. package/docs/event_definitions.md +425 -0
  42. package/docs/event_filter.md +280 -0
  43. package/docs/event_schemas.md +163 -0
  44. package/docs/events.md +208 -0
  45. package/docs/experiment_holdouts.md +194 -0
  46. package/docs/experiment_saved_metrics.md +194 -0
  47. package/docs/experiments.md +1088 -0
  48. package/docs/exports.md +256 -0
  49. package/docs/external_data_schemas.md +752 -0
  50. package/docs/external_data_sources.md +2296 -0
  51. package/docs/feature_flags.md +808 -0
  52. package/docs/field_notes.md +206 -0
  53. package/docs/file_system.md +880 -0
  54. package/docs/file_system_shortcut.md +444 -0
  55. package/docs/flag_value.md +46 -0
  56. package/docs/groups.md +514 -0
  57. package/docs/groups_types.md +349 -0
  58. package/docs/health_issues.md +386 -0
  59. package/docs/heatmap_screenshots.md +72 -0
  60. package/docs/heatmaps.md +136 -0
  61. package/docs/hog_flows.md +1576 -0
  62. package/docs/hog_function_templates.md +101 -0
  63. package/docs/hog_functions.md +974 -0
  64. package/docs/ingestion_warnings_v2.md +40 -0
  65. package/docs/insight_variables.md +380 -0
  66. package/docs/insights.md +1722 -0
  67. package/docs/integrations.md +1954 -0
  68. package/docs/js-snippet.md +104 -0
  69. package/docs/live_debugger_breakpoints.md +264 -0
  70. package/docs/llm_analytics.md +3373 -0
  71. package/docs/llm_prompts.md +442 -0
  72. package/docs/llm_skills.md +952 -0
  73. package/docs/logs.md +2446 -0
  74. package/docs/managed_viewsets.md +140 -0
  75. package/docs/marketing_analytics.md +518 -0
  76. package/docs/max.md +772 -0
  77. package/docs/max_tools.md +70 -0
  78. package/docs/mcp_analytics.md +712 -0
  79. package/docs/mcp_server_installations.md +970 -0
  80. package/docs/mcp_servers.md +78 -0
  81. package/docs/mcp_tools.md +82 -0
  82. package/docs/messaging_templates.md +444 -0
  83. package/docs/metrics.md +462 -0
  84. package/docs/notebooks.md +838 -0
  85. package/docs/object_media_previews.md +228 -0
  86. package/docs/organizations.md +2958 -0
  87. package/docs/persons.md +1514 -0
  88. package/docs/platform_features.md +700 -0
  89. package/docs/plugin_configs.md +70 -0
  90. package/docs/product_enablement.md +39 -0
  91. package/docs/product_tours.md +357 -0
  92. package/docs/project_secret_api_keys.md +444 -0
  93. package/docs/property_access_controls.md +200 -0
  94. package/docs/property_definitions.md +244 -0
  95. package/docs/query.md +560 -0
  96. package/docs/quota_limits.md +40 -0
  97. package/docs/reminders.md +194 -0
  98. package/docs/replay.md +1020 -0
  99. package/docs/reverse_proxy.md +200 -0
  100. package/docs/sandbox-custom-images.md +209 -0
  101. package/docs/sandbox-environments.md +168 -0
  102. package/docs/saved.md +392 -0
  103. package/docs/saved_query_column_annotations.md +224 -0
  104. package/docs/scheduled_changes.md +200 -0
  105. package/docs/schema_property_groups.md +194 -0
  106. package/docs/sdk_health.md +40 -0
  107. package/docs/session_group_summaries.md +200 -0
  108. package/docs/session_recordings.md +260 -0
  109. package/docs/session_summaries.md +200 -0
  110. package/docs/sessions.md +132 -0
  111. package/docs/signals.md +1428 -0
  112. package/docs/single_session_summaries.md +72 -0
  113. package/docs/streamlit_apps.md +456 -0
  114. package/docs/subscriptions.md +634 -0
  115. package/docs/surveys.md +731 -0
  116. package/docs/taggers.md +446 -0
  117. package/docs/task-automations.md +200 -0
  118. package/docs/task-runs.md +654 -0
  119. package/docs/task_channels.md +136 -0
  120. package/docs/task_mentions.md +40 -0
  121. package/docs/tasks.md +776 -0
  122. package/docs/tracing.md +1186 -0
  123. package/docs/uploaded_media.md +44 -0
  124. package/docs/user_home_settings.md +72 -0
  125. package/docs/user_interview_topics.md +1288 -0
  126. package/docs/user_interviews.md +444 -0
  127. package/docs/users.md +1267 -0
  128. package/docs/vision.md +2022 -0
  129. package/docs/visual_review.md +816 -0
  130. package/docs/warehouse_column_annotations.md +224 -0
  131. package/docs/warehouse_column_statistics.md +80 -0
  132. package/docs/warehouse_dag.md +40 -0
  133. package/docs/warehouse_model_paths.md +70 -0
  134. package/docs/warehouse_saved_queries.md +1056 -0
  135. package/docs/warehouse_saved_query_folders.md +318 -0
  136. package/docs/warehouse_tables.md +584 -0
  137. package/docs/warehouse_view_link.md +456 -0
  138. package/docs/warehouse_view_links.md +456 -0
  139. package/docs/web_analytics.md +136 -0
  140. package/docs/web_analytics_achievements.md +200 -0
  141. package/docs/web_experiments.md +194 -0
  142. package/docs/web_vitals.md +74 -0
  143. package/docs/wizard.md +170 -0
  144. package/index.ts +22 -0
  145. package/metadata.ts +41419 -0
  146. package/openapi.json +297382 -0
  147. package/overlay.yaml +23 -0
  148. package/package.json +34 -0
  149. package/provenance.json +24 -0
  150. package/research.json +80 -0
  151. package/types/index.ts +17547 -0
package/docs/groups.md ADDED
@@ -0,0 +1,514 @@
1
+ # Groups
2
+
3
+ ## Operations
4
+
5
+ ### `posthog.environmentsGroupsList`
6
+
7
+ - **HTTP**: `GET /api/environments/{environment_id}/groups/`
8
+ - **What it does**: List all groups of a specific group type. You must pass ?group_type_index= in the URL.
9
+ To get a list of valid group types, call /api/:project_id/groups_types/.
10
+
11
+ Uses forward-only keyset pagination via the `cursor` parameter.
12
+ The `previous` field in the response envelope is always null.
13
+ - **OpenAPI operationId**: `environments_groups_list`
14
+ - **Path params**: None
15
+ - **Query params**: `cursor`, `group_key`, `group_type_index`, `search`
16
+ - **Response codes**: `200`
17
+ - **Transport options**: None
18
+ - **TypeScript**: [Client interface](../types.ts)
19
+
20
+ **Inputs**
21
+
22
+ - Client input type: `{ [key: string]: unknown }`
23
+ - Client transport options: None
24
+
25
+ **Outputs**
26
+
27
+ - Client return type: `({ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string })[]`
28
+ - OpenAPI response codes: `200`
29
+
30
+ ```ts
31
+ import posthog from "@utdk/posthog";
32
+
33
+ type EnvironmentsGroupsListInput = Parameters<typeof posthog.environmentsGroupsList> extends [infer T, ...unknown[]] ? T : undefined;
34
+ type EnvironmentsGroupsListOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsList>>;
35
+
36
+ const result: EnvironmentsGroupsListOutput = await posthog.environmentsGroupsList();
37
+
38
+ // Result shape (from schema): ({ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string })[]
39
+ ```
40
+
41
+ ### `posthog.environmentsGroupsCreate`
42
+
43
+ - **HTTP**: `POST /api/environments/{environment_id}/groups/`
44
+ - **OpenAPI operationId**: `environments_groups_create`
45
+ - **Path params**: None
46
+ - **Query params**: None
47
+ - **Response codes**: `201`
48
+ - **Transport options**: None
49
+ - **TypeScript**: [Client interface](../types.ts)
50
+
51
+ **Inputs**
52
+
53
+ - Client input type: `{ [key: string]: unknown }`
54
+ - Client transport options: None
55
+
56
+ **Outputs**
57
+
58
+ - Client return type: `{ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string }`
59
+ - OpenAPI response codes: `201`
60
+
61
+ ```ts
62
+ import posthog from "@utdk/posthog";
63
+
64
+ type EnvironmentsGroupsCreateInput = Parameters<typeof posthog.environmentsGroupsCreate> extends [infer T, ...unknown[]] ? T : undefined;
65
+ type EnvironmentsGroupsCreateOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsCreate>>;
66
+
67
+ const result: EnvironmentsGroupsCreateOutput = await posthog.environmentsGroupsCreate();
68
+
69
+ // Result shape (from schema): { group_type_index: number; group_key: string; group_properties?: unknown; created_at: string }
70
+ ```
71
+
72
+ ### `posthog.environmentsGroupsActivityRetrieve`
73
+
74
+ - **HTTP**: `GET /api/environments/{environment_id}/groups/activity/`
75
+ - **OpenAPI operationId**: `environments_groups_activity_retrieve`
76
+ - **Path params**: None
77
+ - **Query params**: `group_type_index`, `id`
78
+ - **Response codes**: `200`
79
+ - **Transport options**: None
80
+ - **TypeScript**: [Client interface](../types.ts)
81
+
82
+ **Inputs**
83
+
84
+ - Client input type: `{ [key: string]: unknown }`
85
+ - Client transport options: None
86
+
87
+ **Outputs**
88
+
89
+ - Client return type: `unknown`
90
+ - OpenAPI response codes: `200`
91
+
92
+ ```ts
93
+ import posthog from "@utdk/posthog";
94
+
95
+ type EnvironmentsGroupsActivityRetrieveInput = Parameters<typeof posthog.environmentsGroupsActivityRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
96
+ type EnvironmentsGroupsActivityRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsActivityRetrieve>>;
97
+
98
+ const result: EnvironmentsGroupsActivityRetrieveOutput = await posthog.environmentsGroupsActivityRetrieve();
99
+
100
+ // Result shape (from schema): unknown
101
+ ```
102
+
103
+ ### `posthog.environmentsGroupsDeletePropertyCreate`
104
+
105
+ - **HTTP**: `POST /api/environments/{environment_id}/groups/delete_property/`
106
+ - **OpenAPI operationId**: `environments_groups_delete_property_create`
107
+ - **Path params**: None
108
+ - **Query params**: `group_key`, `group_type_index`
109
+ - **Response codes**: `200`
110
+ - **Transport options**: None
111
+ - **TypeScript**: [Client interface](../types.ts)
112
+
113
+ **Inputs**
114
+
115
+ - Client input type: `{ [key: string]: unknown }`
116
+ - Client transport options: None
117
+
118
+ **Outputs**
119
+
120
+ - Client return type: `unknown`
121
+ - OpenAPI response codes: `200`
122
+
123
+ ```ts
124
+ import posthog from "@utdk/posthog";
125
+
126
+ type EnvironmentsGroupsDeletePropertyCreateInput = Parameters<typeof posthog.environmentsGroupsDeletePropertyCreate> extends [infer T, ...unknown[]] ? T : undefined;
127
+ type EnvironmentsGroupsDeletePropertyCreateOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsDeletePropertyCreate>>;
128
+
129
+ const result: EnvironmentsGroupsDeletePropertyCreateOutput = await posthog.environmentsGroupsDeletePropertyCreate();
130
+
131
+ // Result shape (from schema): unknown
132
+ ```
133
+
134
+ ### `posthog.environmentsGroupsFindRetrieve`
135
+
136
+ - **HTTP**: `GET /api/environments/{environment_id}/groups/find/`
137
+ - **OpenAPI operationId**: `environments_groups_find_retrieve`
138
+ - **Path params**: None
139
+ - **Query params**: `group_key`, `group_type_index`, `skip_create_notebook`
140
+ - **Response codes**: `200`
141
+ - **Transport options**: None
142
+ - **TypeScript**: [Client interface](../types.ts)
143
+
144
+ **Inputs**
145
+
146
+ - Client input type: `{ [key: string]: unknown }`
147
+ - Client transport options: None
148
+
149
+ **Outputs**
150
+
151
+ - Client return type: `unknown`
152
+ - OpenAPI response codes: `200`
153
+
154
+ ```ts
155
+ import posthog from "@utdk/posthog";
156
+
157
+ type EnvironmentsGroupsFindRetrieveInput = Parameters<typeof posthog.environmentsGroupsFindRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
158
+ type EnvironmentsGroupsFindRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsFindRetrieve>>;
159
+
160
+ const result: EnvironmentsGroupsFindRetrieveOutput = await posthog.environmentsGroupsFindRetrieve();
161
+
162
+ // Result shape (from schema): unknown
163
+ ```
164
+
165
+ ### `posthog.environmentsGroupsPropertyValuesRetrieve`
166
+
167
+ - **HTTP**: `GET /api/environments/{environment_id}/groups/property_values/`
168
+ - **OpenAPI operationId**: `environments_groups_property_values_retrieve`
169
+ - **Path params**: None
170
+ - **Query params**: None
171
+ - **Response codes**: `200`
172
+ - **Transport options**: None
173
+ - **TypeScript**: [Client interface](../types.ts)
174
+
175
+ **Inputs**
176
+
177
+ - Client input type: `{ [key: string]: unknown }`
178
+ - Client transport options: None
179
+
180
+ **Outputs**
181
+
182
+ - Client return type: `unknown`
183
+ - OpenAPI response codes: `200`
184
+
185
+ ```ts
186
+ import posthog from "@utdk/posthog";
187
+
188
+ type EnvironmentsGroupsPropertyValuesRetrieveInput = Parameters<typeof posthog.environmentsGroupsPropertyValuesRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
189
+ type EnvironmentsGroupsPropertyValuesRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsPropertyValuesRetrieve>>;
190
+
191
+ const result: EnvironmentsGroupsPropertyValuesRetrieveOutput = await posthog.environmentsGroupsPropertyValuesRetrieve();
192
+
193
+ // Result shape (from schema): unknown
194
+ ```
195
+
196
+ ### `posthog.environmentsGroupsRelatedRetrieve`
197
+
198
+ - **HTTP**: `GET /api/environments/{environment_id}/groups/related/`
199
+ - **OpenAPI operationId**: `environments_groups_related_retrieve`
200
+ - **Path params**: None
201
+ - **Query params**: `group_type_index`, `id`
202
+ - **Response codes**: `200`
203
+ - **Transport options**: None
204
+ - **TypeScript**: [Client interface](../types.ts)
205
+
206
+ **Inputs**
207
+
208
+ - Client input type: `{ [key: string]: unknown }`
209
+ - Client transport options: None
210
+
211
+ **Outputs**
212
+
213
+ - Client return type: `unknown`
214
+ - OpenAPI response codes: `200`
215
+
216
+ ```ts
217
+ import posthog from "@utdk/posthog";
218
+
219
+ type EnvironmentsGroupsRelatedRetrieveInput = Parameters<typeof posthog.environmentsGroupsRelatedRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
220
+ type EnvironmentsGroupsRelatedRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsRelatedRetrieve>>;
221
+
222
+ const result: EnvironmentsGroupsRelatedRetrieveOutput = await posthog.environmentsGroupsRelatedRetrieve();
223
+
224
+ // Result shape (from schema): unknown
225
+ ```
226
+
227
+ ### `posthog.environmentsGroupsUpdatePropertyCreate`
228
+
229
+ - **HTTP**: `POST /api/environments/{environment_id}/groups/update_property/`
230
+ - **OpenAPI operationId**: `environments_groups_update_property_create`
231
+ - **Path params**: None
232
+ - **Query params**: `group_key`, `group_type_index`
233
+ - **Response codes**: `200`
234
+ - **Transport options**: None
235
+ - **TypeScript**: [Client interface](../types.ts)
236
+
237
+ **Inputs**
238
+
239
+ - Client input type: `{ [key: string]: unknown }`
240
+ - Client transport options: None
241
+
242
+ **Outputs**
243
+
244
+ - Client return type: `unknown`
245
+ - OpenAPI response codes: `200`
246
+
247
+ ```ts
248
+ import posthog from "@utdk/posthog";
249
+
250
+ type EnvironmentsGroupsUpdatePropertyCreateInput = Parameters<typeof posthog.environmentsGroupsUpdatePropertyCreate> extends [infer T, ...unknown[]] ? T : undefined;
251
+ type EnvironmentsGroupsUpdatePropertyCreateOutput = Awaited<ReturnType<typeof posthog.environmentsGroupsUpdatePropertyCreate>>;
252
+
253
+ const result: EnvironmentsGroupsUpdatePropertyCreateOutput = await posthog.environmentsGroupsUpdatePropertyCreate();
254
+
255
+ // Result shape (from schema): unknown
256
+ ```
257
+
258
+ ### `posthog.groupsList`
259
+
260
+ - **HTTP**: `GET /api/projects/{project_id}/groups/`
261
+ - **What it does**: List all groups of a specific group type. You must pass ?group_type_index= in the URL.
262
+ To get a list of valid group types, call /api/:project_id/groups_types/.
263
+
264
+ Uses forward-only keyset pagination via the `cursor` parameter.
265
+ The `previous` field in the response envelope is always null.
266
+ - **OpenAPI operationId**: `groups_list`
267
+ - **Path params**: None
268
+ - **Query params**: `cursor`, `group_key`, `group_type_index`, `search`
269
+ - **Response codes**: `200`
270
+ - **Transport options**: None
271
+ - **TypeScript**: [Client interface](../types.ts)
272
+
273
+ **Inputs**
274
+
275
+ - Client input type: `{ [key: string]: unknown }`
276
+ - Client transport options: None
277
+
278
+ **Outputs**
279
+
280
+ - Client return type: `({ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string })[]`
281
+ - OpenAPI response codes: `200`
282
+
283
+ ```ts
284
+ import posthog from "@utdk/posthog";
285
+
286
+ type GroupsListInput = Parameters<typeof posthog.groupsList> extends [infer T, ...unknown[]] ? T : undefined;
287
+ type GroupsListOutput = Awaited<ReturnType<typeof posthog.groupsList>>;
288
+
289
+ const result: GroupsListOutput = await posthog.groupsList();
290
+
291
+ // Result shape (from schema): ({ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string })[]
292
+ ```
293
+
294
+ ### `posthog.groupsCreate`
295
+
296
+ - **HTTP**: `POST /api/projects/{project_id}/groups/`
297
+ - **OpenAPI operationId**: `groups_create`
298
+ - **Path params**: None
299
+ - **Query params**: None
300
+ - **Response codes**: `201`
301
+ - **Transport options**: None
302
+ - **TypeScript**: [Client interface](../types.ts)
303
+
304
+ **Inputs**
305
+
306
+ - Client input type: `{ [key: string]: unknown }`
307
+ - Client transport options: None
308
+
309
+ **Outputs**
310
+
311
+ - Client return type: `{ group_type_index: number; group_key: string; group_properties?: unknown; created_at: string }`
312
+ - OpenAPI response codes: `201`
313
+
314
+ ```ts
315
+ import posthog from "@utdk/posthog";
316
+
317
+ type GroupsCreateInput = Parameters<typeof posthog.groupsCreate> extends [infer T, ...unknown[]] ? T : undefined;
318
+ type GroupsCreateOutput = Awaited<ReturnType<typeof posthog.groupsCreate>>;
319
+
320
+ const result: GroupsCreateOutput = await posthog.groupsCreate();
321
+
322
+ // Result shape (from schema): { group_type_index: number; group_key: string; group_properties?: unknown; created_at: string }
323
+ ```
324
+
325
+ ### `posthog.groupsActivityRetrieve`
326
+
327
+ - **HTTP**: `GET /api/projects/{project_id}/groups/activity/`
328
+ - **OpenAPI operationId**: `groups_activity_retrieve`
329
+ - **Path params**: None
330
+ - **Query params**: `group_type_index`, `id`
331
+ - **Response codes**: `200`
332
+ - **Transport options**: None
333
+ - **TypeScript**: [Client interface](../types.ts)
334
+
335
+ **Inputs**
336
+
337
+ - Client input type: `{ [key: string]: unknown }`
338
+ - Client transport options: None
339
+
340
+ **Outputs**
341
+
342
+ - Client return type: `unknown`
343
+ - OpenAPI response codes: `200`
344
+
345
+ ```ts
346
+ import posthog from "@utdk/posthog";
347
+
348
+ type GroupsActivityRetrieveInput = Parameters<typeof posthog.groupsActivityRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
349
+ type GroupsActivityRetrieveOutput = Awaited<ReturnType<typeof posthog.groupsActivityRetrieve>>;
350
+
351
+ const result: GroupsActivityRetrieveOutput = await posthog.groupsActivityRetrieve();
352
+
353
+ // Result shape (from schema): unknown
354
+ ```
355
+
356
+ ### `posthog.groupsDeletePropertyCreate`
357
+
358
+ - **HTTP**: `POST /api/projects/{project_id}/groups/delete_property/`
359
+ - **OpenAPI operationId**: `groups_delete_property_create`
360
+ - **Path params**: None
361
+ - **Query params**: `group_key`, `group_type_index`
362
+ - **Response codes**: `200`
363
+ - **Transport options**: None
364
+ - **TypeScript**: [Client interface](../types.ts)
365
+
366
+ **Inputs**
367
+
368
+ - Client input type: `{ [key: string]: unknown }`
369
+ - Client transport options: None
370
+
371
+ **Outputs**
372
+
373
+ - Client return type: `unknown`
374
+ - OpenAPI response codes: `200`
375
+
376
+ ```ts
377
+ import posthog from "@utdk/posthog";
378
+
379
+ type GroupsDeletePropertyCreateInput = Parameters<typeof posthog.groupsDeletePropertyCreate> extends [infer T, ...unknown[]] ? T : undefined;
380
+ type GroupsDeletePropertyCreateOutput = Awaited<ReturnType<typeof posthog.groupsDeletePropertyCreate>>;
381
+
382
+ const result: GroupsDeletePropertyCreateOutput = await posthog.groupsDeletePropertyCreate();
383
+
384
+ // Result shape (from schema): unknown
385
+ ```
386
+
387
+ ### `posthog.groupsFindRetrieve`
388
+
389
+ - **HTTP**: `GET /api/projects/{project_id}/groups/find/`
390
+ - **OpenAPI operationId**: `groups_find_retrieve`
391
+ - **Path params**: None
392
+ - **Query params**: `group_key`, `group_type_index`, `skip_create_notebook`
393
+ - **Response codes**: `200`
394
+ - **Transport options**: None
395
+ - **TypeScript**: [Client interface](../types.ts)
396
+
397
+ **Inputs**
398
+
399
+ - Client input type: `{ [key: string]: unknown }`
400
+ - Client transport options: None
401
+
402
+ **Outputs**
403
+
404
+ - Client return type: `unknown`
405
+ - OpenAPI response codes: `200`
406
+
407
+ ```ts
408
+ import posthog from "@utdk/posthog";
409
+
410
+ type GroupsFindRetrieveInput = Parameters<typeof posthog.groupsFindRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
411
+ type GroupsFindRetrieveOutput = Awaited<ReturnType<typeof posthog.groupsFindRetrieve>>;
412
+
413
+ const result: GroupsFindRetrieveOutput = await posthog.groupsFindRetrieve();
414
+
415
+ // Result shape (from schema): unknown
416
+ ```
417
+
418
+ ### `posthog.groupsPropertyValuesRetrieve`
419
+
420
+ - **HTTP**: `GET /api/projects/{project_id}/groups/property_values/`
421
+ - **OpenAPI operationId**: `groups_property_values_retrieve`
422
+ - **Path params**: None
423
+ - **Query params**: None
424
+ - **Response codes**: `200`
425
+ - **Transport options**: None
426
+ - **TypeScript**: [Client interface](../types.ts)
427
+
428
+ **Inputs**
429
+
430
+ - Client input type: `{ [key: string]: unknown }`
431
+ - Client transport options: None
432
+
433
+ **Outputs**
434
+
435
+ - Client return type: `unknown`
436
+ - OpenAPI response codes: `200`
437
+
438
+ ```ts
439
+ import posthog from "@utdk/posthog";
440
+
441
+ type GroupsPropertyValuesRetrieveInput = Parameters<typeof posthog.groupsPropertyValuesRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
442
+ type GroupsPropertyValuesRetrieveOutput = Awaited<ReturnType<typeof posthog.groupsPropertyValuesRetrieve>>;
443
+
444
+ const result: GroupsPropertyValuesRetrieveOutput = await posthog.groupsPropertyValuesRetrieve();
445
+
446
+ // Result shape (from schema): unknown
447
+ ```
448
+
449
+ ### `posthog.groupsRelatedRetrieve`
450
+
451
+ - **HTTP**: `GET /api/projects/{project_id}/groups/related/`
452
+ - **OpenAPI operationId**: `groups_related_retrieve`
453
+ - **Path params**: None
454
+ - **Query params**: `group_type_index`, `id`
455
+ - **Response codes**: `200`
456
+ - **Transport options**: None
457
+ - **TypeScript**: [Client interface](../types.ts)
458
+
459
+ **Inputs**
460
+
461
+ - Client input type: `{ [key: string]: unknown }`
462
+ - Client transport options: None
463
+
464
+ **Outputs**
465
+
466
+ - Client return type: `unknown`
467
+ - OpenAPI response codes: `200`
468
+
469
+ ```ts
470
+ import posthog from "@utdk/posthog";
471
+
472
+ type GroupsRelatedRetrieveInput = Parameters<typeof posthog.groupsRelatedRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
473
+ type GroupsRelatedRetrieveOutput = Awaited<ReturnType<typeof posthog.groupsRelatedRetrieve>>;
474
+
475
+ const result: GroupsRelatedRetrieveOutput = await posthog.groupsRelatedRetrieve();
476
+
477
+ // Result shape (from schema): unknown
478
+ ```
479
+
480
+ ### `posthog.groupsUpdatePropertyCreate`
481
+
482
+ - **HTTP**: `POST /api/projects/{project_id}/groups/update_property/`
483
+ - **OpenAPI operationId**: `groups_update_property_create`
484
+ - **Path params**: None
485
+ - **Query params**: `group_key`, `group_type_index`
486
+ - **Response codes**: `200`
487
+ - **Transport options**: None
488
+ - **TypeScript**: [Client interface](../types.ts)
489
+
490
+ **Inputs**
491
+
492
+ - Client input type: `{ [key: string]: unknown }`
493
+ - Client transport options: None
494
+
495
+ **Outputs**
496
+
497
+ - Client return type: `unknown`
498
+ - OpenAPI response codes: `200`
499
+
500
+ ```ts
501
+ import posthog from "@utdk/posthog";
502
+
503
+ type GroupsUpdatePropertyCreateInput = Parameters<typeof posthog.groupsUpdatePropertyCreate> extends [infer T, ...unknown[]] ? T : undefined;
504
+ type GroupsUpdatePropertyCreateOutput = Awaited<ReturnType<typeof posthog.groupsUpdatePropertyCreate>>;
505
+
506
+ const result: GroupsUpdatePropertyCreateOutput = await posthog.groupsUpdatePropertyCreate();
507
+
508
+ // Result shape (from schema): unknown
509
+ ```
510
+
511
+
512
+ <!-- prompt-hash:
513
+ 8c3694991a4c289225f05a4e8f1e098cc74d085a088d7dffd82f00d93797b7f8
514
+ -->