@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.
- package/LICENSE +373 -0
- package/README.md +172 -0
- package/docs/account_relationship_definitions.md +194 -0
- package/docs/accounts.md +380 -0
- package/docs/actions.md +274 -0
- package/docs/activity_logs.md +144 -0
- package/docs/advanced_activity_logs.md +101 -0
- package/docs/agent_platform.md +2525 -0
- package/docs/ai-observability.md +514 -0
- package/docs/alerts.md +444 -0
- package/docs/annotations.md +200 -0
- package/docs/batch_exports.md +2118 -0
- package/docs/business_knowledge.md +468 -0
- package/docs/code-invites.md +72 -0
- package/docs/cohorts.md +412 -0
- package/docs/comments.md +321 -0
- package/docs/conversations.md +695 -0
- package/docs/custom_property_definitions.md +442 -0
- package/docs/custom_property_sources.md +194 -0
- package/docs/customer_analytics.md +442 -0
- package/docs/customer_journeys.md +380 -0
- package/docs/customer_profile_configs.md +380 -0
- package/docs/dashboard_templates.md +258 -0
- package/docs/dashboards.md +1896 -0
- package/docs/data_color_themes.md +380 -0
- package/docs/data_modeling_jobs.md +264 -0
- package/docs/data_warehouse.md +928 -0
- package/docs/dataset_items.md +382 -0
- package/docs/datasets.md +382 -0
- package/docs/desktop_file_system.md +753 -0
- package/docs/desktop_file_system_shortcut.md +244 -0
- package/docs/docs.md +72 -0
- package/docs/early_access_feature.md +194 -0
- package/docs/elements.md +510 -0
- package/docs/endpoints.md +1030 -0
- package/docs/engineering_analytics.md +712 -0
- package/docs/environments.md +881 -0
- package/docs/error_tracking.md +5108 -0
- package/docs/evaluation_runs.md +78 -0
- package/docs/evaluations.md +446 -0
- package/docs/event_definitions.md +425 -0
- package/docs/event_filter.md +280 -0
- package/docs/event_schemas.md +163 -0
- package/docs/events.md +208 -0
- package/docs/experiment_holdouts.md +194 -0
- package/docs/experiment_saved_metrics.md +194 -0
- package/docs/experiments.md +1088 -0
- package/docs/exports.md +256 -0
- package/docs/external_data_schemas.md +752 -0
- package/docs/external_data_sources.md +2296 -0
- package/docs/feature_flags.md +808 -0
- package/docs/field_notes.md +206 -0
- package/docs/file_system.md +880 -0
- package/docs/file_system_shortcut.md +444 -0
- package/docs/flag_value.md +46 -0
- package/docs/groups.md +514 -0
- package/docs/groups_types.md +349 -0
- package/docs/health_issues.md +386 -0
- package/docs/heatmap_screenshots.md +72 -0
- package/docs/heatmaps.md +136 -0
- package/docs/hog_flows.md +1576 -0
- package/docs/hog_function_templates.md +101 -0
- package/docs/hog_functions.md +974 -0
- package/docs/ingestion_warnings_v2.md +40 -0
- package/docs/insight_variables.md +380 -0
- package/docs/insights.md +1722 -0
- package/docs/integrations.md +1954 -0
- package/docs/js-snippet.md +104 -0
- package/docs/live_debugger_breakpoints.md +264 -0
- package/docs/llm_analytics.md +3373 -0
- package/docs/llm_prompts.md +442 -0
- package/docs/llm_skills.md +952 -0
- package/docs/logs.md +2446 -0
- package/docs/managed_viewsets.md +140 -0
- package/docs/marketing_analytics.md +518 -0
- package/docs/max.md +772 -0
- package/docs/max_tools.md +70 -0
- package/docs/mcp_analytics.md +712 -0
- package/docs/mcp_server_installations.md +970 -0
- package/docs/mcp_servers.md +78 -0
- package/docs/mcp_tools.md +82 -0
- package/docs/messaging_templates.md +444 -0
- package/docs/metrics.md +462 -0
- package/docs/notebooks.md +838 -0
- package/docs/object_media_previews.md +228 -0
- package/docs/organizations.md +2958 -0
- package/docs/persons.md +1514 -0
- package/docs/platform_features.md +700 -0
- package/docs/plugin_configs.md +70 -0
- package/docs/product_enablement.md +39 -0
- package/docs/product_tours.md +357 -0
- package/docs/project_secret_api_keys.md +444 -0
- package/docs/property_access_controls.md +200 -0
- package/docs/property_definitions.md +244 -0
- package/docs/query.md +560 -0
- package/docs/quota_limits.md +40 -0
- package/docs/reminders.md +194 -0
- package/docs/replay.md +1020 -0
- package/docs/reverse_proxy.md +200 -0
- package/docs/sandbox-custom-images.md +209 -0
- package/docs/sandbox-environments.md +168 -0
- package/docs/saved.md +392 -0
- package/docs/saved_query_column_annotations.md +224 -0
- package/docs/scheduled_changes.md +200 -0
- package/docs/schema_property_groups.md +194 -0
- package/docs/sdk_health.md +40 -0
- package/docs/session_group_summaries.md +200 -0
- package/docs/session_recordings.md +260 -0
- package/docs/session_summaries.md +200 -0
- package/docs/sessions.md +132 -0
- package/docs/signals.md +1428 -0
- package/docs/single_session_summaries.md +72 -0
- package/docs/streamlit_apps.md +456 -0
- package/docs/subscriptions.md +634 -0
- package/docs/surveys.md +731 -0
- package/docs/taggers.md +446 -0
- package/docs/task-automations.md +200 -0
- package/docs/task-runs.md +654 -0
- package/docs/task_channels.md +136 -0
- package/docs/task_mentions.md +40 -0
- package/docs/tasks.md +776 -0
- package/docs/tracing.md +1186 -0
- package/docs/uploaded_media.md +44 -0
- package/docs/user_home_settings.md +72 -0
- package/docs/user_interview_topics.md +1288 -0
- package/docs/user_interviews.md +444 -0
- package/docs/users.md +1267 -0
- package/docs/vision.md +2022 -0
- package/docs/visual_review.md +816 -0
- package/docs/warehouse_column_annotations.md +224 -0
- package/docs/warehouse_column_statistics.md +80 -0
- package/docs/warehouse_dag.md +40 -0
- package/docs/warehouse_model_paths.md +70 -0
- package/docs/warehouse_saved_queries.md +1056 -0
- package/docs/warehouse_saved_query_folders.md +318 -0
- package/docs/warehouse_tables.md +584 -0
- package/docs/warehouse_view_link.md +456 -0
- package/docs/warehouse_view_links.md +456 -0
- package/docs/web_analytics.md +136 -0
- package/docs/web_analytics_achievements.md +200 -0
- package/docs/web_experiments.md +194 -0
- package/docs/web_vitals.md +74 -0
- package/docs/wizard.md +170 -0
- package/index.ts +22 -0
- package/metadata.ts +41419 -0
- package/openapi.json +297382 -0
- package/overlay.yaml +23 -0
- package/package.json +34 -0
- package/provenance.json +24 -0
- package/research.json +80 -0
- package/types/index.ts +17547 -0
|
@@ -0,0 +1,970 @@
|
|
|
1
|
+
# Mcp Server Installations
|
|
2
|
+
|
|
3
|
+
## Operations
|
|
4
|
+
|
|
5
|
+
### `posthog.environmentsMcpServerInstallationsList`
|
|
6
|
+
|
|
7
|
+
- **HTTP**: `GET /api/environments/{environment_id}/mcp_server_installations/`
|
|
8
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_list`
|
|
9
|
+
- **Path params**: None
|
|
10
|
+
- **Query params**: `limit`, `offset`
|
|
11
|
+
- **Response codes**: `200`
|
|
12
|
+
- **Transport options**: None
|
|
13
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
14
|
+
|
|
15
|
+
**Inputs**
|
|
16
|
+
|
|
17
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
18
|
+
- Client transport options: None
|
|
19
|
+
|
|
20
|
+
**Outputs**
|
|
21
|
+
|
|
22
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?:...`
|
|
23
|
+
- OpenAPI response codes: `200`
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import posthog from "@utdk/posthog";
|
|
27
|
+
|
|
28
|
+
type EnvironmentsMcpServerInstallationsListInput = Parameters<typeof posthog.environmentsMcpServerInstallationsList> extends [infer T, ...unknown[]] ? T : undefined;
|
|
29
|
+
type EnvironmentsMcpServerInstallationsListOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsList>>;
|
|
30
|
+
|
|
31
|
+
const result: EnvironmentsMcpServerInstallationsListOutput = await posthog.environmentsMcpServerInstallationsList();
|
|
32
|
+
|
|
33
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?:...
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `posthog.environmentsMcpServerInstallationsCreate`
|
|
37
|
+
|
|
38
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/`
|
|
39
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_create`
|
|
40
|
+
- **Path params**: None
|
|
41
|
+
- **Query params**: None
|
|
42
|
+
- **Response codes**: `201`
|
|
43
|
+
- **Transport options**: None
|
|
44
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
45
|
+
|
|
46
|
+
**Inputs**
|
|
47
|
+
|
|
48
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
49
|
+
- Client transport options: None
|
|
50
|
+
|
|
51
|
+
**Outputs**
|
|
52
|
+
|
|
53
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
54
|
+
- OpenAPI response codes: `201`
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
import posthog from "@utdk/posthog";
|
|
58
|
+
|
|
59
|
+
type EnvironmentsMcpServerInstallationsCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
60
|
+
type EnvironmentsMcpServerInstallationsCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsCreate>>;
|
|
61
|
+
|
|
62
|
+
const result: EnvironmentsMcpServerInstallationsCreateOutput = await posthog.environmentsMcpServerInstallationsCreate();
|
|
63
|
+
|
|
64
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### `posthog.environmentsMcpServerInstallationsDestroy`
|
|
68
|
+
|
|
69
|
+
- **HTTP**: `DELETE /api/environments/{environment_id}/mcp_server_installations/{id}/`
|
|
70
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_destroy`
|
|
71
|
+
- **Path params**: `id`
|
|
72
|
+
- **Query params**: None
|
|
73
|
+
- **Response codes**: `204`
|
|
74
|
+
- **Transport options**: None
|
|
75
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
76
|
+
|
|
77
|
+
**Inputs**
|
|
78
|
+
|
|
79
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
80
|
+
- Client transport options: None
|
|
81
|
+
|
|
82
|
+
**Outputs**
|
|
83
|
+
|
|
84
|
+
- Client return type: `unknown`
|
|
85
|
+
- OpenAPI response codes: `204`
|
|
86
|
+
|
|
87
|
+
```ts
|
|
88
|
+
import posthog from "@utdk/posthog";
|
|
89
|
+
|
|
90
|
+
type EnvironmentsMcpServerInstallationsDestroyInput = Parameters<typeof posthog.environmentsMcpServerInstallationsDestroy> extends [infer T, ...unknown[]] ? T : undefined;
|
|
91
|
+
type EnvironmentsMcpServerInstallationsDestroyOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsDestroy>>;
|
|
92
|
+
|
|
93
|
+
const result: EnvironmentsMcpServerInstallationsDestroyOutput = await posthog.environmentsMcpServerInstallationsDestroy();
|
|
94
|
+
|
|
95
|
+
// Result shape (from schema): unknown
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### `posthog.environmentsMcpServerInstallationsRetrieve`
|
|
99
|
+
|
|
100
|
+
- **HTTP**: `GET /api/environments/{environment_id}/mcp_server_installations/{id}/`
|
|
101
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_retrieve`
|
|
102
|
+
- **Path params**: `id`
|
|
103
|
+
- **Query params**: None
|
|
104
|
+
- **Response codes**: `200`
|
|
105
|
+
- **Transport options**: None
|
|
106
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
107
|
+
|
|
108
|
+
**Inputs**
|
|
109
|
+
|
|
110
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
111
|
+
- Client transport options: None
|
|
112
|
+
|
|
113
|
+
**Outputs**
|
|
114
|
+
|
|
115
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
116
|
+
- OpenAPI response codes: `200`
|
|
117
|
+
|
|
118
|
+
```ts
|
|
119
|
+
import posthog from "@utdk/posthog";
|
|
120
|
+
|
|
121
|
+
type EnvironmentsMcpServerInstallationsRetrieveInput = Parameters<typeof posthog.environmentsMcpServerInstallationsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
122
|
+
type EnvironmentsMcpServerInstallationsRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsRetrieve>>;
|
|
123
|
+
|
|
124
|
+
const result: EnvironmentsMcpServerInstallationsRetrieveOutput = await posthog.environmentsMcpServerInstallationsRetrieve();
|
|
125
|
+
|
|
126
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### `posthog.environmentsMcpServerInstallationsPartialUpdate`
|
|
130
|
+
|
|
131
|
+
- **HTTP**: `PATCH /api/environments/{environment_id}/mcp_server_installations/{id}/`
|
|
132
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_partial_update`
|
|
133
|
+
- **Path params**: `id`
|
|
134
|
+
- **Query params**: None
|
|
135
|
+
- **Response codes**: `200`
|
|
136
|
+
- **Transport options**: None
|
|
137
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
138
|
+
|
|
139
|
+
**Inputs**
|
|
140
|
+
|
|
141
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
142
|
+
- Client transport options: None
|
|
143
|
+
|
|
144
|
+
**Outputs**
|
|
145
|
+
|
|
146
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
147
|
+
- OpenAPI response codes: `200`
|
|
148
|
+
|
|
149
|
+
```ts
|
|
150
|
+
import posthog from "@utdk/posthog";
|
|
151
|
+
|
|
152
|
+
type EnvironmentsMcpServerInstallationsPartialUpdateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
153
|
+
type EnvironmentsMcpServerInstallationsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsPartialUpdate>>;
|
|
154
|
+
|
|
155
|
+
const result: EnvironmentsMcpServerInstallationsPartialUpdateOutput = await posthog.environmentsMcpServerInstallationsPartialUpdate();
|
|
156
|
+
|
|
157
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### `posthog.environmentsMcpServerInstallationsUpdate`
|
|
161
|
+
|
|
162
|
+
- **HTTP**: `PUT /api/environments/{environment_id}/mcp_server_installations/{id}/`
|
|
163
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_update`
|
|
164
|
+
- **Path params**: `id`
|
|
165
|
+
- **Query params**: None
|
|
166
|
+
- **Response codes**: `200`
|
|
167
|
+
- **Transport options**: None
|
|
168
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
169
|
+
|
|
170
|
+
**Inputs**
|
|
171
|
+
|
|
172
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
173
|
+
- Client transport options: None
|
|
174
|
+
|
|
175
|
+
**Outputs**
|
|
176
|
+
|
|
177
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
178
|
+
- OpenAPI response codes: `200`
|
|
179
|
+
|
|
180
|
+
```ts
|
|
181
|
+
import posthog from "@utdk/posthog";
|
|
182
|
+
|
|
183
|
+
type EnvironmentsMcpServerInstallationsUpdateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
184
|
+
type EnvironmentsMcpServerInstallationsUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsUpdate>>;
|
|
185
|
+
|
|
186
|
+
const result: EnvironmentsMcpServerInstallationsUpdateOutput = await posthog.environmentsMcpServerInstallationsUpdate();
|
|
187
|
+
|
|
188
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### `posthog.environmentsMcpServerInstallationsProxyCreate`
|
|
192
|
+
|
|
193
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/{id}/proxy/`
|
|
194
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_proxy_create`
|
|
195
|
+
- **Path params**: `id`
|
|
196
|
+
- **Query params**: None
|
|
197
|
+
- **Response codes**: `200`
|
|
198
|
+
- **Transport options**: None
|
|
199
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
200
|
+
|
|
201
|
+
**Inputs**
|
|
202
|
+
|
|
203
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
204
|
+
- Client transport options: None
|
|
205
|
+
|
|
206
|
+
**Outputs**
|
|
207
|
+
|
|
208
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
209
|
+
- OpenAPI response codes: `200`
|
|
210
|
+
|
|
211
|
+
```ts
|
|
212
|
+
import posthog from "@utdk/posthog";
|
|
213
|
+
|
|
214
|
+
type EnvironmentsMcpServerInstallationsProxyCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsProxyCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
215
|
+
type EnvironmentsMcpServerInstallationsProxyCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsProxyCreate>>;
|
|
216
|
+
|
|
217
|
+
const result: EnvironmentsMcpServerInstallationsProxyCreateOutput = await posthog.environmentsMcpServerInstallationsProxyCreate();
|
|
218
|
+
|
|
219
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### `posthog.environmentsMcpServerInstallationsShareCreate`
|
|
223
|
+
|
|
224
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/{id}/share/`
|
|
225
|
+
- **What it does**: Escalate a personal installation to a team-wide shared one.
|
|
226
|
+
|
|
227
|
+
Owner-only AND admin-only: sharing exposes the owner's credential to
|
|
228
|
+
every project member and all autonomous agents, so it carries the same
|
|
229
|
+
gate as creating a shared install outright.
|
|
230
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_share_create`
|
|
231
|
+
- **Path params**: `id`
|
|
232
|
+
- **Query params**: None
|
|
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: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
245
|
+
- OpenAPI response codes: `200`
|
|
246
|
+
|
|
247
|
+
```ts
|
|
248
|
+
import posthog from "@utdk/posthog";
|
|
249
|
+
|
|
250
|
+
type EnvironmentsMcpServerInstallationsShareCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsShareCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
251
|
+
type EnvironmentsMcpServerInstallationsShareCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsShareCreate>>;
|
|
252
|
+
|
|
253
|
+
const result: EnvironmentsMcpServerInstallationsShareCreateOutput = await posthog.environmentsMcpServerInstallationsShareCreate();
|
|
254
|
+
|
|
255
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### `posthog.environmentsMcpServerInstallationsToolsRetrieve`
|
|
259
|
+
|
|
260
|
+
- **HTTP**: `GET /api/environments/{environment_id}/mcp_server_installations/{id}/tools/`
|
|
261
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_tools_retrieve`
|
|
262
|
+
- **Path params**: `id`
|
|
263
|
+
- **Query params**: None
|
|
264
|
+
- **Response codes**: `200`
|
|
265
|
+
- **Transport options**: None
|
|
266
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
267
|
+
|
|
268
|
+
**Inputs**
|
|
269
|
+
|
|
270
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
271
|
+
- Client transport options: None
|
|
272
|
+
|
|
273
|
+
**Outputs**
|
|
274
|
+
|
|
275
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...`
|
|
276
|
+
- OpenAPI response codes: `200`
|
|
277
|
+
|
|
278
|
+
```ts
|
|
279
|
+
import posthog from "@utdk/posthog";
|
|
280
|
+
|
|
281
|
+
type EnvironmentsMcpServerInstallationsToolsRetrieveInput = Parameters<typeof posthog.environmentsMcpServerInstallationsToolsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
282
|
+
type EnvironmentsMcpServerInstallationsToolsRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsToolsRetrieve>>;
|
|
283
|
+
|
|
284
|
+
const result: EnvironmentsMcpServerInstallationsToolsRetrieveOutput = await posthog.environmentsMcpServerInstallationsToolsRetrieve();
|
|
285
|
+
|
|
286
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### `posthog.environmentsMcpServerInstallationsToolsPartialUpdate`
|
|
290
|
+
|
|
291
|
+
- **HTTP**: `PATCH /api/environments/{environment_id}/mcp_server_installations/{id}/tools/{tool_name}/`
|
|
292
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_tools_partial_update`
|
|
293
|
+
- **Path params**: `id`, `tool_name`
|
|
294
|
+
- **Query params**: None
|
|
295
|
+
- **Response codes**: `200`
|
|
296
|
+
- **Transport options**: None
|
|
297
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
298
|
+
|
|
299
|
+
**Inputs**
|
|
300
|
+
|
|
301
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
302
|
+
- Client transport options: None
|
|
303
|
+
|
|
304
|
+
**Outputs**
|
|
305
|
+
|
|
306
|
+
- Client return type: `{ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval" | "do_not_use"; last_seen_at: string; removed_at: string | null; created_...`
|
|
307
|
+
- OpenAPI response codes: `200`
|
|
308
|
+
|
|
309
|
+
```ts
|
|
310
|
+
import posthog from "@utdk/posthog";
|
|
311
|
+
|
|
312
|
+
type EnvironmentsMcpServerInstallationsToolsPartialUpdateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsToolsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
313
|
+
type EnvironmentsMcpServerInstallationsToolsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsToolsPartialUpdate>>;
|
|
314
|
+
|
|
315
|
+
const result: EnvironmentsMcpServerInstallationsToolsPartialUpdateOutput = await posthog.environmentsMcpServerInstallationsToolsPartialUpdate();
|
|
316
|
+
|
|
317
|
+
// Result shape (from schema): { id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval" | "do_not_use"; last_seen_at: string; removed_at: string | null; created_...
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### `posthog.environmentsMcpServerInstallationsToolsRefreshCreate`
|
|
321
|
+
|
|
322
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/{id}/tools/refresh/`
|
|
323
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_tools_refresh_create`
|
|
324
|
+
- **Path params**: `id`
|
|
325
|
+
- **Query params**: None
|
|
326
|
+
- **Response codes**: `200`
|
|
327
|
+
- **Transport options**: None
|
|
328
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
329
|
+
|
|
330
|
+
**Inputs**
|
|
331
|
+
|
|
332
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
333
|
+
- Client transport options: None
|
|
334
|
+
|
|
335
|
+
**Outputs**
|
|
336
|
+
|
|
337
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...`
|
|
338
|
+
- OpenAPI response codes: `200`
|
|
339
|
+
|
|
340
|
+
```ts
|
|
341
|
+
import posthog from "@utdk/posthog";
|
|
342
|
+
|
|
343
|
+
type EnvironmentsMcpServerInstallationsToolsRefreshCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsToolsRefreshCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
344
|
+
type EnvironmentsMcpServerInstallationsToolsRefreshCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsToolsRefreshCreate>>;
|
|
345
|
+
|
|
346
|
+
const result: EnvironmentsMcpServerInstallationsToolsRefreshCreateOutput = await posthog.environmentsMcpServerInstallationsToolsRefreshCreate();
|
|
347
|
+
|
|
348
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### `posthog.environmentsMcpServerInstallationsUnshareCreate`
|
|
352
|
+
|
|
353
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/{id}/unshare/`
|
|
354
|
+
- **What it does**: De-escalate a shared installation back to personal.
|
|
355
|
+
|
|
356
|
+
Allowed for the credential owner OR a project admin (the reclaim path
|
|
357
|
+
for shared credentials). The row always stays owned by the ORIGINAL
|
|
358
|
+
owner — an admin unsharing someone else's install must not capture
|
|
359
|
+
their credential.
|
|
360
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_unshare_create`
|
|
361
|
+
- **Path params**: `id`
|
|
362
|
+
- **Query params**: None
|
|
363
|
+
- **Response codes**: `200`
|
|
364
|
+
- **Transport options**: None
|
|
365
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
366
|
+
|
|
367
|
+
**Inputs**
|
|
368
|
+
|
|
369
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
370
|
+
- Client transport options: None
|
|
371
|
+
|
|
372
|
+
**Outputs**
|
|
373
|
+
|
|
374
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
375
|
+
- OpenAPI response codes: `200`
|
|
376
|
+
|
|
377
|
+
```ts
|
|
378
|
+
import posthog from "@utdk/posthog";
|
|
379
|
+
|
|
380
|
+
type EnvironmentsMcpServerInstallationsUnshareCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsUnshareCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
381
|
+
type EnvironmentsMcpServerInstallationsUnshareCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsUnshareCreate>>;
|
|
382
|
+
|
|
383
|
+
const result: EnvironmentsMcpServerInstallationsUnshareCreateOutput = await posthog.environmentsMcpServerInstallationsUnshareCreate();
|
|
384
|
+
|
|
385
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### `posthog.environmentsMcpServerInstallationsAuthorizeRetrieve`
|
|
389
|
+
|
|
390
|
+
- **HTTP**: `GET /api/environments/{environment_id}/mcp_server_installations/authorize/`
|
|
391
|
+
- **What it does**: Start (or re-start) an OAuth flow.
|
|
392
|
+
|
|
393
|
+
Pass ``template_id`` to (re)connect a catalog template, or
|
|
394
|
+
``installation_id`` to reconnect an existing custom install using its
|
|
395
|
+
cached metadata and per-user DCR creds.
|
|
396
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_authorize_retrieve`
|
|
397
|
+
- **Path params**: None
|
|
398
|
+
- **Query params**: `install_source`, `installation_id`, `posthog_code_callback_url`, `template_id`
|
|
399
|
+
- **Response codes**: `200`
|
|
400
|
+
- **Transport options**: None
|
|
401
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
402
|
+
|
|
403
|
+
**Inputs**
|
|
404
|
+
|
|
405
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
406
|
+
- Client transport options: None
|
|
407
|
+
|
|
408
|
+
**Outputs**
|
|
409
|
+
|
|
410
|
+
- Client return type: `unknown`
|
|
411
|
+
- OpenAPI response codes: `200`
|
|
412
|
+
|
|
413
|
+
```ts
|
|
414
|
+
import posthog from "@utdk/posthog";
|
|
415
|
+
|
|
416
|
+
type EnvironmentsMcpServerInstallationsAuthorizeRetrieveInput = Parameters<typeof posthog.environmentsMcpServerInstallationsAuthorizeRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
417
|
+
type EnvironmentsMcpServerInstallationsAuthorizeRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsAuthorizeRetrieve>>;
|
|
418
|
+
|
|
419
|
+
const result: EnvironmentsMcpServerInstallationsAuthorizeRetrieveOutput = await posthog.environmentsMcpServerInstallationsAuthorizeRetrieve();
|
|
420
|
+
|
|
421
|
+
// Result shape (from schema): unknown
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
### `posthog.environmentsMcpServerInstallationsInstallCustomCreate`
|
|
425
|
+
|
|
426
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/install_custom/`
|
|
427
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_install_custom_create`
|
|
428
|
+
- **Path params**: None
|
|
429
|
+
- **Query params**: None
|
|
430
|
+
- **Response codes**: `200`, `201`
|
|
431
|
+
- **Transport options**: None
|
|
432
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
433
|
+
|
|
434
|
+
**Inputs**
|
|
435
|
+
|
|
436
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
437
|
+
- Client transport options: None
|
|
438
|
+
|
|
439
|
+
**Outputs**
|
|
440
|
+
|
|
441
|
+
- Client return type: `{ redirect_url: string }`
|
|
442
|
+
- OpenAPI response codes: `200`, `201`
|
|
443
|
+
|
|
444
|
+
```ts
|
|
445
|
+
import posthog from "@utdk/posthog";
|
|
446
|
+
|
|
447
|
+
type EnvironmentsMcpServerInstallationsInstallCustomCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsInstallCustomCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
448
|
+
type EnvironmentsMcpServerInstallationsInstallCustomCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsInstallCustomCreate>>;
|
|
449
|
+
|
|
450
|
+
const result: EnvironmentsMcpServerInstallationsInstallCustomCreateOutput = await posthog.environmentsMcpServerInstallationsInstallCustomCreate();
|
|
451
|
+
|
|
452
|
+
// Result shape (from schema): { redirect_url: string }
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### `posthog.environmentsMcpServerInstallationsInstallTemplateCreate`
|
|
456
|
+
|
|
457
|
+
- **HTTP**: `POST /api/environments/{environment_id}/mcp_server_installations/install_template/`
|
|
458
|
+
- **OpenAPI operationId**: `environments_mcp_server_installations_install_template_create`
|
|
459
|
+
- **Path params**: None
|
|
460
|
+
- **Query params**: None
|
|
461
|
+
- **Response codes**: `200`, `201`
|
|
462
|
+
- **Transport options**: None
|
|
463
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
464
|
+
|
|
465
|
+
**Inputs**
|
|
466
|
+
|
|
467
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
468
|
+
- Client transport options: None
|
|
469
|
+
|
|
470
|
+
**Outputs**
|
|
471
|
+
|
|
472
|
+
- Client return type: `{ redirect_url: string }`
|
|
473
|
+
- OpenAPI response codes: `200`, `201`
|
|
474
|
+
|
|
475
|
+
```ts
|
|
476
|
+
import posthog from "@utdk/posthog";
|
|
477
|
+
|
|
478
|
+
type EnvironmentsMcpServerInstallationsInstallTemplateCreateInput = Parameters<typeof posthog.environmentsMcpServerInstallationsInstallTemplateCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
479
|
+
type EnvironmentsMcpServerInstallationsInstallTemplateCreateOutput = Awaited<ReturnType<typeof posthog.environmentsMcpServerInstallationsInstallTemplateCreate>>;
|
|
480
|
+
|
|
481
|
+
const result: EnvironmentsMcpServerInstallationsInstallTemplateCreateOutput = await posthog.environmentsMcpServerInstallationsInstallTemplateCreate();
|
|
482
|
+
|
|
483
|
+
// Result shape (from schema): { redirect_url: string }
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### `posthog.mcpServerInstallationsList`
|
|
487
|
+
|
|
488
|
+
- **HTTP**: `GET /api/projects/{project_id}/mcp_server_installations/`
|
|
489
|
+
- **OpenAPI operationId**: `mcp_server_installations_list`
|
|
490
|
+
- **Path params**: None
|
|
491
|
+
- **Query params**: `limit`, `offset`
|
|
492
|
+
- **Response codes**: `200`
|
|
493
|
+
- **Transport options**: None
|
|
494
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
495
|
+
|
|
496
|
+
**Inputs**
|
|
497
|
+
|
|
498
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
499
|
+
- Client transport options: None
|
|
500
|
+
|
|
501
|
+
**Outputs**
|
|
502
|
+
|
|
503
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?:...`
|
|
504
|
+
- OpenAPI response codes: `200`
|
|
505
|
+
|
|
506
|
+
```ts
|
|
507
|
+
import posthog from "@utdk/posthog";
|
|
508
|
+
|
|
509
|
+
type McpServerInstallationsListInput = Parameters<typeof posthog.mcpServerInstallationsList> extends [infer T, ...unknown[]] ? T : undefined;
|
|
510
|
+
type McpServerInstallationsListOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsList>>;
|
|
511
|
+
|
|
512
|
+
const result: McpServerInstallationsListOutput = await posthog.mcpServerInstallationsList();
|
|
513
|
+
|
|
514
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?:...
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
### `posthog.mcpServerInstallationsCreate`
|
|
518
|
+
|
|
519
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/`
|
|
520
|
+
- **OpenAPI operationId**: `mcp_server_installations_create`
|
|
521
|
+
- **Path params**: None
|
|
522
|
+
- **Query params**: None
|
|
523
|
+
- **Response codes**: `201`
|
|
524
|
+
- **Transport options**: None
|
|
525
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
526
|
+
|
|
527
|
+
**Inputs**
|
|
528
|
+
|
|
529
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
530
|
+
- Client transport options: None
|
|
531
|
+
|
|
532
|
+
**Outputs**
|
|
533
|
+
|
|
534
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
535
|
+
- OpenAPI response codes: `201`
|
|
536
|
+
|
|
537
|
+
```ts
|
|
538
|
+
import posthog from "@utdk/posthog";
|
|
539
|
+
|
|
540
|
+
type McpServerInstallationsCreateInput = Parameters<typeof posthog.mcpServerInstallationsCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
541
|
+
type McpServerInstallationsCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsCreate>>;
|
|
542
|
+
|
|
543
|
+
const result: McpServerInstallationsCreateOutput = await posthog.mcpServerInstallationsCreate();
|
|
544
|
+
|
|
545
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
### `posthog.mcpServerInstallationsDestroy`
|
|
549
|
+
|
|
550
|
+
- **HTTP**: `DELETE /api/projects/{project_id}/mcp_server_installations/{id}/`
|
|
551
|
+
- **OpenAPI operationId**: `mcp_server_installations_destroy`
|
|
552
|
+
- **Path params**: `id`
|
|
553
|
+
- **Query params**: None
|
|
554
|
+
- **Response codes**: `204`
|
|
555
|
+
- **Transport options**: None
|
|
556
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
557
|
+
|
|
558
|
+
**Inputs**
|
|
559
|
+
|
|
560
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
561
|
+
- Client transport options: None
|
|
562
|
+
|
|
563
|
+
**Outputs**
|
|
564
|
+
|
|
565
|
+
- Client return type: `unknown`
|
|
566
|
+
- OpenAPI response codes: `204`
|
|
567
|
+
|
|
568
|
+
```ts
|
|
569
|
+
import posthog from "@utdk/posthog";
|
|
570
|
+
|
|
571
|
+
type McpServerInstallationsDestroyInput = Parameters<typeof posthog.mcpServerInstallationsDestroy> extends [infer T, ...unknown[]] ? T : undefined;
|
|
572
|
+
type McpServerInstallationsDestroyOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsDestroy>>;
|
|
573
|
+
|
|
574
|
+
const result: McpServerInstallationsDestroyOutput = await posthog.mcpServerInstallationsDestroy();
|
|
575
|
+
|
|
576
|
+
// Result shape (from schema): unknown
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
### `posthog.mcpServerInstallationsRetrieve`
|
|
580
|
+
|
|
581
|
+
- **HTTP**: `GET /api/projects/{project_id}/mcp_server_installations/{id}/`
|
|
582
|
+
- **OpenAPI operationId**: `mcp_server_installations_retrieve`
|
|
583
|
+
- **Path params**: `id`
|
|
584
|
+
- **Query params**: None
|
|
585
|
+
- **Response codes**: `200`
|
|
586
|
+
- **Transport options**: None
|
|
587
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
588
|
+
|
|
589
|
+
**Inputs**
|
|
590
|
+
|
|
591
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
592
|
+
- Client transport options: None
|
|
593
|
+
|
|
594
|
+
**Outputs**
|
|
595
|
+
|
|
596
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
597
|
+
- OpenAPI response codes: `200`
|
|
598
|
+
|
|
599
|
+
```ts
|
|
600
|
+
import posthog from "@utdk/posthog";
|
|
601
|
+
|
|
602
|
+
type McpServerInstallationsRetrieveInput = Parameters<typeof posthog.mcpServerInstallationsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
603
|
+
type McpServerInstallationsRetrieveOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsRetrieve>>;
|
|
604
|
+
|
|
605
|
+
const result: McpServerInstallationsRetrieveOutput = await posthog.mcpServerInstallationsRetrieve();
|
|
606
|
+
|
|
607
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### `posthog.mcpServerInstallationsPartialUpdate`
|
|
611
|
+
|
|
612
|
+
- **HTTP**: `PATCH /api/projects/{project_id}/mcp_server_installations/{id}/`
|
|
613
|
+
- **OpenAPI operationId**: `mcp_server_installations_partial_update`
|
|
614
|
+
- **Path params**: `id`
|
|
615
|
+
- **Query params**: None
|
|
616
|
+
- **Response codes**: `200`
|
|
617
|
+
- **Transport options**: None
|
|
618
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
619
|
+
|
|
620
|
+
**Inputs**
|
|
621
|
+
|
|
622
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
623
|
+
- Client transport options: None
|
|
624
|
+
|
|
625
|
+
**Outputs**
|
|
626
|
+
|
|
627
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
628
|
+
- OpenAPI response codes: `200`
|
|
629
|
+
|
|
630
|
+
```ts
|
|
631
|
+
import posthog from "@utdk/posthog";
|
|
632
|
+
|
|
633
|
+
type McpServerInstallationsPartialUpdateInput = Parameters<typeof posthog.mcpServerInstallationsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
634
|
+
type McpServerInstallationsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsPartialUpdate>>;
|
|
635
|
+
|
|
636
|
+
const result: McpServerInstallationsPartialUpdateOutput = await posthog.mcpServerInstallationsPartialUpdate();
|
|
637
|
+
|
|
638
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
### `posthog.mcpServerInstallationsUpdate`
|
|
642
|
+
|
|
643
|
+
- **HTTP**: `PUT /api/projects/{project_id}/mcp_server_installations/{id}/`
|
|
644
|
+
- **OpenAPI operationId**: `mcp_server_installations_update`
|
|
645
|
+
- **Path params**: `id`
|
|
646
|
+
- **Query params**: None
|
|
647
|
+
- **Response codes**: `200`
|
|
648
|
+
- **Transport options**: None
|
|
649
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
650
|
+
|
|
651
|
+
**Inputs**
|
|
652
|
+
|
|
653
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
654
|
+
- Client transport options: None
|
|
655
|
+
|
|
656
|
+
**Outputs**
|
|
657
|
+
|
|
658
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
659
|
+
- OpenAPI response codes: `200`
|
|
660
|
+
|
|
661
|
+
```ts
|
|
662
|
+
import posthog from "@utdk/posthog";
|
|
663
|
+
|
|
664
|
+
type McpServerInstallationsUpdateInput = Parameters<typeof posthog.mcpServerInstallationsUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
665
|
+
type McpServerInstallationsUpdateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsUpdate>>;
|
|
666
|
+
|
|
667
|
+
const result: McpServerInstallationsUpdateOutput = await posthog.mcpServerInstallationsUpdate();
|
|
668
|
+
|
|
669
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
### `posthog.mcpServerInstallationsProxyCreate`
|
|
673
|
+
|
|
674
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/{id}/proxy/`
|
|
675
|
+
- **OpenAPI operationId**: `mcp_server_installations_proxy_create`
|
|
676
|
+
- **Path params**: `id`
|
|
677
|
+
- **Query params**: None
|
|
678
|
+
- **Response codes**: `200`
|
|
679
|
+
- **Transport options**: None
|
|
680
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
681
|
+
|
|
682
|
+
**Inputs**
|
|
683
|
+
|
|
684
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
685
|
+
- Client transport options: None
|
|
686
|
+
|
|
687
|
+
**Outputs**
|
|
688
|
+
|
|
689
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
690
|
+
- OpenAPI response codes: `200`
|
|
691
|
+
|
|
692
|
+
```ts
|
|
693
|
+
import posthog from "@utdk/posthog";
|
|
694
|
+
|
|
695
|
+
type McpServerInstallationsProxyCreateInput = Parameters<typeof posthog.mcpServerInstallationsProxyCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
696
|
+
type McpServerInstallationsProxyCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsProxyCreate>>;
|
|
697
|
+
|
|
698
|
+
const result: McpServerInstallationsProxyCreateOutput = await posthog.mcpServerInstallationsProxyCreate();
|
|
699
|
+
|
|
700
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
701
|
+
```
|
|
702
|
+
|
|
703
|
+
### `posthog.mcpServerInstallationsShareCreate`
|
|
704
|
+
|
|
705
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/{id}/share/`
|
|
706
|
+
- **What it does**: Escalate a personal installation to a team-wide shared one.
|
|
707
|
+
|
|
708
|
+
Owner-only AND admin-only: sharing exposes the owner's credential to
|
|
709
|
+
every project member and all autonomous agents, so it carries the same
|
|
710
|
+
gate as creating a shared install outright.
|
|
711
|
+
- **OpenAPI operationId**: `mcp_server_installations_share_create`
|
|
712
|
+
- **Path params**: `id`
|
|
713
|
+
- **Query params**: None
|
|
714
|
+
- **Response codes**: `200`
|
|
715
|
+
- **Transport options**: None
|
|
716
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
717
|
+
|
|
718
|
+
**Inputs**
|
|
719
|
+
|
|
720
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
721
|
+
- Client transport options: None
|
|
722
|
+
|
|
723
|
+
**Outputs**
|
|
724
|
+
|
|
725
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
726
|
+
- OpenAPI response codes: `200`
|
|
727
|
+
|
|
728
|
+
```ts
|
|
729
|
+
import posthog from "@utdk/posthog";
|
|
730
|
+
|
|
731
|
+
type McpServerInstallationsShareCreateInput = Parameters<typeof posthog.mcpServerInstallationsShareCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
732
|
+
type McpServerInstallationsShareCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsShareCreate>>;
|
|
733
|
+
|
|
734
|
+
const result: McpServerInstallationsShareCreateOutput = await posthog.mcpServerInstallationsShareCreate();
|
|
735
|
+
|
|
736
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
### `posthog.mcpServerInstallationsToolsRetrieve`
|
|
740
|
+
|
|
741
|
+
- **HTTP**: `GET /api/projects/{project_id}/mcp_server_installations/{id}/tools/`
|
|
742
|
+
- **OpenAPI operationId**: `mcp_server_installations_tools_retrieve`
|
|
743
|
+
- **Path params**: `id`
|
|
744
|
+
- **Query params**: None
|
|
745
|
+
- **Response codes**: `200`
|
|
746
|
+
- **Transport options**: None
|
|
747
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
748
|
+
|
|
749
|
+
**Inputs**
|
|
750
|
+
|
|
751
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
752
|
+
- Client transport options: None
|
|
753
|
+
|
|
754
|
+
**Outputs**
|
|
755
|
+
|
|
756
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...`
|
|
757
|
+
- OpenAPI response codes: `200`
|
|
758
|
+
|
|
759
|
+
```ts
|
|
760
|
+
import posthog from "@utdk/posthog";
|
|
761
|
+
|
|
762
|
+
type McpServerInstallationsToolsRetrieveInput = Parameters<typeof posthog.mcpServerInstallationsToolsRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
763
|
+
type McpServerInstallationsToolsRetrieveOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsToolsRetrieve>>;
|
|
764
|
+
|
|
765
|
+
const result: McpServerInstallationsToolsRetrieveOutput = await posthog.mcpServerInstallationsToolsRetrieve();
|
|
766
|
+
|
|
767
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
### `posthog.mcpServerInstallationsToolsPartialUpdate`
|
|
771
|
+
|
|
772
|
+
- **HTTP**: `PATCH /api/projects/{project_id}/mcp_server_installations/{id}/tools/{tool_name}/`
|
|
773
|
+
- **OpenAPI operationId**: `mcp_server_installations_tools_partial_update`
|
|
774
|
+
- **Path params**: `id`, `tool_name`
|
|
775
|
+
- **Query params**: None
|
|
776
|
+
- **Response codes**: `200`
|
|
777
|
+
- **Transport options**: None
|
|
778
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
779
|
+
|
|
780
|
+
**Inputs**
|
|
781
|
+
|
|
782
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
783
|
+
- Client transport options: None
|
|
784
|
+
|
|
785
|
+
**Outputs**
|
|
786
|
+
|
|
787
|
+
- Client return type: `{ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval" | "do_not_use"; last_seen_at: string; removed_at: string | null; created_...`
|
|
788
|
+
- OpenAPI response codes: `200`
|
|
789
|
+
|
|
790
|
+
```ts
|
|
791
|
+
import posthog from "@utdk/posthog";
|
|
792
|
+
|
|
793
|
+
type McpServerInstallationsToolsPartialUpdateInput = Parameters<typeof posthog.mcpServerInstallationsToolsPartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
794
|
+
type McpServerInstallationsToolsPartialUpdateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsToolsPartialUpdate>>;
|
|
795
|
+
|
|
796
|
+
const result: McpServerInstallationsToolsPartialUpdateOutput = await posthog.mcpServerInstallationsToolsPartialUpdate();
|
|
797
|
+
|
|
798
|
+
// Result shape (from schema): { id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval" | "do_not_use"; last_seen_at: string; removed_at: string | null; created_...
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
### `posthog.mcpServerInstallationsToolsRefreshCreate`
|
|
802
|
+
|
|
803
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/{id}/tools/refresh/`
|
|
804
|
+
- **OpenAPI operationId**: `mcp_server_installations_tools_refresh_create`
|
|
805
|
+
- **Path params**: `id`
|
|
806
|
+
- **Query params**: None
|
|
807
|
+
- **Response codes**: `200`
|
|
808
|
+
- **Transport options**: None
|
|
809
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
810
|
+
|
|
811
|
+
**Inputs**
|
|
812
|
+
|
|
813
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
814
|
+
- Client transport options: None
|
|
815
|
+
|
|
816
|
+
**Outputs**
|
|
817
|
+
|
|
818
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...`
|
|
819
|
+
- OpenAPI response codes: `200`
|
|
820
|
+
|
|
821
|
+
```ts
|
|
822
|
+
import posthog from "@utdk/posthog";
|
|
823
|
+
|
|
824
|
+
type McpServerInstallationsToolsRefreshCreateInput = Parameters<typeof posthog.mcpServerInstallationsToolsRefreshCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
825
|
+
type McpServerInstallationsToolsRefreshCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsToolsRefreshCreate>>;
|
|
826
|
+
|
|
827
|
+
const result: McpServerInstallationsToolsRefreshCreateOutput = await posthog.mcpServerInstallationsToolsRefreshCreate();
|
|
828
|
+
|
|
829
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; tool_name: string; display_name: string; description: string; input_schema: unknown; approval_state?: "approved" | "needs_approval...
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
### `posthog.mcpServerInstallationsUnshareCreate`
|
|
833
|
+
|
|
834
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/{id}/unshare/`
|
|
835
|
+
- **What it does**: De-escalate a shared installation back to personal.
|
|
836
|
+
|
|
837
|
+
Allowed for the credential owner OR a project admin (the reclaim path
|
|
838
|
+
for shared credentials). The row always stays owned by the ORIGINAL
|
|
839
|
+
owner — an admin unsharing someone else's install must not capture
|
|
840
|
+
their credential.
|
|
841
|
+
- **OpenAPI operationId**: `mcp_server_installations_unshare_create`
|
|
842
|
+
- **Path params**: `id`
|
|
843
|
+
- **Query params**: None
|
|
844
|
+
- **Response codes**: `200`
|
|
845
|
+
- **Transport options**: None
|
|
846
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
847
|
+
|
|
848
|
+
**Inputs**
|
|
849
|
+
|
|
850
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
851
|
+
- Client transport options: None
|
|
852
|
+
|
|
853
|
+
**Outputs**
|
|
854
|
+
|
|
855
|
+
- Client return type: `{ id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...`
|
|
856
|
+
- OpenAPI response codes: `200`
|
|
857
|
+
|
|
858
|
+
```ts
|
|
859
|
+
import posthog from "@utdk/posthog";
|
|
860
|
+
|
|
861
|
+
type McpServerInstallationsUnshareCreateInput = Parameters<typeof posthog.mcpServerInstallationsUnshareCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
862
|
+
type McpServerInstallationsUnshareCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsUnshareCreate>>;
|
|
863
|
+
|
|
864
|
+
const result: McpServerInstallationsUnshareCreateOutput = await posthog.mcpServerInstallationsUnshareCreate();
|
|
865
|
+
|
|
866
|
+
// Result shape (from schema): { id: string; template_id: string | null; name: string; icon_key: string; display_name?: string; url?: string; description?: string; auth_type?: "api_key" | "oauth"; is_enabled?: boolean; scope: "personal" | "shared"; i...
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
### `posthog.mcpServerInstallationsAuthorizeRetrieve`
|
|
870
|
+
|
|
871
|
+
- **HTTP**: `GET /api/projects/{project_id}/mcp_server_installations/authorize/`
|
|
872
|
+
- **What it does**: Start (or re-start) an OAuth flow.
|
|
873
|
+
|
|
874
|
+
Pass ``template_id`` to (re)connect a catalog template, or
|
|
875
|
+
``installation_id`` to reconnect an existing custom install using its
|
|
876
|
+
cached metadata and per-user DCR creds.
|
|
877
|
+
- **OpenAPI operationId**: `mcp_server_installations_authorize_retrieve`
|
|
878
|
+
- **Path params**: None
|
|
879
|
+
- **Query params**: `install_source`, `installation_id`, `posthog_code_callback_url`, `template_id`
|
|
880
|
+
- **Response codes**: `200`
|
|
881
|
+
- **Transport options**: None
|
|
882
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
883
|
+
|
|
884
|
+
**Inputs**
|
|
885
|
+
|
|
886
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
887
|
+
- Client transport options: None
|
|
888
|
+
|
|
889
|
+
**Outputs**
|
|
890
|
+
|
|
891
|
+
- Client return type: `unknown`
|
|
892
|
+
- OpenAPI response codes: `200`
|
|
893
|
+
|
|
894
|
+
```ts
|
|
895
|
+
import posthog from "@utdk/posthog";
|
|
896
|
+
|
|
897
|
+
type McpServerInstallationsAuthorizeRetrieveInput = Parameters<typeof posthog.mcpServerInstallationsAuthorizeRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
898
|
+
type McpServerInstallationsAuthorizeRetrieveOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsAuthorizeRetrieve>>;
|
|
899
|
+
|
|
900
|
+
const result: McpServerInstallationsAuthorizeRetrieveOutput = await posthog.mcpServerInstallationsAuthorizeRetrieve();
|
|
901
|
+
|
|
902
|
+
// Result shape (from schema): unknown
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
### `posthog.mcpServerInstallationsInstallCustomCreate`
|
|
906
|
+
|
|
907
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/install_custom/`
|
|
908
|
+
- **OpenAPI operationId**: `mcp_server_installations_install_custom_create`
|
|
909
|
+
- **Path params**: None
|
|
910
|
+
- **Query params**: None
|
|
911
|
+
- **Response codes**: `200`, `201`
|
|
912
|
+
- **Transport options**: None
|
|
913
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
914
|
+
|
|
915
|
+
**Inputs**
|
|
916
|
+
|
|
917
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
918
|
+
- Client transport options: None
|
|
919
|
+
|
|
920
|
+
**Outputs**
|
|
921
|
+
|
|
922
|
+
- Client return type: `{ redirect_url: string }`
|
|
923
|
+
- OpenAPI response codes: `200`, `201`
|
|
924
|
+
|
|
925
|
+
```ts
|
|
926
|
+
import posthog from "@utdk/posthog";
|
|
927
|
+
|
|
928
|
+
type McpServerInstallationsInstallCustomCreateInput = Parameters<typeof posthog.mcpServerInstallationsInstallCustomCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
929
|
+
type McpServerInstallationsInstallCustomCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsInstallCustomCreate>>;
|
|
930
|
+
|
|
931
|
+
const result: McpServerInstallationsInstallCustomCreateOutput = await posthog.mcpServerInstallationsInstallCustomCreate();
|
|
932
|
+
|
|
933
|
+
// Result shape (from schema): { redirect_url: string }
|
|
934
|
+
```
|
|
935
|
+
|
|
936
|
+
### `posthog.mcpServerInstallationsInstallTemplateCreate`
|
|
937
|
+
|
|
938
|
+
- **HTTP**: `POST /api/projects/{project_id}/mcp_server_installations/install_template/`
|
|
939
|
+
- **OpenAPI operationId**: `mcp_server_installations_install_template_create`
|
|
940
|
+
- **Path params**: None
|
|
941
|
+
- **Query params**: None
|
|
942
|
+
- **Response codes**: `200`, `201`
|
|
943
|
+
- **Transport options**: None
|
|
944
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
945
|
+
|
|
946
|
+
**Inputs**
|
|
947
|
+
|
|
948
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
949
|
+
- Client transport options: None
|
|
950
|
+
|
|
951
|
+
**Outputs**
|
|
952
|
+
|
|
953
|
+
- Client return type: `{ redirect_url: string }`
|
|
954
|
+
- OpenAPI response codes: `200`, `201`
|
|
955
|
+
|
|
956
|
+
```ts
|
|
957
|
+
import posthog from "@utdk/posthog";
|
|
958
|
+
|
|
959
|
+
type McpServerInstallationsInstallTemplateCreateInput = Parameters<typeof posthog.mcpServerInstallationsInstallTemplateCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
960
|
+
type McpServerInstallationsInstallTemplateCreateOutput = Awaited<ReturnType<typeof posthog.mcpServerInstallationsInstallTemplateCreate>>;
|
|
961
|
+
|
|
962
|
+
const result: McpServerInstallationsInstallTemplateCreateOutput = await posthog.mcpServerInstallationsInstallTemplateCreate();
|
|
963
|
+
|
|
964
|
+
// Result shape (from schema): { redirect_url: string }
|
|
965
|
+
```
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<!-- prompt-hash:
|
|
969
|
+
8c3694991a4c289225f05a4e8f1e098cc74d085a088d7dffd82f00d93797b7f8
|
|
970
|
+
-->
|