@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,952 @@
|
|
|
1
|
+
# Llm Skills
|
|
2
|
+
|
|
3
|
+
## Operations
|
|
4
|
+
|
|
5
|
+
### `posthog.environmentsLlmSkillsList`
|
|
6
|
+
|
|
7
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/`
|
|
8
|
+
- **OpenAPI operationId**: `environments_llm_skills_list`
|
|
9
|
+
- **Path params**: None
|
|
10
|
+
- **Query params**: `category`, `created_by_id`, `limit`, `offset`, `search`
|
|
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; name: string; description: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string...`
|
|
23
|
+
- OpenAPI response codes: `200`
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import posthog from "@utdk/posthog";
|
|
27
|
+
|
|
28
|
+
type EnvironmentsLlmSkillsListInput = Parameters<typeof posthog.environmentsLlmSkillsList> extends [infer T, ...unknown[]] ? T : undefined;
|
|
29
|
+
type EnvironmentsLlmSkillsListOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsList>>;
|
|
30
|
+
|
|
31
|
+
const result: EnvironmentsLlmSkillsListOutput = await posthog.environmentsLlmSkillsList();
|
|
32
|
+
|
|
33
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; name: string; description: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string...
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `posthog.environmentsLlmSkillsCreate`
|
|
37
|
+
|
|
38
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/`
|
|
39
|
+
- **OpenAPI operationId**: `environments_llm_skills_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; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files?: ({ path: string; cont...`
|
|
54
|
+
- OpenAPI response codes: `201`
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
import posthog from "@utdk/posthog";
|
|
58
|
+
|
|
59
|
+
type EnvironmentsLlmSkillsCreateInput = Parameters<typeof posthog.environmentsLlmSkillsCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
60
|
+
type EnvironmentsLlmSkillsCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsCreate>>;
|
|
61
|
+
|
|
62
|
+
const result: EnvironmentsLlmSkillsCreateOutput = await posthog.environmentsLlmSkillsCreate();
|
|
63
|
+
|
|
64
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files?: ({ path: string; cont...
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### `posthog.environmentsLlmSkillsImportCreate`
|
|
68
|
+
|
|
69
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/import/`
|
|
70
|
+
- **OpenAPI operationId**: `environments_llm_skills_import_create`
|
|
71
|
+
- **Path params**: None
|
|
72
|
+
- **Query params**: None
|
|
73
|
+
- **Response codes**: `201`
|
|
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: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
85
|
+
- OpenAPI response codes: `201`
|
|
86
|
+
|
|
87
|
+
```ts
|
|
88
|
+
import posthog from "@utdk/posthog";
|
|
89
|
+
|
|
90
|
+
type EnvironmentsLlmSkillsImportCreateInput = Parameters<typeof posthog.environmentsLlmSkillsImportCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
91
|
+
type EnvironmentsLlmSkillsImportCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsImportCreate>>;
|
|
92
|
+
|
|
93
|
+
const result: EnvironmentsLlmSkillsImportCreateOutput = await posthog.environmentsLlmSkillsImportCreate();
|
|
94
|
+
|
|
95
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### `posthog.environmentsLlmSkillsMarketplaceInstallCommandRetrieve`
|
|
99
|
+
|
|
100
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/marketplace/install-command/`
|
|
101
|
+
- **What it does**: Report whether the user already has a marketplace credential, without minting one.
|
|
102
|
+
|
|
103
|
+
The token is unrecoverable, so an existing credential returns its mask only — the UI shows
|
|
104
|
+
"already connected, existing setups keep working" and offers an explicit rotate.
|
|
105
|
+
- **OpenAPI operationId**: `environments_llm_skills_marketplace_install_command_retrieve`
|
|
106
|
+
- **Path params**: None
|
|
107
|
+
- **Query params**: None
|
|
108
|
+
- **Response codes**: `200`
|
|
109
|
+
- **Transport options**: None
|
|
110
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
111
|
+
|
|
112
|
+
**Inputs**
|
|
113
|
+
|
|
114
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
115
|
+
- Client transport options: None
|
|
116
|
+
|
|
117
|
+
**Outputs**
|
|
118
|
+
|
|
119
|
+
- Client return type: `{ status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...`
|
|
120
|
+
- OpenAPI response codes: `200`
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
import posthog from "@utdk/posthog";
|
|
124
|
+
|
|
125
|
+
type EnvironmentsLlmSkillsMarketplaceInstallCommandRetrieveInput = Parameters<typeof posthog.environmentsLlmSkillsMarketplaceInstallCommandRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
126
|
+
type EnvironmentsLlmSkillsMarketplaceInstallCommandRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsMarketplaceInstallCommandRetrieve>>;
|
|
127
|
+
|
|
128
|
+
const result: EnvironmentsLlmSkillsMarketplaceInstallCommandRetrieveOutput = await posthog.environmentsLlmSkillsMarketplaceInstallCommandRetrieve();
|
|
129
|
+
|
|
130
|
+
// Result shape (from schema): { status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### `posthog.environmentsLlmSkillsMarketplaceInstallCommandCreate`
|
|
134
|
+
|
|
135
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/marketplace/install-command/`
|
|
136
|
+
- **What it does**: Mint the user's read-only marketplace credential (or rotate it) and return the install command.
|
|
137
|
+
|
|
138
|
+
Per-user: rotating only ever invalidates this user's own credential, never a teammate's.
|
|
139
|
+
- **OpenAPI operationId**: `environments_llm_skills_marketplace_install_command_create`
|
|
140
|
+
- **Path params**: None
|
|
141
|
+
- **Query params**: None
|
|
142
|
+
- **Response codes**: `200`
|
|
143
|
+
- **Transport options**: None
|
|
144
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
145
|
+
|
|
146
|
+
**Inputs**
|
|
147
|
+
|
|
148
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
149
|
+
- Client transport options: None
|
|
150
|
+
|
|
151
|
+
**Outputs**
|
|
152
|
+
|
|
153
|
+
- Client return type: `{ status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...`
|
|
154
|
+
- OpenAPI response codes: `200`
|
|
155
|
+
|
|
156
|
+
```ts
|
|
157
|
+
import posthog from "@utdk/posthog";
|
|
158
|
+
|
|
159
|
+
type EnvironmentsLlmSkillsMarketplaceInstallCommandCreateInput = Parameters<typeof posthog.environmentsLlmSkillsMarketplaceInstallCommandCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
160
|
+
type EnvironmentsLlmSkillsMarketplaceInstallCommandCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsMarketplaceInstallCommandCreate>>;
|
|
161
|
+
|
|
162
|
+
const result: EnvironmentsLlmSkillsMarketplaceInstallCommandCreateOutput = await posthog.environmentsLlmSkillsMarketplaceInstallCommandCreate();
|
|
163
|
+
|
|
164
|
+
// Result shape (from schema): { status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### `posthog.environmentsLlmSkillsNameRetrieve`
|
|
168
|
+
|
|
169
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/name/{skill_name}/`
|
|
170
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_retrieve`
|
|
171
|
+
- **Path params**: `skill_name`
|
|
172
|
+
- **Query params**: `version`
|
|
173
|
+
- **Response codes**: `200`
|
|
174
|
+
- **Transport options**: None
|
|
175
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
176
|
+
|
|
177
|
+
**Inputs**
|
|
178
|
+
|
|
179
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
180
|
+
- Client transport options: None
|
|
181
|
+
|
|
182
|
+
**Outputs**
|
|
183
|
+
|
|
184
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
185
|
+
- OpenAPI response codes: `200`
|
|
186
|
+
|
|
187
|
+
```ts
|
|
188
|
+
import posthog from "@utdk/posthog";
|
|
189
|
+
|
|
190
|
+
type EnvironmentsLlmSkillsNameRetrieveInput = Parameters<typeof posthog.environmentsLlmSkillsNameRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
191
|
+
type EnvironmentsLlmSkillsNameRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameRetrieve>>;
|
|
192
|
+
|
|
193
|
+
const result: EnvironmentsLlmSkillsNameRetrieveOutput = await posthog.environmentsLlmSkillsNameRetrieve();
|
|
194
|
+
|
|
195
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### `posthog.environmentsLlmSkillsNamePartialUpdate`
|
|
199
|
+
|
|
200
|
+
- **HTTP**: `PATCH /api/environments/{environment_id}/llm_skills/name/{skill_name}/`
|
|
201
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_partial_update`
|
|
202
|
+
- **Path params**: `skill_name`
|
|
203
|
+
- **Query params**: None
|
|
204
|
+
- **Response codes**: `200`
|
|
205
|
+
- **Transport options**: None
|
|
206
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
207
|
+
|
|
208
|
+
**Inputs**
|
|
209
|
+
|
|
210
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
211
|
+
- Client transport options: None
|
|
212
|
+
|
|
213
|
+
**Outputs**
|
|
214
|
+
|
|
215
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
216
|
+
- OpenAPI response codes: `200`
|
|
217
|
+
|
|
218
|
+
```ts
|
|
219
|
+
import posthog from "@utdk/posthog";
|
|
220
|
+
|
|
221
|
+
type EnvironmentsLlmSkillsNamePartialUpdateInput = Parameters<typeof posthog.environmentsLlmSkillsNamePartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
222
|
+
type EnvironmentsLlmSkillsNamePartialUpdateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNamePartialUpdate>>;
|
|
223
|
+
|
|
224
|
+
const result: EnvironmentsLlmSkillsNamePartialUpdateOutput = await posthog.environmentsLlmSkillsNamePartialUpdate();
|
|
225
|
+
|
|
226
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### `posthog.environmentsLlmSkillsNameArchiveCreate`
|
|
230
|
+
|
|
231
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/name/{skill_name}/archive/`
|
|
232
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_archive_create`
|
|
233
|
+
- **Path params**: `skill_name`
|
|
234
|
+
- **Query params**: None
|
|
235
|
+
- **Response codes**: `204`
|
|
236
|
+
- **Transport options**: None
|
|
237
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
238
|
+
|
|
239
|
+
**Inputs**
|
|
240
|
+
|
|
241
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
242
|
+
- Client transport options: None
|
|
243
|
+
|
|
244
|
+
**Outputs**
|
|
245
|
+
|
|
246
|
+
- Client return type: `unknown`
|
|
247
|
+
- OpenAPI response codes: `204`
|
|
248
|
+
|
|
249
|
+
```ts
|
|
250
|
+
import posthog from "@utdk/posthog";
|
|
251
|
+
|
|
252
|
+
type EnvironmentsLlmSkillsNameArchiveCreateInput = Parameters<typeof posthog.environmentsLlmSkillsNameArchiveCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
253
|
+
type EnvironmentsLlmSkillsNameArchiveCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameArchiveCreate>>;
|
|
254
|
+
|
|
255
|
+
const result: EnvironmentsLlmSkillsNameArchiveCreateOutput = await posthog.environmentsLlmSkillsNameArchiveCreate();
|
|
256
|
+
|
|
257
|
+
// Result shape (from schema): unknown
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### `posthog.environmentsLlmSkillsNameDuplicateCreate`
|
|
261
|
+
|
|
262
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/name/{skill_name}/duplicate/`
|
|
263
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_duplicate_create`
|
|
264
|
+
- **Path params**: `skill_name`
|
|
265
|
+
- **Query params**: None
|
|
266
|
+
- **Response codes**: `201`
|
|
267
|
+
- **Transport options**: None
|
|
268
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
269
|
+
|
|
270
|
+
**Inputs**
|
|
271
|
+
|
|
272
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
273
|
+
- Client transport options: None
|
|
274
|
+
|
|
275
|
+
**Outputs**
|
|
276
|
+
|
|
277
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
278
|
+
- OpenAPI response codes: `201`
|
|
279
|
+
|
|
280
|
+
```ts
|
|
281
|
+
import posthog from "@utdk/posthog";
|
|
282
|
+
|
|
283
|
+
type EnvironmentsLlmSkillsNameDuplicateCreateInput = Parameters<typeof posthog.environmentsLlmSkillsNameDuplicateCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
284
|
+
type EnvironmentsLlmSkillsNameDuplicateCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameDuplicateCreate>>;
|
|
285
|
+
|
|
286
|
+
const result: EnvironmentsLlmSkillsNameDuplicateCreateOutput = await posthog.environmentsLlmSkillsNameDuplicateCreate();
|
|
287
|
+
|
|
288
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### `posthog.environmentsLlmSkillsNameExportRetrieve`
|
|
292
|
+
|
|
293
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/name/{skill_name}/export/`
|
|
294
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_export_retrieve`
|
|
295
|
+
- **Path params**: `skill_name`
|
|
296
|
+
- **Query params**: `version`
|
|
297
|
+
- **Response codes**: `200`
|
|
298
|
+
- **Transport options**: None
|
|
299
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
300
|
+
|
|
301
|
+
**Inputs**
|
|
302
|
+
|
|
303
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
304
|
+
- Client transport options: None
|
|
305
|
+
|
|
306
|
+
**Outputs**
|
|
307
|
+
|
|
308
|
+
- Client return type: `string`
|
|
309
|
+
- OpenAPI response codes: `200`
|
|
310
|
+
|
|
311
|
+
```ts
|
|
312
|
+
import posthog from "@utdk/posthog";
|
|
313
|
+
|
|
314
|
+
type EnvironmentsLlmSkillsNameExportRetrieveInput = Parameters<typeof posthog.environmentsLlmSkillsNameExportRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
315
|
+
type EnvironmentsLlmSkillsNameExportRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameExportRetrieve>>;
|
|
316
|
+
|
|
317
|
+
const result: EnvironmentsLlmSkillsNameExportRetrieveOutput = await posthog.environmentsLlmSkillsNameExportRetrieve();
|
|
318
|
+
|
|
319
|
+
// Result shape (from schema): string
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### `posthog.environmentsLlmSkillsNameFilesRenameCreate`
|
|
323
|
+
|
|
324
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/name/{skill_name}/files-rename/`
|
|
325
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_files_rename_create`
|
|
326
|
+
- **Path params**: `skill_name`
|
|
327
|
+
- **Query params**: None
|
|
328
|
+
- **Response codes**: `200`
|
|
329
|
+
- **Transport options**: None
|
|
330
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
331
|
+
|
|
332
|
+
**Inputs**
|
|
333
|
+
|
|
334
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
335
|
+
- Client transport options: None
|
|
336
|
+
|
|
337
|
+
**Outputs**
|
|
338
|
+
|
|
339
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
340
|
+
- OpenAPI response codes: `200`
|
|
341
|
+
|
|
342
|
+
```ts
|
|
343
|
+
import posthog from "@utdk/posthog";
|
|
344
|
+
|
|
345
|
+
type EnvironmentsLlmSkillsNameFilesRenameCreateInput = Parameters<typeof posthog.environmentsLlmSkillsNameFilesRenameCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
346
|
+
type EnvironmentsLlmSkillsNameFilesRenameCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameFilesRenameCreate>>;
|
|
347
|
+
|
|
348
|
+
const result: EnvironmentsLlmSkillsNameFilesRenameCreateOutput = await posthog.environmentsLlmSkillsNameFilesRenameCreate();
|
|
349
|
+
|
|
350
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
### `posthog.environmentsLlmSkillsNameFilesCreate`
|
|
354
|
+
|
|
355
|
+
- **HTTP**: `POST /api/environments/{environment_id}/llm_skills/name/{skill_name}/files/`
|
|
356
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_files_create`
|
|
357
|
+
- **Path params**: `skill_name`
|
|
358
|
+
- **Query params**: None
|
|
359
|
+
- **Response codes**: `201`
|
|
360
|
+
- **Transport options**: None
|
|
361
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
362
|
+
|
|
363
|
+
**Inputs**
|
|
364
|
+
|
|
365
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
366
|
+
- Client transport options: None
|
|
367
|
+
|
|
368
|
+
**Outputs**
|
|
369
|
+
|
|
370
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
371
|
+
- OpenAPI response codes: `201`
|
|
372
|
+
|
|
373
|
+
```ts
|
|
374
|
+
import posthog from "@utdk/posthog";
|
|
375
|
+
|
|
376
|
+
type EnvironmentsLlmSkillsNameFilesCreateInput = Parameters<typeof posthog.environmentsLlmSkillsNameFilesCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
377
|
+
type EnvironmentsLlmSkillsNameFilesCreateOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameFilesCreate>>;
|
|
378
|
+
|
|
379
|
+
const result: EnvironmentsLlmSkillsNameFilesCreateOutput = await posthog.environmentsLlmSkillsNameFilesCreate();
|
|
380
|
+
|
|
381
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### `posthog.environmentsLlmSkillsNameFilesDestroy`
|
|
385
|
+
|
|
386
|
+
- **HTTP**: `DELETE /api/environments/{environment_id}/llm_skills/name/{skill_name}/files/{file_path}/`
|
|
387
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_files_destroy`
|
|
388
|
+
- **Path params**: `file_path`, `skill_name`
|
|
389
|
+
- **Query params**: `base_version`
|
|
390
|
+
- **Response codes**: `200`
|
|
391
|
+
- **Transport options**: None
|
|
392
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
393
|
+
|
|
394
|
+
**Inputs**
|
|
395
|
+
|
|
396
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
397
|
+
- Client transport options: None
|
|
398
|
+
|
|
399
|
+
**Outputs**
|
|
400
|
+
|
|
401
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
402
|
+
- OpenAPI response codes: `200`
|
|
403
|
+
|
|
404
|
+
```ts
|
|
405
|
+
import posthog from "@utdk/posthog";
|
|
406
|
+
|
|
407
|
+
type EnvironmentsLlmSkillsNameFilesDestroyInput = Parameters<typeof posthog.environmentsLlmSkillsNameFilesDestroy> extends [infer T, ...unknown[]] ? T : undefined;
|
|
408
|
+
type EnvironmentsLlmSkillsNameFilesDestroyOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameFilesDestroy>>;
|
|
409
|
+
|
|
410
|
+
const result: EnvironmentsLlmSkillsNameFilesDestroyOutput = await posthog.environmentsLlmSkillsNameFilesDestroy();
|
|
411
|
+
|
|
412
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### `posthog.environmentsLlmSkillsNameFilesRetrieve`
|
|
416
|
+
|
|
417
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/name/{skill_name}/files/{file_path}/`
|
|
418
|
+
- **OpenAPI operationId**: `environments_llm_skills_name_files_retrieve`
|
|
419
|
+
- **Path params**: `file_path`, `skill_name`
|
|
420
|
+
- **Query params**: `version`
|
|
421
|
+
- **Response codes**: `200`
|
|
422
|
+
- **Transport options**: None
|
|
423
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
424
|
+
|
|
425
|
+
**Inputs**
|
|
426
|
+
|
|
427
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
428
|
+
- Client transport options: None
|
|
429
|
+
|
|
430
|
+
**Outputs**
|
|
431
|
+
|
|
432
|
+
- Client return type: `{ path: string; content: string; content_type?: string }`
|
|
433
|
+
- OpenAPI response codes: `200`
|
|
434
|
+
|
|
435
|
+
```ts
|
|
436
|
+
import posthog from "@utdk/posthog";
|
|
437
|
+
|
|
438
|
+
type EnvironmentsLlmSkillsNameFilesRetrieveInput = Parameters<typeof posthog.environmentsLlmSkillsNameFilesRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
439
|
+
type EnvironmentsLlmSkillsNameFilesRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsNameFilesRetrieve>>;
|
|
440
|
+
|
|
441
|
+
const result: EnvironmentsLlmSkillsNameFilesRetrieveOutput = await posthog.environmentsLlmSkillsNameFilesRetrieve();
|
|
442
|
+
|
|
443
|
+
// Result shape (from schema): { path: string; content: string; content_type?: string }
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
### `posthog.environmentsLlmSkillsResolveNameRetrieve`
|
|
447
|
+
|
|
448
|
+
- **HTTP**: `GET /api/environments/{environment_id}/llm_skills/resolve/name/{skill_name}/`
|
|
449
|
+
- **OpenAPI operationId**: `environments_llm_skills_resolve_name_retrieve`
|
|
450
|
+
- **Path params**: `skill_name`
|
|
451
|
+
- **Query params**: `before_version`, `limit`, `offset`, `version`, `version_id`
|
|
452
|
+
- **Response codes**: `200`
|
|
453
|
+
- **Transport options**: None
|
|
454
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
455
|
+
|
|
456
|
+
**Inputs**
|
|
457
|
+
|
|
458
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
459
|
+
- Client transport options: None
|
|
460
|
+
|
|
461
|
+
**Outputs**
|
|
462
|
+
|
|
463
|
+
- Client return type: `{ skill: { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: stri...`
|
|
464
|
+
- OpenAPI response codes: `200`
|
|
465
|
+
|
|
466
|
+
```ts
|
|
467
|
+
import posthog from "@utdk/posthog";
|
|
468
|
+
|
|
469
|
+
type EnvironmentsLlmSkillsResolveNameRetrieveInput = Parameters<typeof posthog.environmentsLlmSkillsResolveNameRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
470
|
+
type EnvironmentsLlmSkillsResolveNameRetrieveOutput = Awaited<ReturnType<typeof posthog.environmentsLlmSkillsResolveNameRetrieve>>;
|
|
471
|
+
|
|
472
|
+
const result: EnvironmentsLlmSkillsResolveNameRetrieveOutput = await posthog.environmentsLlmSkillsResolveNameRetrieve();
|
|
473
|
+
|
|
474
|
+
// Result shape (from schema): { skill: { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: stri...
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
### `posthog.llmSkillsList`
|
|
478
|
+
|
|
479
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/`
|
|
480
|
+
- **OpenAPI operationId**: `llm_skills_list`
|
|
481
|
+
- **Path params**: None
|
|
482
|
+
- **Query params**: `category`, `created_by_id`, `limit`, `offset`, `search`
|
|
483
|
+
- **Response codes**: `200`
|
|
484
|
+
- **Transport options**: None
|
|
485
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
486
|
+
|
|
487
|
+
**Inputs**
|
|
488
|
+
|
|
489
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
490
|
+
- Client transport options: None
|
|
491
|
+
|
|
492
|
+
**Outputs**
|
|
493
|
+
|
|
494
|
+
- Client return type: `{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; name: string; description: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string...`
|
|
495
|
+
- OpenAPI response codes: `200`
|
|
496
|
+
|
|
497
|
+
```ts
|
|
498
|
+
import posthog from "@utdk/posthog";
|
|
499
|
+
|
|
500
|
+
type LlmSkillsListInput = Parameters<typeof posthog.llmSkillsList> extends [infer T, ...unknown[]] ? T : undefined;
|
|
501
|
+
type LlmSkillsListOutput = Awaited<ReturnType<typeof posthog.llmSkillsList>>;
|
|
502
|
+
|
|
503
|
+
const result: LlmSkillsListOutput = await posthog.llmSkillsList();
|
|
504
|
+
|
|
505
|
+
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; name: string; description: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string...
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
### `posthog.llmSkillsCreate`
|
|
509
|
+
|
|
510
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/`
|
|
511
|
+
- **OpenAPI operationId**: `llm_skills_create`
|
|
512
|
+
- **Path params**: None
|
|
513
|
+
- **Query params**: None
|
|
514
|
+
- **Response codes**: `201`
|
|
515
|
+
- **Transport options**: None
|
|
516
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
517
|
+
|
|
518
|
+
**Inputs**
|
|
519
|
+
|
|
520
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
521
|
+
- Client transport options: None
|
|
522
|
+
|
|
523
|
+
**Outputs**
|
|
524
|
+
|
|
525
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files?: ({ path: string; cont...`
|
|
526
|
+
- OpenAPI response codes: `201`
|
|
527
|
+
|
|
528
|
+
```ts
|
|
529
|
+
import posthog from "@utdk/posthog";
|
|
530
|
+
|
|
531
|
+
type LlmSkillsCreateInput = Parameters<typeof posthog.llmSkillsCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
532
|
+
type LlmSkillsCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsCreate>>;
|
|
533
|
+
|
|
534
|
+
const result: LlmSkillsCreateOutput = await posthog.llmSkillsCreate();
|
|
535
|
+
|
|
536
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files?: ({ path: string; cont...
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
### `posthog.llmSkillsImportCreate`
|
|
540
|
+
|
|
541
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/import/`
|
|
542
|
+
- **OpenAPI operationId**: `llm_skills_import_create`
|
|
543
|
+
- **Path params**: None
|
|
544
|
+
- **Query params**: None
|
|
545
|
+
- **Response codes**: `201`
|
|
546
|
+
- **Transport options**: None
|
|
547
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
548
|
+
|
|
549
|
+
**Inputs**
|
|
550
|
+
|
|
551
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
552
|
+
- Client transport options: None
|
|
553
|
+
|
|
554
|
+
**Outputs**
|
|
555
|
+
|
|
556
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
557
|
+
- OpenAPI response codes: `201`
|
|
558
|
+
|
|
559
|
+
```ts
|
|
560
|
+
import posthog from "@utdk/posthog";
|
|
561
|
+
|
|
562
|
+
type LlmSkillsImportCreateInput = Parameters<typeof posthog.llmSkillsImportCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
563
|
+
type LlmSkillsImportCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsImportCreate>>;
|
|
564
|
+
|
|
565
|
+
const result: LlmSkillsImportCreateOutput = await posthog.llmSkillsImportCreate();
|
|
566
|
+
|
|
567
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### `posthog.llmSkillsMarketplaceInstallCommandRetrieve`
|
|
571
|
+
|
|
572
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/marketplace/install-command/`
|
|
573
|
+
- **What it does**: Report whether the user already has a marketplace credential, without minting one.
|
|
574
|
+
|
|
575
|
+
The token is unrecoverable, so an existing credential returns its mask only — the UI shows
|
|
576
|
+
"already connected, existing setups keep working" and offers an explicit rotate.
|
|
577
|
+
- **OpenAPI operationId**: `llm_skills_marketplace_install_command_retrieve`
|
|
578
|
+
- **Path params**: None
|
|
579
|
+
- **Query params**: None
|
|
580
|
+
- **Response codes**: `200`
|
|
581
|
+
- **Transport options**: None
|
|
582
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
583
|
+
|
|
584
|
+
**Inputs**
|
|
585
|
+
|
|
586
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
587
|
+
- Client transport options: None
|
|
588
|
+
|
|
589
|
+
**Outputs**
|
|
590
|
+
|
|
591
|
+
- Client return type: `{ status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...`
|
|
592
|
+
- OpenAPI response codes: `200`
|
|
593
|
+
|
|
594
|
+
```ts
|
|
595
|
+
import posthog from "@utdk/posthog";
|
|
596
|
+
|
|
597
|
+
type LlmSkillsMarketplaceInstallCommandRetrieveInput = Parameters<typeof posthog.llmSkillsMarketplaceInstallCommandRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
598
|
+
type LlmSkillsMarketplaceInstallCommandRetrieveOutput = Awaited<ReturnType<typeof posthog.llmSkillsMarketplaceInstallCommandRetrieve>>;
|
|
599
|
+
|
|
600
|
+
const result: LlmSkillsMarketplaceInstallCommandRetrieveOutput = await posthog.llmSkillsMarketplaceInstallCommandRetrieve();
|
|
601
|
+
|
|
602
|
+
// Result shape (from schema): { status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
### `posthog.llmSkillsMarketplaceInstallCommandCreate`
|
|
606
|
+
|
|
607
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/marketplace/install-command/`
|
|
608
|
+
- **What it does**: Mint the user's read-only marketplace credential (or rotate it) and return the install command.
|
|
609
|
+
|
|
610
|
+
Per-user: rotating only ever invalidates this user's own credential, never a teammate's.
|
|
611
|
+
- **OpenAPI operationId**: `llm_skills_marketplace_install_command_create`
|
|
612
|
+
- **Path params**: None
|
|
613
|
+
- **Query params**: None
|
|
614
|
+
- **Response codes**: `200`
|
|
615
|
+
- **Transport options**: None
|
|
616
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
617
|
+
|
|
618
|
+
**Inputs**
|
|
619
|
+
|
|
620
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
621
|
+
- Client transport options: None
|
|
622
|
+
|
|
623
|
+
**Outputs**
|
|
624
|
+
|
|
625
|
+
- Client return type: `{ status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...`
|
|
626
|
+
- OpenAPI response codes: `200`
|
|
627
|
+
|
|
628
|
+
```ts
|
|
629
|
+
import posthog from "@utdk/posthog";
|
|
630
|
+
|
|
631
|
+
type LlmSkillsMarketplaceInstallCommandCreateInput = Parameters<typeof posthog.llmSkillsMarketplaceInstallCommandCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
632
|
+
type LlmSkillsMarketplaceInstallCommandCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsMarketplaceInstallCommandCreate>>;
|
|
633
|
+
|
|
634
|
+
const result: LlmSkillsMarketplaceInstallCommandCreateOutput = await posthog.llmSkillsMarketplaceInstallCommandCreate();
|
|
635
|
+
|
|
636
|
+
// Result shape (from schema): { status: "absent" | "exists" | "created" | "rotated"; connected: boolean; plugin_name: string; marketplace_name: string; label: string; repo_url: string; command: string | null; command_template: string; codex_command:...
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
### `posthog.llmSkillsNameRetrieve`
|
|
640
|
+
|
|
641
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/name/{skill_name}/`
|
|
642
|
+
- **OpenAPI operationId**: `llm_skills_name_retrieve`
|
|
643
|
+
- **Path params**: `skill_name`
|
|
644
|
+
- **Query params**: `version`
|
|
645
|
+
- **Response codes**: `200`
|
|
646
|
+
- **Transport options**: None
|
|
647
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
648
|
+
|
|
649
|
+
**Inputs**
|
|
650
|
+
|
|
651
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
652
|
+
- Client transport options: None
|
|
653
|
+
|
|
654
|
+
**Outputs**
|
|
655
|
+
|
|
656
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
657
|
+
- OpenAPI response codes: `200`
|
|
658
|
+
|
|
659
|
+
```ts
|
|
660
|
+
import posthog from "@utdk/posthog";
|
|
661
|
+
|
|
662
|
+
type LlmSkillsNameRetrieveInput = Parameters<typeof posthog.llmSkillsNameRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
663
|
+
type LlmSkillsNameRetrieveOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameRetrieve>>;
|
|
664
|
+
|
|
665
|
+
const result: LlmSkillsNameRetrieveOutput = await posthog.llmSkillsNameRetrieve();
|
|
666
|
+
|
|
667
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
### `posthog.llmSkillsNamePartialUpdate`
|
|
671
|
+
|
|
672
|
+
- **HTTP**: `PATCH /api/projects/{project_id}/llm_skills/name/{skill_name}/`
|
|
673
|
+
- **OpenAPI operationId**: `llm_skills_name_partial_update`
|
|
674
|
+
- **Path params**: `skill_name`
|
|
675
|
+
- **Query params**: None
|
|
676
|
+
- **Response codes**: `200`
|
|
677
|
+
- **Transport options**: None
|
|
678
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
679
|
+
|
|
680
|
+
**Inputs**
|
|
681
|
+
|
|
682
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
683
|
+
- Client transport options: None
|
|
684
|
+
|
|
685
|
+
**Outputs**
|
|
686
|
+
|
|
687
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
688
|
+
- OpenAPI response codes: `200`
|
|
689
|
+
|
|
690
|
+
```ts
|
|
691
|
+
import posthog from "@utdk/posthog";
|
|
692
|
+
|
|
693
|
+
type LlmSkillsNamePartialUpdateInput = Parameters<typeof posthog.llmSkillsNamePartialUpdate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
694
|
+
type LlmSkillsNamePartialUpdateOutput = Awaited<ReturnType<typeof posthog.llmSkillsNamePartialUpdate>>;
|
|
695
|
+
|
|
696
|
+
const result: LlmSkillsNamePartialUpdateOutput = await posthog.llmSkillsNamePartialUpdate();
|
|
697
|
+
|
|
698
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
699
|
+
```
|
|
700
|
+
|
|
701
|
+
### `posthog.llmSkillsNameArchiveCreate`
|
|
702
|
+
|
|
703
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/name/{skill_name}/archive/`
|
|
704
|
+
- **OpenAPI operationId**: `llm_skills_name_archive_create`
|
|
705
|
+
- **Path params**: `skill_name`
|
|
706
|
+
- **Query params**: None
|
|
707
|
+
- **Response codes**: `204`
|
|
708
|
+
- **Transport options**: None
|
|
709
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
710
|
+
|
|
711
|
+
**Inputs**
|
|
712
|
+
|
|
713
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
714
|
+
- Client transport options: None
|
|
715
|
+
|
|
716
|
+
**Outputs**
|
|
717
|
+
|
|
718
|
+
- Client return type: `unknown`
|
|
719
|
+
- OpenAPI response codes: `204`
|
|
720
|
+
|
|
721
|
+
```ts
|
|
722
|
+
import posthog from "@utdk/posthog";
|
|
723
|
+
|
|
724
|
+
type LlmSkillsNameArchiveCreateInput = Parameters<typeof posthog.llmSkillsNameArchiveCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
725
|
+
type LlmSkillsNameArchiveCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameArchiveCreate>>;
|
|
726
|
+
|
|
727
|
+
const result: LlmSkillsNameArchiveCreateOutput = await posthog.llmSkillsNameArchiveCreate();
|
|
728
|
+
|
|
729
|
+
// Result shape (from schema): unknown
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
### `posthog.llmSkillsNameDuplicateCreate`
|
|
733
|
+
|
|
734
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/name/{skill_name}/duplicate/`
|
|
735
|
+
- **OpenAPI operationId**: `llm_skills_name_duplicate_create`
|
|
736
|
+
- **Path params**: `skill_name`
|
|
737
|
+
- **Query params**: None
|
|
738
|
+
- **Response codes**: `201`
|
|
739
|
+
- **Transport options**: None
|
|
740
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
741
|
+
|
|
742
|
+
**Inputs**
|
|
743
|
+
|
|
744
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
745
|
+
- Client transport options: None
|
|
746
|
+
|
|
747
|
+
**Outputs**
|
|
748
|
+
|
|
749
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
750
|
+
- OpenAPI response codes: `201`
|
|
751
|
+
|
|
752
|
+
```ts
|
|
753
|
+
import posthog from "@utdk/posthog";
|
|
754
|
+
|
|
755
|
+
type LlmSkillsNameDuplicateCreateInput = Parameters<typeof posthog.llmSkillsNameDuplicateCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
756
|
+
type LlmSkillsNameDuplicateCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameDuplicateCreate>>;
|
|
757
|
+
|
|
758
|
+
const result: LlmSkillsNameDuplicateCreateOutput = await posthog.llmSkillsNameDuplicateCreate();
|
|
759
|
+
|
|
760
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
### `posthog.llmSkillsNameExportRetrieve`
|
|
764
|
+
|
|
765
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/name/{skill_name}/export/`
|
|
766
|
+
- **OpenAPI operationId**: `llm_skills_name_export_retrieve`
|
|
767
|
+
- **Path params**: `skill_name`
|
|
768
|
+
- **Query params**: `version`
|
|
769
|
+
- **Response codes**: `200`
|
|
770
|
+
- **Transport options**: None
|
|
771
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
772
|
+
|
|
773
|
+
**Inputs**
|
|
774
|
+
|
|
775
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
776
|
+
- Client transport options: None
|
|
777
|
+
|
|
778
|
+
**Outputs**
|
|
779
|
+
|
|
780
|
+
- Client return type: `string`
|
|
781
|
+
- OpenAPI response codes: `200`
|
|
782
|
+
|
|
783
|
+
```ts
|
|
784
|
+
import posthog from "@utdk/posthog";
|
|
785
|
+
|
|
786
|
+
type LlmSkillsNameExportRetrieveInput = Parameters<typeof posthog.llmSkillsNameExportRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
787
|
+
type LlmSkillsNameExportRetrieveOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameExportRetrieve>>;
|
|
788
|
+
|
|
789
|
+
const result: LlmSkillsNameExportRetrieveOutput = await posthog.llmSkillsNameExportRetrieve();
|
|
790
|
+
|
|
791
|
+
// Result shape (from schema): string
|
|
792
|
+
```
|
|
793
|
+
|
|
794
|
+
### `posthog.llmSkillsNameFilesRenameCreate`
|
|
795
|
+
|
|
796
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/name/{skill_name}/files-rename/`
|
|
797
|
+
- **OpenAPI operationId**: `llm_skills_name_files_rename_create`
|
|
798
|
+
- **Path params**: `skill_name`
|
|
799
|
+
- **Query params**: None
|
|
800
|
+
- **Response codes**: `200`
|
|
801
|
+
- **Transport options**: None
|
|
802
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
803
|
+
|
|
804
|
+
**Inputs**
|
|
805
|
+
|
|
806
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
807
|
+
- Client transport options: None
|
|
808
|
+
|
|
809
|
+
**Outputs**
|
|
810
|
+
|
|
811
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
812
|
+
- OpenAPI response codes: `200`
|
|
813
|
+
|
|
814
|
+
```ts
|
|
815
|
+
import posthog from "@utdk/posthog";
|
|
816
|
+
|
|
817
|
+
type LlmSkillsNameFilesRenameCreateInput = Parameters<typeof posthog.llmSkillsNameFilesRenameCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
818
|
+
type LlmSkillsNameFilesRenameCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameFilesRenameCreate>>;
|
|
819
|
+
|
|
820
|
+
const result: LlmSkillsNameFilesRenameCreateOutput = await posthog.llmSkillsNameFilesRenameCreate();
|
|
821
|
+
|
|
822
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
### `posthog.llmSkillsNameFilesCreate`
|
|
826
|
+
|
|
827
|
+
- **HTTP**: `POST /api/projects/{project_id}/llm_skills/name/{skill_name}/files/`
|
|
828
|
+
- **OpenAPI operationId**: `llm_skills_name_files_create`
|
|
829
|
+
- **Path params**: `skill_name`
|
|
830
|
+
- **Query params**: None
|
|
831
|
+
- **Response codes**: `201`
|
|
832
|
+
- **Transport options**: None
|
|
833
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
834
|
+
|
|
835
|
+
**Inputs**
|
|
836
|
+
|
|
837
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
838
|
+
- Client transport options: None
|
|
839
|
+
|
|
840
|
+
**Outputs**
|
|
841
|
+
|
|
842
|
+
- Client return type: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
843
|
+
- OpenAPI response codes: `201`
|
|
844
|
+
|
|
845
|
+
```ts
|
|
846
|
+
import posthog from "@utdk/posthog";
|
|
847
|
+
|
|
848
|
+
type LlmSkillsNameFilesCreateInput = Parameters<typeof posthog.llmSkillsNameFilesCreate> extends [infer T, ...unknown[]] ? T : undefined;
|
|
849
|
+
type LlmSkillsNameFilesCreateOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameFilesCreate>>;
|
|
850
|
+
|
|
851
|
+
const result: LlmSkillsNameFilesCreateOutput = await posthog.llmSkillsNameFilesCreate();
|
|
852
|
+
|
|
853
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
854
|
+
```
|
|
855
|
+
|
|
856
|
+
### `posthog.llmSkillsNameFilesDestroy`
|
|
857
|
+
|
|
858
|
+
- **HTTP**: `DELETE /api/projects/{project_id}/llm_skills/name/{skill_name}/files/{file_path}/`
|
|
859
|
+
- **OpenAPI operationId**: `llm_skills_name_files_destroy`
|
|
860
|
+
- **Path params**: `file_path`, `skill_name`
|
|
861
|
+
- **Query params**: `base_version`
|
|
862
|
+
- **Response codes**: `200`
|
|
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: `{ id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...`
|
|
874
|
+
- OpenAPI response codes: `200`
|
|
875
|
+
|
|
876
|
+
```ts
|
|
877
|
+
import posthog from "@utdk/posthog";
|
|
878
|
+
|
|
879
|
+
type LlmSkillsNameFilesDestroyInput = Parameters<typeof posthog.llmSkillsNameFilesDestroy> extends [infer T, ...unknown[]] ? T : undefined;
|
|
880
|
+
type LlmSkillsNameFilesDestroyOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameFilesDestroy>>;
|
|
881
|
+
|
|
882
|
+
const result: LlmSkillsNameFilesDestroyOutput = await posthog.llmSkillsNameFilesDestroy();
|
|
883
|
+
|
|
884
|
+
// Result shape (from schema): { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: string; conte...
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
### `posthog.llmSkillsNameFilesRetrieve`
|
|
888
|
+
|
|
889
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/name/{skill_name}/files/{file_path}/`
|
|
890
|
+
- **OpenAPI operationId**: `llm_skills_name_files_retrieve`
|
|
891
|
+
- **Path params**: `file_path`, `skill_name`
|
|
892
|
+
- **Query params**: `version`
|
|
893
|
+
- **Response codes**: `200`
|
|
894
|
+
- **Transport options**: None
|
|
895
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
896
|
+
|
|
897
|
+
**Inputs**
|
|
898
|
+
|
|
899
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
900
|
+
- Client transport options: None
|
|
901
|
+
|
|
902
|
+
**Outputs**
|
|
903
|
+
|
|
904
|
+
- Client return type: `{ path: string; content: string; content_type?: string }`
|
|
905
|
+
- OpenAPI response codes: `200`
|
|
906
|
+
|
|
907
|
+
```ts
|
|
908
|
+
import posthog from "@utdk/posthog";
|
|
909
|
+
|
|
910
|
+
type LlmSkillsNameFilesRetrieveInput = Parameters<typeof posthog.llmSkillsNameFilesRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
911
|
+
type LlmSkillsNameFilesRetrieveOutput = Awaited<ReturnType<typeof posthog.llmSkillsNameFilesRetrieve>>;
|
|
912
|
+
|
|
913
|
+
const result: LlmSkillsNameFilesRetrieveOutput = await posthog.llmSkillsNameFilesRetrieve();
|
|
914
|
+
|
|
915
|
+
// Result shape (from schema): { path: string; content: string; content_type?: string }
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### `posthog.llmSkillsResolveNameRetrieve`
|
|
919
|
+
|
|
920
|
+
- **HTTP**: `GET /api/projects/{project_id}/llm_skills/resolve/name/{skill_name}/`
|
|
921
|
+
- **OpenAPI operationId**: `llm_skills_resolve_name_retrieve`
|
|
922
|
+
- **Path params**: `skill_name`
|
|
923
|
+
- **Query params**: `before_version`, `limit`, `offset`, `version`, `version_id`
|
|
924
|
+
- **Response codes**: `200`
|
|
925
|
+
- **Transport options**: None
|
|
926
|
+
- **TypeScript**: [Client interface](../types.ts)
|
|
927
|
+
|
|
928
|
+
**Inputs**
|
|
929
|
+
|
|
930
|
+
- Client input type: `{ [key: string]: unknown }`
|
|
931
|
+
- Client transport options: None
|
|
932
|
+
|
|
933
|
+
**Outputs**
|
|
934
|
+
|
|
935
|
+
- Client return type: `{ skill: { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: stri...`
|
|
936
|
+
- OpenAPI response codes: `200`
|
|
937
|
+
|
|
938
|
+
```ts
|
|
939
|
+
import posthog from "@utdk/posthog";
|
|
940
|
+
|
|
941
|
+
type LlmSkillsResolveNameRetrieveInput = Parameters<typeof posthog.llmSkillsResolveNameRetrieve> extends [infer T, ...unknown[]] ? T : undefined;
|
|
942
|
+
type LlmSkillsResolveNameRetrieveOutput = Awaited<ReturnType<typeof posthog.llmSkillsResolveNameRetrieve>>;
|
|
943
|
+
|
|
944
|
+
const result: LlmSkillsResolveNameRetrieveOutput = await posthog.llmSkillsResolveNameRetrieve();
|
|
945
|
+
|
|
946
|
+
// Result shape (from schema): { skill: { id: string; name: string; description: string; body: string; license?: string; compatibility?: string; allowed_tools?: (string)[]; metadata?: { [key: string]: unknown }; category: string; files: ({ path: stri...
|
|
947
|
+
```
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
<!-- prompt-hash:
|
|
951
|
+
8c3694991a4c289225f05a4e8f1e098cc74d085a088d7dffd82f00d93797b7f8
|
|
952
|
+
-->
|