@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
@@ -0,0 +1,1428 @@
1
+ # Signals
2
+
3
+ ## Operations
4
+
5
+ ### `posthog.signalsProcessingList`
6
+
7
+ - **HTTP**: `GET /api/projects/{project_id}/signals/processing/`
8
+ - **What it does**: Return current processing state including pause status.
9
+ - **OpenAPI operationId**: `signals_processing_list`
10
+ - **Path params**: None
11
+ - **Query params**: `limit`, `offset`
12
+ - **Response codes**: `200`
13
+ - **Transport options**: None
14
+ - **TypeScript**: [Client interface](../types.ts)
15
+
16
+ **Inputs**
17
+
18
+ - Client input type: `{ [key: string]: unknown }`
19
+ - Client transport options: None
20
+
21
+ **Outputs**
22
+
23
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ paused_until: string | null })[] }`
24
+ - OpenAPI response codes: `200`
25
+
26
+ ```ts
27
+ import posthog from "@utdk/posthog";
28
+
29
+ type SignalsProcessingListInput = Parameters<typeof posthog.signalsProcessingList> extends [infer T, ...unknown[]] ? T : undefined;
30
+ type SignalsProcessingListOutput = Awaited<ReturnType<typeof posthog.signalsProcessingList>>;
31
+
32
+ const result: SignalsProcessingListOutput = await posthog.signalsProcessingList();
33
+
34
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ paused_until: string | null })[] }
35
+ ```
36
+
37
+ ### `posthog.signalsProcessingPauseDestroy`
38
+
39
+ - **HTTP**: `DELETE /api/projects/{project_id}/signals/processing/pause/`
40
+ - **What it does**: View and control signal processing pipeline state for a team.
41
+ - **OpenAPI operationId**: `signals_processing_pause_destroy`
42
+ - **Path params**: None
43
+ - **Query params**: None
44
+ - **Response codes**: `200`
45
+ - **Transport options**: None
46
+ - **TypeScript**: [Client interface](../types.ts)
47
+
48
+ **Inputs**
49
+
50
+ - Client input type: `{ [key: string]: unknown }`
51
+ - Client transport options: None
52
+
53
+ **Outputs**
54
+
55
+ - Client return type: `{ status: string; paused_until: string }`
56
+ - OpenAPI response codes: `200`
57
+
58
+ ```ts
59
+ import posthog from "@utdk/posthog";
60
+
61
+ type SignalsProcessingPauseDestroyInput = Parameters<typeof posthog.signalsProcessingPauseDestroy> extends [infer T, ...unknown[]] ? T : undefined;
62
+ type SignalsProcessingPauseDestroyOutput = Awaited<ReturnType<typeof posthog.signalsProcessingPauseDestroy>>;
63
+
64
+ const result: SignalsProcessingPauseDestroyOutput = await posthog.signalsProcessingPauseDestroy();
65
+
66
+ // Result shape (from schema): { status: string; paused_until: string }
67
+ ```
68
+
69
+ ### `posthog.signalsProcessingPauseUpdate`
70
+
71
+ - **HTTP**: `PUT /api/projects/{project_id}/signals/processing/pause/`
72
+ - **What it does**: View and control signal processing pipeline state for a team.
73
+ - **OpenAPI operationId**: `signals_processing_pause_update`
74
+ - **Path params**: None
75
+ - **Query params**: None
76
+ - **Response codes**: `200`
77
+ - **Transport options**: None
78
+ - **TypeScript**: [Client interface](../types.ts)
79
+
80
+ **Inputs**
81
+
82
+ - Client input type: `{ [key: string]: unknown }`
83
+ - Client transport options: None
84
+
85
+ **Outputs**
86
+
87
+ - Client return type: `{ status: string; paused_until: string }`
88
+ - OpenAPI response codes: `200`
89
+
90
+ ```ts
91
+ import posthog from "@utdk/posthog";
92
+
93
+ type SignalsProcessingPauseUpdateInput = Parameters<typeof posthog.signalsProcessingPauseUpdate> extends [infer T, ...unknown[]] ? T : undefined;
94
+ type SignalsProcessingPauseUpdateOutput = Awaited<ReturnType<typeof posthog.signalsProcessingPauseUpdate>>;
95
+
96
+ const result: SignalsProcessingPauseUpdateOutput = await posthog.signalsProcessingPauseUpdate();
97
+
98
+ // Result shape (from schema): { status: string; paused_until: string }
99
+ ```
100
+
101
+ ### `posthog.signalsReportsList`
102
+
103
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/`
104
+ - **OpenAPI operationId**: `signals_reports_list`
105
+ - **Path params**: None
106
+ - **Query params**: `has_implementation_pr`, `limit`, `offset`, `ordering`, `priority`, `search`, `source_product`, `status`, `suggested_reviewers`, `task_id`
107
+ - **Response codes**: `200`
108
+ - **Transport options**: None
109
+ - **TypeScript**: [Client interface](../types.ts)
110
+
111
+ **Inputs**
112
+
113
+ - Client input type: `{ [key: string]: unknown }`
114
+ - Client transport options: None
115
+
116
+ **Outputs**
117
+
118
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "res...`
119
+ - OpenAPI response codes: `200`
120
+
121
+ ```ts
122
+ import posthog from "@utdk/posthog";
123
+
124
+ type SignalsReportsListInput = Parameters<typeof posthog.signalsReportsList> extends [infer T, ...unknown[]] ? T : undefined;
125
+ type SignalsReportsListOutput = Awaited<ReturnType<typeof posthog.signalsReportsList>>;
126
+
127
+ const result: SignalsReportsListOutput = await posthog.signalsReportsList();
128
+
129
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "res...
130
+ ```
131
+
132
+ ### `posthog.signalsReportsRetrieve`
133
+
134
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/{id}/`
135
+ - **OpenAPI operationId**: `signals_reports_retrieve`
136
+ - **Path params**: `id`
137
+ - **Query params**: None
138
+ - **Response codes**: `200`
139
+ - **Transport options**: None
140
+ - **TypeScript**: [Client interface](../types.ts)
141
+
142
+ **Inputs**
143
+
144
+ - Client input type: `{ [key: string]: unknown }`
145
+ - Client transport options: None
146
+
147
+ **Outputs**
148
+
149
+ - Client return type: `{ id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...`
150
+ - OpenAPI response codes: `200`
151
+
152
+ ```ts
153
+ import posthog from "@utdk/posthog";
154
+
155
+ type SignalsReportsRetrieveInput = Parameters<typeof posthog.signalsReportsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
156
+ type SignalsReportsRetrieveOutput = Awaited<ReturnType<typeof posthog.signalsReportsRetrieve>>;
157
+
158
+ const result: SignalsReportsRetrieveOutput = await posthog.signalsReportsRetrieve();
159
+
160
+ // Result shape (from schema): { id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...
161
+ ```
162
+
163
+ ### `posthog.signalsReportsPartialUpdate`
164
+
165
+ - **HTTP**: `PATCH /api/projects/{project_id}/signals/reports/{id}/`
166
+ - **What it does**: Edit a report's title or summary
167
+ - **OpenAPI operationId**: `signals_reports_partial_update`
168
+ - **Path params**: `id`
169
+ - **Query params**: None
170
+ - **Response codes**: `200`, `400`, `404`
171
+ - **Transport options**: None
172
+ - **TypeScript**: [Client interface](../types.ts)
173
+
174
+ **Inputs**
175
+
176
+ - Client input type: `{ [key: string]: unknown }`
177
+ - Client transport options: None
178
+
179
+ **Outputs**
180
+
181
+ - Client return type: `{ id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...`
182
+ - OpenAPI response codes: `200`, `400`, `404`
183
+
184
+ ```ts
185
+ import posthog from "@utdk/posthog";
186
+
187
+ type SignalsReportsPartialUpdateInput = Parameters<typeof posthog.signalsReportsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
188
+ type SignalsReportsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.signalsReportsPartialUpdate>>;
189
+
190
+ const result: SignalsReportsPartialUpdateOutput = await posthog.signalsReportsPartialUpdate();
191
+
192
+ // Result shape (from schema): { id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...
193
+ ```
194
+
195
+ ### `posthog.signalsReportsSignalsRetrieve`
196
+
197
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/{id}/signals/`
198
+ - **What it does**: List a report's signals
199
+ - **OpenAPI operationId**: `signals_reports_signals_retrieve`
200
+ - **Path params**: `id`
201
+ - **Query params**: None
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: `{ report: { id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: numbe...`
214
+ - OpenAPI response codes: `200`
215
+
216
+ ```ts
217
+ import posthog from "@utdk/posthog";
218
+
219
+ type SignalsReportsSignalsRetrieveInput = Parameters<typeof posthog.signalsReportsSignalsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
220
+ type SignalsReportsSignalsRetrieveOutput = Awaited<ReturnType<typeof posthog.signalsReportsSignalsRetrieve>>;
221
+
222
+ const result: SignalsReportsSignalsRetrieveOutput = await posthog.signalsReportsSignalsRetrieve();
223
+
224
+ // Result shape (from schema): { report: { id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: numbe...
225
+ ```
226
+
227
+ ### `posthog.signalsReportsStateCreate`
228
+
229
+ - **HTTP**: `POST /api/projects/{project_id}/signals/reports/{id}/state/`
230
+ - **What it does**: Transition a report to a new state. The model validates allowed transitions.
231
+
232
+ The request body is validated by SignalReportStateRequestSerializer — only the
233
+ fields it declares (state, dismissal_reason, dismissal_note, snooze_for) are read,
234
+ and only snooze_for is ever forwarded to transition_to. Any other key is ignored,
235
+ so internal transition_to kwargs (reset_weight, error, ...) can't be injected.
236
+
237
+ Body: {
238
+ "state": "suppressed" | "potential",
239
+ # Optional dismissal feedback (honored when state == "suppressed" or "potential"):
240
+ "dismissal_reason": "<canonical reason code, see SIGNAL_REPORT_DISMISSAL_REASON_CHOICES>",
241
+ "dismissal_note": "free-form text",
242
+ # Optional, only honored for state == "potential":
243
+ "snooze_for": <number of additional signals before re-promotion>,
244
+ }
245
+ - **OpenAPI operationId**: `signals_reports_state_create`
246
+ - **Path params**: `id`
247
+ - **Query params**: None
248
+ - **Response codes**: `200`
249
+ - **Transport options**: None
250
+ - **TypeScript**: [Client interface](../types.ts)
251
+
252
+ **Inputs**
253
+
254
+ - Client input type: `{ [key: string]: unknown }`
255
+ - Client transport options: None
256
+
257
+ **Outputs**
258
+
259
+ - Client return type: `{ id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...`
260
+ - OpenAPI response codes: `200`
261
+
262
+ ```ts
263
+ import posthog from "@utdk/posthog";
264
+
265
+ type SignalsReportsStateCreateInput = Parameters<typeof posthog.signalsReportsStateCreate> extends [infer T, ...unknown[]] ? T : undefined;
266
+ type SignalsReportsStateCreateOutput = Awaited<ReturnType<typeof posthog.signalsReportsStateCreate>>;
267
+
268
+ const result: SignalsReportsStateCreateOutput = await posthog.signalsReportsStateCreate();
269
+
270
+ // Result shape (from schema): { id: string; title: string | null; summary: string | null; status: "potential" | "candidate" | "in_progress" | "pending_input" | "ready" | "resolved" | "failed" | "deleted" | "suppressed"; total_weight: number; signal_...
271
+ ```
272
+
273
+ ### `posthog.signalsReportArtefactsList`
274
+
275
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/{report_id}/artefacts/`
276
+ - **What it does**: List a report's artefacts
277
+ - **OpenAPI operationId**: `signals_report_artefacts_list`
278
+ - **Path params**: `report_id`
279
+ - **Query params**: `limit`, `offset`
280
+ - **Response codes**: `200`
281
+ - **Transport options**: None
282
+ - **TypeScript**: [Client interface](../types.ts)
283
+
284
+ **Inputs**
285
+
286
+ - Client input type: `{ [key: string]: unknown }`
287
+ - Client transport options: None
288
+
289
+ **Outputs**
290
+
291
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; type: "video_segment" | "safety_judgment" | "actionability_judgment" | "priority_judgment" | "signal_finding" | "repo_selection" |...`
292
+ - OpenAPI response codes: `200`
293
+
294
+ ```ts
295
+ import posthog from "@utdk/posthog";
296
+
297
+ type SignalsReportArtefactsListInput = Parameters<typeof posthog.signalsReportArtefactsList> extends [infer T, ...unknown[]] ? T : undefined;
298
+ type SignalsReportArtefactsListOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsList>>;
299
+
300
+ const result: SignalsReportArtefactsListOutput = await posthog.signalsReportArtefactsList();
301
+
302
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; type: "video_segment" | "safety_judgment" | "actionability_judgment" | "priority_judgment" | "signal_finding" | "repo_selection" |...
303
+ ```
304
+
305
+ ### `posthog.signalsReportArtefactsCreate`
306
+
307
+ - **HTTP**: `POST /api/projects/{project_id}/signals/reports/{report_id}/artefacts/`
308
+ - **What it does**: Append an artefact to a report
309
+ - **OpenAPI operationId**: `signals_report_artefacts_create`
310
+ - **Path params**: `report_id`
311
+ - **Query params**: None
312
+ - **Response codes**: `201`, `400`, `404`
313
+ - **Transport options**: None
314
+ - **TypeScript**: [Client interface](../types.ts)
315
+
316
+ **Inputs**
317
+
318
+ - Client input type: `{ [key: string]: unknown }`
319
+ - Client transport options: None
320
+
321
+ **Outputs**
322
+
323
+ - Client return type: `{ id: string; report_id: string; type: string; content: unknown; created_at: string; updated_at: string | null; task_id: string | null }`
324
+ - OpenAPI response codes: `201`, `400`, `404`
325
+
326
+ ```ts
327
+ import posthog from "@utdk/posthog";
328
+
329
+ type SignalsReportArtefactsCreateInput = Parameters<typeof posthog.signalsReportArtefactsCreate> extends [infer T, ...unknown[]] ? T : undefined;
330
+ type SignalsReportArtefactsCreateOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsCreate>>;
331
+
332
+ const result: SignalsReportArtefactsCreateOutput = await posthog.signalsReportArtefactsCreate();
333
+
334
+ // Result shape (from schema): { id: string; report_id: string; type: string; content: unknown; created_at: string; updated_at: string | null; task_id: string | null }
335
+ ```
336
+
337
+ ### `posthog.signalsReportArtefactsDestroy`
338
+
339
+ - **HTTP**: `DELETE /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/`
340
+ - **What it does**: Delete an artefact
341
+ - **OpenAPI operationId**: `signals_report_artefacts_destroy`
342
+ - **Path params**: `id`, `report_id`
343
+ - **Query params**: None
344
+ - **Response codes**: `204`, `404`
345
+ - **Transport options**: None
346
+ - **TypeScript**: [Client interface](../types.ts)
347
+
348
+ **Inputs**
349
+
350
+ - Client input type: `{ [key: string]: unknown }`
351
+ - Client transport options: None
352
+
353
+ **Outputs**
354
+
355
+ - Client return type: `unknown`
356
+ - OpenAPI response codes: `204`, `404`
357
+
358
+ ```ts
359
+ import posthog from "@utdk/posthog";
360
+
361
+ type SignalsReportArtefactsDestroyInput = Parameters<typeof posthog.signalsReportArtefactsDestroy> extends [infer T, ...unknown[]] ? T : undefined;
362
+ type SignalsReportArtefactsDestroyOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsDestroy>>;
363
+
364
+ const result: SignalsReportArtefactsDestroyOutput = await posthog.signalsReportArtefactsDestroy();
365
+
366
+ // Result shape (from schema): unknown
367
+ ```
368
+
369
+ ### `posthog.signalsReportArtefactsRetrieve`
370
+
371
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/`
372
+ - **What it does**: Get a single artefact
373
+ - **OpenAPI operationId**: `signals_report_artefacts_retrieve`
374
+ - **Path params**: `id`, `report_id`
375
+ - **Query params**: None
376
+ - **Response codes**: `200`
377
+ - **Transport options**: None
378
+ - **TypeScript**: [Client interface](../types.ts)
379
+
380
+ **Inputs**
381
+
382
+ - Client input type: `{ [key: string]: unknown }`
383
+ - Client transport options: None
384
+
385
+ **Outputs**
386
+
387
+ - Client return type: `{ id: string; type: "video_segment" | "safety_judgment" | "actionability_judgment" | "priority_judgment" | "signal_finding" | "repo_selection" | "suggested_reviewers" | "dismissal" | "code_reference" | "commit" | "task_...`
388
+ - OpenAPI response codes: `200`
389
+
390
+ ```ts
391
+ import posthog from "@utdk/posthog";
392
+
393
+ type SignalsReportArtefactsRetrieveInput = Parameters<typeof posthog.signalsReportArtefactsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
394
+ type SignalsReportArtefactsRetrieveOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsRetrieve>>;
395
+
396
+ const result: SignalsReportArtefactsRetrieveOutput = await posthog.signalsReportArtefactsRetrieve();
397
+
398
+ // Result shape (from schema): { id: string; type: "video_segment" | "safety_judgment" | "actionability_judgment" | "priority_judgment" | "signal_finding" | "repo_selection" | "suggested_reviewers" | "dismissal" | "code_reference" | "commit" | "task_...
399
+ ```
400
+
401
+ ### `posthog.signalsReportArtefactsPartialUpdate`
402
+
403
+ - **HTTP**: `PATCH /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/`
404
+ - **What it does**: Replace an artefact's content
405
+ - **OpenAPI operationId**: `signals_report_artefacts_partial_update`
406
+ - **Path params**: `id`, `report_id`
407
+ - **Query params**: None
408
+ - **Response codes**: `200`, `400`, `404`
409
+ - **Transport options**: None
410
+ - **TypeScript**: [Client interface](../types.ts)
411
+
412
+ **Inputs**
413
+
414
+ - Client input type: `{ [key: string]: unknown }`
415
+ - Client transport options: None
416
+
417
+ **Outputs**
418
+
419
+ - Client return type: `{ id: string; report_id: string; type: string; content: unknown; created_at: string; updated_at: string | null; task_id: string | null }`
420
+ - OpenAPI response codes: `200`, `400`, `404`
421
+
422
+ ```ts
423
+ import posthog from "@utdk/posthog";
424
+
425
+ type SignalsReportArtefactsPartialUpdateInput = Parameters<typeof posthog.signalsReportArtefactsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
426
+ type SignalsReportArtefactsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsPartialUpdate>>;
427
+
428
+ const result: SignalsReportArtefactsPartialUpdateOutput = await posthog.signalsReportArtefactsPartialUpdate();
429
+
430
+ // Result shape (from schema): { id: string; report_id: string; type: string; content: unknown; created_at: string; updated_at: string | null; task_id: string | null }
431
+ ```
432
+
433
+ ### `posthog.signalsReportArtefactsDiff`
434
+
435
+ - **HTTP**: `GET /api/projects/{project_id}/signals/reports/{report_id}/artefacts/{id}/diff/`
436
+ - **What it does**: Fetch the diff for a commit artefact
437
+ - **OpenAPI operationId**: `signals_report_artefacts_diff`
438
+ - **Path params**: `id`, `report_id`
439
+ - **Query params**: None
440
+ - **Response codes**: `200`, `400`, `404`, `502`
441
+ - **Transport options**: None
442
+ - **TypeScript**: [Client interface](../types.ts)
443
+
444
+ **Inputs**
445
+
446
+ - Client input type: `{ [key: string]: unknown }`
447
+ - Client transport options: None
448
+
449
+ **Outputs**
450
+
451
+ - Client return type: `{ diff: string; truncated: boolean }`
452
+ - OpenAPI response codes: `200`, `400`, `404`, `502`
453
+
454
+ ```ts
455
+ import posthog from "@utdk/posthog";
456
+
457
+ type SignalsReportArtefactsDiffInput = Parameters<typeof posthog.signalsReportArtefactsDiff> extends [infer T, ...unknown[]] ? T : undefined;
458
+ type SignalsReportArtefactsDiffOutput = Awaited<ReturnType<typeof posthog.signalsReportArtefactsDiff>>;
459
+
460
+ const result: SignalsReportArtefactsDiffOutput = await posthog.signalsReportArtefactsDiff();
461
+
462
+ // Result shape (from schema): { diff: string; truncated: boolean }
463
+ ```
464
+
465
+ ### `posthog.signalsReportsBulkStateCreate`
466
+
467
+ - **HTTP**: `POST /api/projects/{project_id}/signals/reports/bulk-state/`
468
+ - **What it does**: Transition many reports to a new state in one call.
469
+
470
+ Each id is processed independently: a report whose transition isn't allowed from its
471
+ current status is reported as `skipped` (a 409 on the single-report endpoint) and the
472
+ rest still go through. Returns one result per requested id (in request order, after
473
+ de-duplication) plus per-outcome counts. The whole call is 200 even on partial failure —
474
+ inspect `results` / the counts to see what happened.
475
+ - **OpenAPI operationId**: `signals_reports_bulk_state_create`
476
+ - **Path params**: None
477
+ - **Query params**: None
478
+ - **Response codes**: `200`
479
+ - **Transport options**: None
480
+ - **TypeScript**: [Client interface](../types.ts)
481
+
482
+ **Inputs**
483
+
484
+ - Client input type: `{ [key: string]: unknown }`
485
+ - Client transport options: None
486
+
487
+ **Outputs**
488
+
489
+ - Client return type: `{ results: ({ id: string; outcome: string; status?: string | null; detail?: string | null })[]; transitioned_count: number; skipped_count: number; failed_count: number; not_found_count: number }`
490
+ - OpenAPI response codes: `200`
491
+
492
+ ```ts
493
+ import posthog from "@utdk/posthog";
494
+
495
+ type SignalsReportsBulkStateCreateInput = Parameters<typeof posthog.signalsReportsBulkStateCreate> extends [infer T, ...unknown[]] ? T : undefined;
496
+ type SignalsReportsBulkStateCreateOutput = Awaited<ReturnType<typeof posthog.signalsReportsBulkStateCreate>>;
497
+
498
+ const result: SignalsReportsBulkStateCreateOutput = await posthog.signalsReportsBulkStateCreate();
499
+
500
+ // Result shape (from schema): { results: ({ id: string; outcome: string; status?: string | null; detail?: string | null })[]; transitioned_count: number; skipped_count: number; failed_count: number; not_found_count: number }
501
+ ```
502
+
503
+ ### `posthog.signalsScoutConfigList`
504
+
505
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/configs/`
506
+ - **What it does**: List scout configs
507
+ - **OpenAPI operationId**: `signals_scout_config_list`
508
+ - **Path params**: None
509
+ - **Query params**: None
510
+ - **Response codes**: `200`
511
+ - **Transport options**: None
512
+ - **TypeScript**: [Client interface](../types.ts)
513
+
514
+ **Inputs**
515
+
516
+ - Client input type: `{ [key: string]: unknown }`
517
+ - Client transport options: None
518
+
519
+ **Outputs**
520
+
521
+ - Client return type: `({ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string })[]`
522
+ - OpenAPI response codes: `200`
523
+
524
+ ```ts
525
+ import posthog from "@utdk/posthog";
526
+
527
+ type SignalsScoutConfigListInput = Parameters<typeof posthog.signalsScoutConfigList> extends [infer T, ...unknown[]] ? T : undefined;
528
+ type SignalsScoutConfigListOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigList>>;
529
+
530
+ const result: SignalsScoutConfigListOutput = await posthog.signalsScoutConfigList();
531
+
532
+ // Result shape (from schema): ({ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string })[]
533
+ ```
534
+
535
+ ### `posthog.signalsScoutConfigCreate`
536
+
537
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/configs/`
538
+ - **What it does**: Create a scout config
539
+ - **OpenAPI operationId**: `signals_scout_config_create`
540
+ - **Path params**: None
541
+ - **Query params**: None
542
+ - **Response codes**: `200`, `201`, `400`
543
+ - **Transport options**: None
544
+ - **TypeScript**: [Client interface](../types.ts)
545
+
546
+ **Inputs**
547
+
548
+ - Client input type: `{ [key: string]: unknown }`
549
+ - Client transport options: None
550
+
551
+ **Outputs**
552
+
553
+ - Client return type: `{ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string }`
554
+ - OpenAPI response codes: `200`, `201`, `400`
555
+
556
+ ```ts
557
+ import posthog from "@utdk/posthog";
558
+
559
+ type SignalsScoutConfigCreateInput = Parameters<typeof posthog.signalsScoutConfigCreate> extends [infer T, ...unknown[]] ? T : undefined;
560
+ type SignalsScoutConfigCreateOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigCreate>>;
561
+
562
+ const result: SignalsScoutConfigCreateOutput = await posthog.signalsScoutConfigCreate();
563
+
564
+ // Result shape (from schema): { id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string }
565
+ ```
566
+
567
+ ### `posthog.signalsScoutConfigDestroy`
568
+
569
+ - **HTTP**: `DELETE /api/projects/{project_id}/signals/scout/configs/{id}/`
570
+ - **What it does**: Delete a scout config
571
+ - **OpenAPI operationId**: `signals_scout_config_destroy`
572
+ - **Path params**: `id`
573
+ - **Query params**: None
574
+ - **Response codes**: `204`, `404`
575
+ - **Transport options**: None
576
+ - **TypeScript**: [Client interface](../types.ts)
577
+
578
+ **Inputs**
579
+
580
+ - Client input type: `{ [key: string]: unknown }`
581
+ - Client transport options: None
582
+
583
+ **Outputs**
584
+
585
+ - Client return type: `unknown`
586
+ - OpenAPI response codes: `204`, `404`
587
+
588
+ ```ts
589
+ import posthog from "@utdk/posthog";
590
+
591
+ type SignalsScoutConfigDestroyInput = Parameters<typeof posthog.signalsScoutConfigDestroy> extends [infer T, ...unknown[]] ? T : undefined;
592
+ type SignalsScoutConfigDestroyOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigDestroy>>;
593
+
594
+ const result: SignalsScoutConfigDestroyOutput = await posthog.signalsScoutConfigDestroy();
595
+
596
+ // Result shape (from schema): unknown
597
+ ```
598
+
599
+ ### `posthog.signalsScoutConfigUpdate`
600
+
601
+ - **HTTP**: `PATCH /api/projects/{project_id}/signals/scout/configs/{id}/`
602
+ - **What it does**: Update a scout config
603
+ - **OpenAPI operationId**: `signals_scout_config_update`
604
+ - **Path params**: `id`
605
+ - **Query params**: None
606
+ - **Response codes**: `200`, `400`, `404`
607
+ - **Transport options**: None
608
+ - **TypeScript**: [Client interface](../types.ts)
609
+
610
+ **Inputs**
611
+
612
+ - Client input type: `{ [key: string]: unknown }`
613
+ - Client transport options: None
614
+
615
+ **Outputs**
616
+
617
+ - Client return type: `{ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string }`
618
+ - OpenAPI response codes: `200`, `400`, `404`
619
+
620
+ ```ts
621
+ import posthog from "@utdk/posthog";
622
+
623
+ type SignalsScoutConfigUpdateInput = Parameters<typeof posthog.signalsScoutConfigUpdate> extends [infer T, ...unknown[]] ? T : undefined;
624
+ type SignalsScoutConfigUpdateOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigUpdate>>;
625
+
626
+ const result: SignalsScoutConfigUpdateOutput = await posthog.signalsScoutConfigUpdate();
627
+
628
+ // Result shape (from schema): { id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string }
629
+ ```
630
+
631
+ ### `posthog.signalsScoutConfigRun`
632
+
633
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/configs/{id}/run/`
634
+ - **What it does**: Run a scout now
635
+ - **OpenAPI operationId**: `signals_scout_config_run`
636
+ - **Path params**: `id`
637
+ - **Query params**: None
638
+ - **Response codes**: `202`, `403`, `404`, `409`, `429`
639
+ - **Transport options**: None
640
+ - **TypeScript**: [Client interface](../types.ts)
641
+
642
+ **Inputs**
643
+
644
+ - Client input type: `{ [key: string]: unknown }`
645
+ - Client transport options: None
646
+
647
+ **Outputs**
648
+
649
+ - Client return type: `unknown`
650
+ - OpenAPI response codes: `202`, `403`, `404`, `409`, `429`
651
+
652
+ ```ts
653
+ import posthog from "@utdk/posthog";
654
+
655
+ type SignalsScoutConfigRunInput = Parameters<typeof posthog.signalsScoutConfigRun> extends [infer T, ...unknown[]] ? T : undefined;
656
+ type SignalsScoutConfigRunOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigRun>>;
657
+
658
+ const result: SignalsScoutConfigRunOutput = await posthog.signalsScoutConfigRun();
659
+
660
+ // Result shape (from schema): unknown
661
+ ```
662
+
663
+ ### `posthog.signalsScoutConfigSync`
664
+
665
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/configs/sync/`
666
+ - **What it does**: Sync scout configs
667
+ - **OpenAPI operationId**: `signals_scout_config_sync`
668
+ - **Path params**: None
669
+ - **Query params**: None
670
+ - **Response codes**: `200`
671
+ - **Transport options**: None
672
+ - **TypeScript**: [Client interface](../types.ts)
673
+
674
+ **Inputs**
675
+
676
+ - Client input type: `{ [key: string]: unknown }`
677
+ - Client transport options: None
678
+
679
+ **Outputs**
680
+
681
+ - Client return type: `({ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string })[]`
682
+ - OpenAPI response codes: `200`
683
+
684
+ ```ts
685
+ import posthog from "@utdk/posthog";
686
+
687
+ type SignalsScoutConfigSyncInput = Parameters<typeof posthog.signalsScoutConfigSync> extends [infer T, ...unknown[]] ? T : undefined;
688
+ type SignalsScoutConfigSyncOutput = Awaited<ReturnType<typeof posthog.signalsScoutConfigSync>>;
689
+
690
+ const result: SignalsScoutConfigSyncOutput = await posthog.signalsScoutConfigSync();
691
+
692
+ // Result shape (from schema): ({ id: string; skill_name: string; description: string; scout_origin: "canonical" | "custom"; enabled?: boolean; emit?: boolean; run_interval_minutes?: number; last_run_at: string | null; created_at: string })[]
693
+ ```
694
+
695
+ ### `posthog.signalsScoutMembersList`
696
+
697
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/members/`
698
+ - **What it does**: List project members for reviewer routing
699
+ - **OpenAPI operationId**: `signals_scout_members_list`
700
+ - **Path params**: None
701
+ - **Query params**: `search`
702
+ - **Response codes**: `200`
703
+ - **Transport options**: None
704
+ - **TypeScript**: [Client interface](../types.ts)
705
+
706
+ **Inputs**
707
+
708
+ - Client input type: `{ [key: string]: unknown }`
709
+ - Client transport options: None
710
+
711
+ **Outputs**
712
+
713
+ - Client return type: `({ user_uuid: string; email: string; first_name: string; last_name: string; github_login: string | null })[]`
714
+ - OpenAPI response codes: `200`
715
+
716
+ ```ts
717
+ import posthog from "@utdk/posthog";
718
+
719
+ type SignalsScoutMembersListInput = Parameters<typeof posthog.signalsScoutMembersList> extends [infer T, ...unknown[]] ? T : undefined;
720
+ type SignalsScoutMembersListOutput = Awaited<ReturnType<typeof posthog.signalsScoutMembersList>>;
721
+
722
+ const result: SignalsScoutMembersListOutput = await posthog.signalsScoutMembersList();
723
+
724
+ // Result shape (from schema): ({ user_uuid: string; email: string; first_name: string; last_name: string; github_login: string | null })[]
725
+ ```
726
+
727
+ ### `posthog.signalsScoutMetadataGet`
728
+
729
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/metadata/current/`
730
+ - **What it does**: Get scout metadata
731
+ - **OpenAPI operationId**: `signals_scout_metadata_get`
732
+ - **Path params**: None
733
+ - **Query params**: None
734
+ - **Response codes**: `200`
735
+ - **Transport options**: None
736
+ - **TypeScript**: [Client interface](../types.ts)
737
+
738
+ **Inputs**
739
+
740
+ - Client input type: `{ [key: string]: unknown }`
741
+ - Client transport options: None
742
+
743
+ **Outputs**
744
+
745
+ - Client return type: `{ enrolled: boolean; banner_message: string | null; limits: { max_runs_per_tick: number; max_runs_per_day: number | null; runs_today: number; runs_remaining_today: number | null } }`
746
+ - OpenAPI response codes: `200`
747
+
748
+ ```ts
749
+ import posthog from "@utdk/posthog";
750
+
751
+ type SignalsScoutMetadataGetInput = Parameters<typeof posthog.signalsScoutMetadataGet> extends [infer T, ...unknown[]] ? T : undefined;
752
+ type SignalsScoutMetadataGetOutput = Awaited<ReturnType<typeof posthog.signalsScoutMetadataGet>>;
753
+
754
+ const result: SignalsScoutMetadataGetOutput = await posthog.signalsScoutMetadataGet();
755
+
756
+ // Result shape (from schema): { enrolled: boolean; banner_message: string | null; limits: { max_runs_per_tick: number; max_runs_per_day: number | null; runs_today: number; runs_remaining_today: number | null } }
757
+ ```
758
+
759
+ ### `posthog.signalsScoutProjectProfileGet`
760
+
761
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/project_profile/current/`
762
+ - **What it does**: Get the current project profile
763
+ - **OpenAPI operationId**: `signals_scout_project_profile_get`
764
+ - **Path params**: None
765
+ - **Query params**: `force_refresh`
766
+ - **Response codes**: `200`, `404`
767
+ - **Transport options**: None
768
+ - **TypeScript**: [Client interface](../types.ts)
769
+
770
+ **Inputs**
771
+
772
+ - Client input type: `{ [key: string]: unknown }`
773
+ - Client transport options: None
774
+
775
+ **Outputs**
776
+
777
+ - Client return type: `{ profile_id: string; computed_at: string; expires_at: string; source_version: string; payload: { inventory: { project_context: { product_description: string | null; app_urls: (string)[] }; products_in_use: (string)[]; ...`
778
+ - OpenAPI response codes: `200`, `404`
779
+
780
+ ```ts
781
+ import posthog from "@utdk/posthog";
782
+
783
+ type SignalsScoutProjectProfileGetInput = Parameters<typeof posthog.signalsScoutProjectProfileGet> extends [infer T, ...unknown[]] ? T : undefined;
784
+ type SignalsScoutProjectProfileGetOutput = Awaited<ReturnType<typeof posthog.signalsScoutProjectProfileGet>>;
785
+
786
+ const result: SignalsScoutProjectProfileGetOutput = await posthog.signalsScoutProjectProfileGet();
787
+
788
+ // Result shape (from schema): { profile_id: string; computed_at: string; expires_at: string; source_version: string; payload: { inventory: { project_context: { product_description: string | null; app_urls: (string)[] }; products_in_use: (string)[]; ...
789
+ ```
790
+
791
+ ### `posthog.signalsScoutRunsList`
792
+
793
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/`
794
+ - **What it does**: Search recent agent runs
795
+ - **OpenAPI operationId**: `signals_scout_runs_list`
796
+ - **Path params**: None
797
+ - **Query params**: `date_from`, `date_to`, `emitted`, `limit`, `skill_name`, `skill_version`, `text`
798
+ - **Response codes**: `200`
799
+ - **Transport options**: None
800
+ - **TypeScript**: [Client interface](../types.ts)
801
+
802
+ **Inputs**
803
+
804
+ - Client input type: `{ [key: string]: unknown }`
805
+ - Client transport options: None
806
+
807
+ **Outputs**
808
+
809
+ - Client return type: `({ run_id: string; skill_name: string; skill_version: number; status: string; created_at: string; started_at: string; completed_at: string | null; task_id?: string | null; task_run_id?: string | null; task_url?: string ...`
810
+ - OpenAPI response codes: `200`
811
+
812
+ ```ts
813
+ import posthog from "@utdk/posthog";
814
+
815
+ type SignalsScoutRunsListInput = Parameters<typeof posthog.signalsScoutRunsList> extends [infer T, ...unknown[]] ? T : undefined;
816
+ type SignalsScoutRunsListOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsList>>;
817
+
818
+ const result: SignalsScoutRunsListOutput = await posthog.signalsScoutRunsList();
819
+
820
+ // Result shape (from schema): ({ run_id: string; skill_name: string; skill_version: number; status: string; created_at: string; started_at: string; completed_at: string | null; task_id?: string | null; task_run_id?: string | null; task_url?: string ...
821
+ ```
822
+
823
+ ### `posthog.signalsScoutRunsRetrieve`
824
+
825
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/{run_id}/`
826
+ - **What it does**: Get a run by ID
827
+ - **OpenAPI operationId**: `signals_scout_runs_retrieve`
828
+ - **Path params**: `run_id`
829
+ - **Query params**: None
830
+ - **Response codes**: `200`, `404`
831
+ - **Transport options**: None
832
+ - **TypeScript**: [Client interface](../types.ts)
833
+
834
+ **Inputs**
835
+
836
+ - Client input type: `{ [key: string]: unknown }`
837
+ - Client transport options: None
838
+
839
+ **Outputs**
840
+
841
+ - Client return type: `{ run_id: string; skill_name: string; skill_version: number; status: string; created_at: string; started_at: string; completed_at: string | null; task_id?: string | null; task_run_id?: string | null; task_url?: string |...`
842
+ - OpenAPI response codes: `200`, `404`
843
+
844
+ ```ts
845
+ import posthog from "@utdk/posthog";
846
+
847
+ type SignalsScoutRunsRetrieveInput = Parameters<typeof posthog.signalsScoutRunsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
848
+ type SignalsScoutRunsRetrieveOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsRetrieve>>;
849
+
850
+ const result: SignalsScoutRunsRetrieveOutput = await posthog.signalsScoutRunsRetrieve();
851
+
852
+ // Result shape (from schema): { run_id: string; skill_name: string; skill_version: number; status: string; created_at: string; started_at: string; completed_at: string | null; task_id?: string | null; task_run_id?: string | null; task_url?: string |...
853
+ ```
854
+
855
+ ### `posthog.signalsScoutEditReport`
856
+
857
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/runs/{run_id}/edit-report/`
858
+ - **What it does**: Edit an existing report for a run
859
+ - **OpenAPI operationId**: `signals_scout_edit_report`
860
+ - **Path params**: `run_id`
861
+ - **Query params**: None
862
+ - **Response codes**: `200`, `400`, `404`
863
+ - **Transport options**: None
864
+ - **TypeScript**: [Client interface](../types.ts)
865
+
866
+ **Inputs**
867
+
868
+ - Client input type: `{ [key: string]: unknown }`
869
+ - Client transport options: None
870
+
871
+ **Outputs**
872
+
873
+ - Client return type: `{ report_id: string; updated_fields: (string)[]; note_appended: boolean; reviewers_set: boolean }`
874
+ - OpenAPI response codes: `200`, `400`, `404`
875
+
876
+ ```ts
877
+ import posthog from "@utdk/posthog";
878
+
879
+ type SignalsScoutEditReportInput = Parameters<typeof posthog.signalsScoutEditReport> extends [infer T, ...unknown[]] ? T : undefined;
880
+ type SignalsScoutEditReportOutput = Awaited<ReturnType<typeof posthog.signalsScoutEditReport>>;
881
+
882
+ const result: SignalsScoutEditReportOutput = await posthog.signalsScoutEditReport();
883
+
884
+ // Result shape (from schema): { report_id: string; updated_fields: (string)[]; note_appended: boolean; reviewers_set: boolean }
885
+ ```
886
+
887
+ ### `posthog.signalsScoutRunsEmissions`
888
+
889
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/{run_id}/emissions/`
890
+ - **What it does**: List a run's emitted findings
891
+ - **OpenAPI operationId**: `signals_scout_runs_emissions`
892
+ - **Path params**: `run_id`
893
+ - **Query params**: None
894
+ - **Response codes**: `200`, `404`
895
+ - **Transport options**: None
896
+ - **TypeScript**: [Client interface](../types.ts)
897
+
898
+ **Inputs**
899
+
900
+ - Client input type: `{ [key: string]: unknown }`
901
+ - Client transport options: None
902
+
903
+ **Outputs**
904
+
905
+ - Client return type: `({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]`
906
+ - OpenAPI response codes: `200`, `404`
907
+
908
+ ```ts
909
+ import posthog from "@utdk/posthog";
910
+
911
+ type SignalsScoutRunsEmissionsInput = Parameters<typeof posthog.signalsScoutRunsEmissions> extends [infer T, ...unknown[]] ? T : undefined;
912
+ type SignalsScoutRunsEmissionsOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsEmissions>>;
913
+
914
+ const result: SignalsScoutRunsEmissionsOutput = await posthog.signalsScoutRunsEmissions();
915
+
916
+ // Result shape (from schema): ({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]
917
+ ```
918
+
919
+ ### `posthog.signalsScoutRunsEmissionReports`
920
+
921
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/{run_id}/emissions/reports/`
922
+ - **What it does**: List the inbox reports a run's findings linked to
923
+ - **OpenAPI operationId**: `signals_scout_runs_emission_reports`
924
+ - **Path params**: `run_id`
925
+ - **Query params**: None
926
+ - **Response codes**: `200`, `404`
927
+ - **Transport options**: None
928
+ - **TypeScript**: [Client interface](../types.ts)
929
+
930
+ **Inputs**
931
+
932
+ - Client input type: `{ [key: string]: unknown }`
933
+ - Client transport options: None
934
+
935
+ **Outputs**
936
+
937
+ - Client return type: `({ finding_id: string; source_id: string; report: { id: string; title: string | null; status: string } | null })[]`
938
+ - OpenAPI response codes: `200`, `404`
939
+
940
+ ```ts
941
+ import posthog from "@utdk/posthog";
942
+
943
+ type SignalsScoutRunsEmissionReportsInput = Parameters<typeof posthog.signalsScoutRunsEmissionReports> extends [infer T, ...unknown[]] ? T : undefined;
944
+ type SignalsScoutRunsEmissionReportsOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsEmissionReports>>;
945
+
946
+ const result: SignalsScoutRunsEmissionReportsOutput = await posthog.signalsScoutRunsEmissionReports();
947
+
948
+ // Result shape (from schema): ({ finding_id: string; source_id: string; report: { id: string; title: string | null; status: string } | null })[]
949
+ ```
950
+
951
+ ### `posthog.signalsScoutEmitReport`
952
+
953
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/runs/{run_id}/emit-report/`
954
+ - **What it does**: Author a full report for a run
955
+ - **OpenAPI operationId**: `signals_scout_emit_report`
956
+ - **Path params**: `run_id`
957
+ - **Query params**: None
958
+ - **Response codes**: `200`, `400`, `404`
959
+ - **Transport options**: None
960
+ - **TypeScript**: [Client interface](../types.ts)
961
+
962
+ **Inputs**
963
+
964
+ - Client input type: `{ [key: string]: unknown }`
965
+ - Client transport options: None
966
+
967
+ **Outputs**
968
+
969
+ - Client return type: `{ report_id: string | null; report_status: string | null; emitted: boolean; skipped_reason: string | null; safety_explanation: string | null; remediation: string | null }`
970
+ - OpenAPI response codes: `200`, `400`, `404`
971
+
972
+ ```ts
973
+ import posthog from "@utdk/posthog";
974
+
975
+ type SignalsScoutEmitReportInput = Parameters<typeof posthog.signalsScoutEmitReport> extends [infer T, ...unknown[]] ? T : undefined;
976
+ type SignalsScoutEmitReportOutput = Awaited<ReturnType<typeof posthog.signalsScoutEmitReport>>;
977
+
978
+ const result: SignalsScoutEmitReportOutput = await posthog.signalsScoutEmitReport();
979
+
980
+ // Result shape (from schema): { report_id: string | null; report_status: string | null; emitted: boolean; skipped_reason: string | null; safety_explanation: string | null; remediation: string | null }
981
+ ```
982
+
983
+ ### `posthog.signalsScoutEmitSignal`
984
+
985
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/runs/{run_id}/emit-signal/`
986
+ - **What it does**: Emit a finding for a run
987
+ - **OpenAPI operationId**: `signals_scout_emit_signal`
988
+ - **Path params**: `run_id`
989
+ - **Query params**: None
990
+ - **Response codes**: `200`, `400`, `404`
991
+ - **Transport options**: None
992
+ - **TypeScript**: [Client interface](../types.ts)
993
+
994
+ **Inputs**
995
+
996
+ - Client input type: `{ [key: string]: unknown }`
997
+ - Client transport options: None
998
+
999
+ **Outputs**
1000
+
1001
+ - Client return type: `{ finding_id: string; emitted: boolean; skipped_reason: string | null; remediation: string | null }`
1002
+ - OpenAPI response codes: `200`, `400`, `404`
1003
+
1004
+ ```ts
1005
+ import posthog from "@utdk/posthog";
1006
+
1007
+ type SignalsScoutEmitSignalInput = Parameters<typeof posthog.signalsScoutEmitSignal> extends [infer T, ...unknown[]] ? T : undefined;
1008
+ type SignalsScoutEmitSignalOutput = Awaited<ReturnType<typeof posthog.signalsScoutEmitSignal>>;
1009
+
1010
+ const result: SignalsScoutEmitSignalOutput = await posthog.signalsScoutEmitSignal();
1011
+
1012
+ // Result shape (from schema): { finding_id: string; emitted: boolean; skipped_reason: string | null; remediation: string | null }
1013
+ ```
1014
+
1015
+ ### `posthog.signalsScoutRunsEmissionsBatch`
1016
+
1017
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/runs/emissions/batch/`
1018
+ - **What it does**: List emitted findings for many runs at once
1019
+ - **OpenAPI operationId**: `signals_scout_runs_emissions_batch`
1020
+ - **Path params**: None
1021
+ - **Query params**: None
1022
+ - **Response codes**: `200`
1023
+ - **Transport options**: None
1024
+ - **TypeScript**: [Client interface](../types.ts)
1025
+
1026
+ **Inputs**
1027
+
1028
+ - Client input type: `{ [key: string]: unknown }`
1029
+ - Client transport options: None
1030
+
1031
+ **Outputs**
1032
+
1033
+ - Client return type: `({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]`
1034
+ - OpenAPI response codes: `200`
1035
+
1036
+ ```ts
1037
+ import posthog from "@utdk/posthog";
1038
+
1039
+ type SignalsScoutRunsEmissionsBatchInput = Parameters<typeof posthog.signalsScoutRunsEmissionsBatch> extends [infer T, ...unknown[]] ? T : undefined;
1040
+ type SignalsScoutRunsEmissionsBatchOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsEmissionsBatch>>;
1041
+
1042
+ const result: SignalsScoutRunsEmissionsBatchOutput = await posthog.signalsScoutRunsEmissionsBatch();
1043
+
1044
+ // Result shape (from schema): ({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]
1045
+ ```
1046
+
1047
+ ### `posthog.signalsScoutRunsRecentEmissions`
1048
+
1049
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/emissions/recent/`
1050
+ - **What it does**: List recent emitted findings across all runs
1051
+ - **OpenAPI operationId**: `signals_scout_runs_recent_emissions`
1052
+ - **Path params**: None
1053
+ - **Query params**: `date_from`, `date_to`, `limit`, `skill_name`
1054
+ - **Response codes**: `200`
1055
+ - **Transport options**: None
1056
+ - **TypeScript**: [Client interface](../types.ts)
1057
+
1058
+ **Inputs**
1059
+
1060
+ - Client input type: `{ [key: string]: unknown }`
1061
+ - Client transport options: None
1062
+
1063
+ **Outputs**
1064
+
1065
+ - Client return type: `({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]`
1066
+ - OpenAPI response codes: `200`
1067
+
1068
+ ```ts
1069
+ import posthog from "@utdk/posthog";
1070
+
1071
+ type SignalsScoutRunsRecentEmissionsInput = Parameters<typeof posthog.signalsScoutRunsRecentEmissions> extends [infer T, ...unknown[]] ? T : undefined;
1072
+ type SignalsScoutRunsRecentEmissionsOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsRecentEmissions>>;
1073
+
1074
+ const result: SignalsScoutRunsRecentEmissionsOutput = await posthog.signalsScoutRunsRecentEmissions();
1075
+
1076
+ // Result shape (from schema): ({ id: string; run_id: string; finding_id: string; description: string; weight: number; confidence: number; severity: "P0" | "P1" | "P2" | "P3" | "P4" | null; tags: (string)[]; source_id: string; emitted_at: string })[]
1077
+ ```
1078
+
1079
+ ### `posthog.signalsScoutRunsEmissionReportsBatch`
1080
+
1081
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/runs/emissions/reports/batch/`
1082
+ - **What it does**: List the inbox reports many runs' findings linked to
1083
+ - **OpenAPI operationId**: `signals_scout_runs_emission_reports_batch`
1084
+ - **Path params**: None
1085
+ - **Query params**: None
1086
+ - **Response codes**: `200`
1087
+ - **Transport options**: None
1088
+ - **TypeScript**: [Client interface](../types.ts)
1089
+
1090
+ **Inputs**
1091
+
1092
+ - Client input type: `{ [key: string]: unknown }`
1093
+ - Client transport options: None
1094
+
1095
+ **Outputs**
1096
+
1097
+ - Client return type: `({ finding_id: string; source_id: string; report: { id: string; title: string | null; status: string } | null })[]`
1098
+ - OpenAPI response codes: `200`
1099
+
1100
+ ```ts
1101
+ import posthog from "@utdk/posthog";
1102
+
1103
+ type SignalsScoutRunsEmissionReportsBatchInput = Parameters<typeof posthog.signalsScoutRunsEmissionReportsBatch> extends [infer T, ...unknown[]] ? T : undefined;
1104
+ type SignalsScoutRunsEmissionReportsBatchOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsEmissionReportsBatch>>;
1105
+
1106
+ const result: SignalsScoutRunsEmissionReportsBatchOutput = await posthog.signalsScoutRunsEmissionReportsBatch();
1107
+
1108
+ // Result shape (from schema): ({ finding_id: string; source_id: string; report: { id: string; title: string | null; status: string } | null })[]
1109
+ ```
1110
+
1111
+ ### `posthog.signalsScoutRunsFindingsSummary`
1112
+
1113
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/runs/findings/summary/`
1114
+ - **What it does**: Summarise recently emitted findings across the fleet
1115
+ - **OpenAPI operationId**: `signals_scout_runs_findings_summary`
1116
+ - **Path params**: None
1117
+ - **Query params**: `window_hours`
1118
+ - **Response codes**: `200`
1119
+ - **Transport options**: None
1120
+ - **TypeScript**: [Client interface](../types.ts)
1121
+
1122
+ **Inputs**
1123
+
1124
+ - Client input type: `{ [key: string]: unknown }`
1125
+ - Client transport options: None
1126
+
1127
+ **Outputs**
1128
+
1129
+ - Client return type: `{ count: number; scout_count: number; latest_at: string | null }`
1130
+ - OpenAPI response codes: `200`
1131
+
1132
+ ```ts
1133
+ import posthog from "@utdk/posthog";
1134
+
1135
+ type SignalsScoutRunsFindingsSummaryInput = Parameters<typeof posthog.signalsScoutRunsFindingsSummary> extends [infer T, ...unknown[]] ? T : undefined;
1136
+ type SignalsScoutRunsFindingsSummaryOutput = Awaited<ReturnType<typeof posthog.signalsScoutRunsFindingsSummary>>;
1137
+
1138
+ const result: SignalsScoutRunsFindingsSummaryOutput = await posthog.signalsScoutRunsFindingsSummary();
1139
+
1140
+ // Result shape (from schema): { count: number; scout_count: number; latest_at: string | null }
1141
+ ```
1142
+
1143
+ ### `posthog.signalsScoutScratchpadSearch`
1144
+
1145
+ - **HTTP**: `GET /api/projects/{project_id}/signals/scout/scratchpad/`
1146
+ - **What it does**: Search the scout scratchpad
1147
+ - **OpenAPI operationId**: `signals_scout_scratchpad_search`
1148
+ - **Path params**: None
1149
+ - **Query params**: `content_max_chars`, `date_from`, `date_to`, `keys_only`, `limit`, `text`
1150
+ - **Response codes**: `200`
1151
+ - **Transport options**: None
1152
+ - **TypeScript**: [Client interface](../types.ts)
1153
+
1154
+ **Inputs**
1155
+
1156
+ - Client input type: `{ [key: string]: unknown }`
1157
+ - Client transport options: None
1158
+
1159
+ **Outputs**
1160
+
1161
+ - Client return type: `({ key: string; content: string; created_at: string | null; updated_at: string | null; created_by_run_id: string | null; created_by_skill?: string | null; created_by_run_url?: string | null })[]`
1162
+ - OpenAPI response codes: `200`
1163
+
1164
+ ```ts
1165
+ import posthog from "@utdk/posthog";
1166
+
1167
+ type SignalsScoutScratchpadSearchInput = Parameters<typeof posthog.signalsScoutScratchpadSearch> extends [infer T, ...unknown[]] ? T : undefined;
1168
+ type SignalsScoutScratchpadSearchOutput = Awaited<ReturnType<typeof posthog.signalsScoutScratchpadSearch>>;
1169
+
1170
+ const result: SignalsScoutScratchpadSearchOutput = await posthog.signalsScoutScratchpadSearch();
1171
+
1172
+ // Result shape (from schema): ({ key: string; content: string; created_at: string | null; updated_at: string | null; created_by_run_id: string | null; created_by_skill?: string | null; created_by_run_url?: string | null })[]
1173
+ ```
1174
+
1175
+ ### `posthog.signalsScoutScratchpadRemember`
1176
+
1177
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/scratchpad/`
1178
+ - **What it does**: Remember a scratchpad entry
1179
+ - **OpenAPI operationId**: `signals_scout_scratchpad_remember`
1180
+ - **Path params**: None
1181
+ - **Query params**: None
1182
+ - **Response codes**: `200`, `400`
1183
+ - **Transport options**: None
1184
+ - **TypeScript**: [Client interface](../types.ts)
1185
+
1186
+ **Inputs**
1187
+
1188
+ - Client input type: `{ [key: string]: unknown }`
1189
+ - Client transport options: None
1190
+
1191
+ **Outputs**
1192
+
1193
+ - Client return type: `{ key: string; content: string; created_at: string | null; updated_at: string | null; created_by_run_id: string | null; created_by_skill?: string | null; created_by_run_url?: string | null }`
1194
+ - OpenAPI response codes: `200`, `400`
1195
+
1196
+ ```ts
1197
+ import posthog from "@utdk/posthog";
1198
+
1199
+ type SignalsScoutScratchpadRememberInput = Parameters<typeof posthog.signalsScoutScratchpadRemember> extends [infer T, ...unknown[]] ? T : undefined;
1200
+ type SignalsScoutScratchpadRememberOutput = Awaited<ReturnType<typeof posthog.signalsScoutScratchpadRemember>>;
1201
+
1202
+ const result: SignalsScoutScratchpadRememberOutput = await posthog.signalsScoutScratchpadRemember();
1203
+
1204
+ // Result shape (from schema): { key: string; content: string; created_at: string | null; updated_at: string | null; created_by_run_id: string | null; created_by_skill?: string | null; created_by_run_url?: string | null }
1205
+ ```
1206
+
1207
+ ### `posthog.signalsScoutScratchpadForget`
1208
+
1209
+ - **HTTP**: `POST /api/projects/{project_id}/signals/scout/scratchpad/forget/`
1210
+ - **What it does**: Forget a scratchpad entry by key
1211
+ - **OpenAPI operationId**: `signals_scout_scratchpad_forget`
1212
+ - **Path params**: None
1213
+ - **Query params**: None
1214
+ - **Response codes**: `200`
1215
+ - **Transport options**: None
1216
+ - **TypeScript**: [Client interface](../types.ts)
1217
+
1218
+ **Inputs**
1219
+
1220
+ - Client input type: `{ [key: string]: unknown }`
1221
+ - Client transport options: None
1222
+
1223
+ **Outputs**
1224
+
1225
+ - Client return type: `{ deleted: boolean }`
1226
+ - OpenAPI response codes: `200`
1227
+
1228
+ ```ts
1229
+ import posthog from "@utdk/posthog";
1230
+
1231
+ type SignalsScoutScratchpadForgetInput = Parameters<typeof posthog.signalsScoutScratchpadForget> extends [infer T, ...unknown[]] ? T : undefined;
1232
+ type SignalsScoutScratchpadForgetOutput = Awaited<ReturnType<typeof posthog.signalsScoutScratchpadForget>>;
1233
+
1234
+ const result: SignalsScoutScratchpadForgetOutput = await posthog.signalsScoutScratchpadForget();
1235
+
1236
+ // Result shape (from schema): { deleted: boolean }
1237
+ ```
1238
+
1239
+ ### `posthog.signalsSourceConfigsList`
1240
+
1241
+ - **HTTP**: `GET /api/projects/{project_id}/signals/source_configs/`
1242
+ - **OpenAPI operationId**: `signals_source_configs_list`
1243
+ - **Path params**: None
1244
+ - **Query params**: `limit`, `offset`
1245
+ - **Response codes**: `200`
1246
+ - **Transport options**: None
1247
+ - **TypeScript**: [Client interface](../types.ts)
1248
+
1249
+ **Inputs**
1250
+
1251
+ - Client input type: `{ [key: string]: unknown }`
1252
+ - Client transport options: None
1253
+
1254
+ **Outputs**
1255
+
1256
+ - Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pgana...`
1257
+ - OpenAPI response codes: `200`
1258
+
1259
+ ```ts
1260
+ import posthog from "@utdk/posthog";
1261
+
1262
+ type SignalsSourceConfigsListInput = Parameters<typeof posthog.signalsSourceConfigsList> extends [infer T, ...unknown[]] ? T : undefined;
1263
+ type SignalsSourceConfigsListOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsList>>;
1264
+
1265
+ const result: SignalsSourceConfigsListOutput = await posthog.signalsSourceConfigsList();
1266
+
1267
+ // Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pgana...
1268
+ ```
1269
+
1270
+ ### `posthog.signalsSourceConfigsCreate`
1271
+
1272
+ - **HTTP**: `POST /api/projects/{project_id}/signals/source_configs/`
1273
+ - **OpenAPI operationId**: `signals_source_configs_create`
1274
+ - **Path params**: None
1275
+ - **Query params**: None
1276
+ - **Response codes**: `201`
1277
+ - **Transport options**: None
1278
+ - **TypeScript**: [Client interface](../types.ts)
1279
+
1280
+ **Inputs**
1281
+
1282
+ - Client input type: `{ [key: string]: unknown }`
1283
+ - Client transport options: None
1284
+
1285
+ **Outputs**
1286
+
1287
+ - Client return type: `{ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...`
1288
+ - OpenAPI response codes: `201`
1289
+
1290
+ ```ts
1291
+ import posthog from "@utdk/posthog";
1292
+
1293
+ type SignalsSourceConfigsCreateInput = Parameters<typeof posthog.signalsSourceConfigsCreate> extends [infer T, ...unknown[]] ? T : undefined;
1294
+ type SignalsSourceConfigsCreateOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsCreate>>;
1295
+
1296
+ const result: SignalsSourceConfigsCreateOutput = await posthog.signalsSourceConfigsCreate();
1297
+
1298
+ // Result shape (from schema): { id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...
1299
+ ```
1300
+
1301
+ ### `posthog.signalsSourceConfigsDestroy`
1302
+
1303
+ - **HTTP**: `DELETE /api/projects/{project_id}/signals/source_configs/{id}/`
1304
+ - **OpenAPI operationId**: `signals_source_configs_destroy`
1305
+ - **Path params**: `id`
1306
+ - **Query params**: None
1307
+ - **Response codes**: `204`
1308
+ - **Transport options**: None
1309
+ - **TypeScript**: [Client interface](../types.ts)
1310
+
1311
+ **Inputs**
1312
+
1313
+ - Client input type: `{ [key: string]: unknown }`
1314
+ - Client transport options: None
1315
+
1316
+ **Outputs**
1317
+
1318
+ - Client return type: `unknown`
1319
+ - OpenAPI response codes: `204`
1320
+
1321
+ ```ts
1322
+ import posthog from "@utdk/posthog";
1323
+
1324
+ type SignalsSourceConfigsDestroyInput = Parameters<typeof posthog.signalsSourceConfigsDestroy> extends [infer T, ...unknown[]] ? T : undefined;
1325
+ type SignalsSourceConfigsDestroyOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsDestroy>>;
1326
+
1327
+ const result: SignalsSourceConfigsDestroyOutput = await posthog.signalsSourceConfigsDestroy();
1328
+
1329
+ // Result shape (from schema): unknown
1330
+ ```
1331
+
1332
+ ### `posthog.signalsSourceConfigsRetrieve`
1333
+
1334
+ - **HTTP**: `GET /api/projects/{project_id}/signals/source_configs/{id}/`
1335
+ - **OpenAPI operationId**: `signals_source_configs_retrieve`
1336
+ - **Path params**: `id`
1337
+ - **Query params**: None
1338
+ - **Response codes**: `200`
1339
+ - **Transport options**: None
1340
+ - **TypeScript**: [Client interface](../types.ts)
1341
+
1342
+ **Inputs**
1343
+
1344
+ - Client input type: `{ [key: string]: unknown }`
1345
+ - Client transport options: None
1346
+
1347
+ **Outputs**
1348
+
1349
+ - Client return type: `{ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...`
1350
+ - OpenAPI response codes: `200`
1351
+
1352
+ ```ts
1353
+ import posthog from "@utdk/posthog";
1354
+
1355
+ type SignalsSourceConfigsRetrieveInput = Parameters<typeof posthog.signalsSourceConfigsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
1356
+ type SignalsSourceConfigsRetrieveOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsRetrieve>>;
1357
+
1358
+ const result: SignalsSourceConfigsRetrieveOutput = await posthog.signalsSourceConfigsRetrieve();
1359
+
1360
+ // Result shape (from schema): { id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...
1361
+ ```
1362
+
1363
+ ### `posthog.signalsSourceConfigsPartialUpdate`
1364
+
1365
+ - **HTTP**: `PATCH /api/projects/{project_id}/signals/source_configs/{id}/`
1366
+ - **OpenAPI operationId**: `signals_source_configs_partial_update`
1367
+ - **Path params**: `id`
1368
+ - **Query params**: None
1369
+ - **Response codes**: `200`
1370
+ - **Transport options**: None
1371
+ - **TypeScript**: [Client interface](../types.ts)
1372
+
1373
+ **Inputs**
1374
+
1375
+ - Client input type: `{ [key: string]: unknown }`
1376
+ - Client transport options: None
1377
+
1378
+ **Outputs**
1379
+
1380
+ - Client return type: `{ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...`
1381
+ - OpenAPI response codes: `200`
1382
+
1383
+ ```ts
1384
+ import posthog from "@utdk/posthog";
1385
+
1386
+ type SignalsSourceConfigsPartialUpdateInput = Parameters<typeof posthog.signalsSourceConfigsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
1387
+ type SignalsSourceConfigsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsPartialUpdate>>;
1388
+
1389
+ const result: SignalsSourceConfigsPartialUpdateOutput = await posthog.signalsSourceConfigsPartialUpdate();
1390
+
1391
+ // Result shape (from schema): { id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...
1392
+ ```
1393
+
1394
+ ### `posthog.signalsSourceConfigsUpdate`
1395
+
1396
+ - **HTTP**: `PUT /api/projects/{project_id}/signals/source_configs/{id}/`
1397
+ - **OpenAPI operationId**: `signals_source_configs_update`
1398
+ - **Path params**: `id`
1399
+ - **Query params**: None
1400
+ - **Response codes**: `200`
1401
+ - **Transport options**: None
1402
+ - **TypeScript**: [Client interface](../types.ts)
1403
+
1404
+ **Inputs**
1405
+
1406
+ - Client input type: `{ [key: string]: unknown }`
1407
+ - Client transport options: None
1408
+
1409
+ **Outputs**
1410
+
1411
+ - Client return type: `{ id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...`
1412
+ - OpenAPI response codes: `200`
1413
+
1414
+ ```ts
1415
+ import posthog from "@utdk/posthog";
1416
+
1417
+ type SignalsSourceConfigsUpdateInput = Parameters<typeof posthog.signalsSourceConfigsUpdate> extends [infer T, ...unknown[]] ? T : undefined;
1418
+ type SignalsSourceConfigsUpdateOutput = Awaited<ReturnType<typeof posthog.signalsSourceConfigsUpdate>>;
1419
+
1420
+ const result: SignalsSourceConfigsUpdateOutput = await posthog.signalsSourceConfigsUpdate();
1421
+
1422
+ // Result shape (from schema): { id: string; source_product: "session_replay" | "llm_analytics" | "github" | "linear" | "zendesk" | "conversations" | "error_tracking" | "pganalyze" | "signals_scout" | "logs" | "health_checks" | "endpoints" | "replay_...
1423
+ ```
1424
+
1425
+
1426
+ <!-- prompt-hash:
1427
+ 8c3694991a4c289225f05a4e8f1e098cc74d085a088d7dffd82f00d93797b7f8
1428
+ -->