@oursprivacy/platform-sdk 1.42.2 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +14 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +14 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/audience-conversion-reports.d.mts +216 -0
  12. package/resources/audience-conversion-reports.d.mts.map +1 -0
  13. package/resources/audience-conversion-reports.d.ts +216 -0
  14. package/resources/audience-conversion-reports.d.ts.map +1 -0
  15. package/resources/audience-conversion-reports.js +55 -0
  16. package/resources/audience-conversion-reports.js.map +1 -0
  17. package/resources/audience-conversion-reports.mjs +51 -0
  18. package/resources/audience-conversion-reports.mjs.map +1 -0
  19. package/resources/conversion-journey-summaries.d.mts +169 -0
  20. package/resources/conversion-journey-summaries.d.mts.map +1 -0
  21. package/resources/conversion-journey-summaries.d.ts +169 -0
  22. package/resources/conversion-journey-summaries.d.ts.map +1 -0
  23. package/resources/conversion-journey-summaries.js +51 -0
  24. package/resources/conversion-journey-summaries.js.map +1 -0
  25. package/resources/conversion-journey-summaries.mjs +47 -0
  26. package/resources/conversion-journey-summaries.mjs.map +1 -0
  27. package/resources/destinations.d.mts +38 -17
  28. package/resources/destinations.d.mts.map +1 -1
  29. package/resources/destinations.d.ts +38 -17
  30. package/resources/destinations.d.ts.map +1 -1
  31. package/resources/experiments.d.mts +6 -4
  32. package/resources/experiments.d.mts.map +1 -1
  33. package/resources/experiments.d.ts +6 -4
  34. package/resources/experiments.d.ts.map +1 -1
  35. package/resources/experiments.js +4 -3
  36. package/resources/experiments.js.map +1 -1
  37. package/resources/experiments.mjs +4 -3
  38. package/resources/experiments.mjs.map +1 -1
  39. package/resources/funnels.d.mts +844 -21
  40. package/resources/funnels.d.mts.map +1 -1
  41. package/resources/funnels.d.ts +844 -21
  42. package/resources/funnels.d.ts.map +1 -1
  43. package/resources/funnels.js +30 -6
  44. package/resources/funnels.js.map +1 -1
  45. package/resources/funnels.mjs +30 -6
  46. package/resources/funnels.mjs.map +1 -1
  47. package/resources/index.d.mts +5 -1
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +5 -1
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +9 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +4 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/versions.d.mts +40 -0
  56. package/resources/versions.d.mts.map +1 -1
  57. package/resources/versions.d.ts +40 -0
  58. package/resources/versions.d.ts.map +1 -1
  59. package/resources/video-channels.d.mts +237 -0
  60. package/resources/video-channels.d.mts.map +1 -0
  61. package/resources/video-channels.d.ts +237 -0
  62. package/resources/video-channels.d.ts.map +1 -0
  63. package/resources/video-channels.js +95 -0
  64. package/resources/video-channels.js.map +1 -0
  65. package/resources/video-channels.mjs +91 -0
  66. package/resources/video-channels.mjs.map +1 -0
  67. package/resources/videos.d.mts +251 -0
  68. package/resources/videos.d.mts.map +1 -0
  69. package/resources/videos.d.ts +251 -0
  70. package/resources/videos.d.ts.map +1 -0
  71. package/resources/videos.js +81 -0
  72. package/resources/videos.js.map +1 -0
  73. package/resources/videos.mjs +77 -0
  74. package/resources/videos.mjs.map +1 -0
  75. package/resources/web-scanners.d.mts +53 -8
  76. package/resources/web-scanners.d.mts.map +1 -1
  77. package/resources/web-scanners.d.ts +53 -8
  78. package/resources/web-scanners.d.ts.map +1 -1
  79. package/resources/web-scanners.js +9 -8
  80. package/resources/web-scanners.js.map +1 -1
  81. package/resources/web-scanners.mjs +9 -8
  82. package/resources/web-scanners.mjs.map +1 -1
  83. package/src/client.ts +146 -0
  84. package/src/resources/audience-conversion-reports.ts +466 -0
  85. package/src/resources/conversion-journey-summaries.ts +384 -0
  86. package/src/resources/destinations.ts +158 -12
  87. package/src/resources/experiments.ts +6 -4
  88. package/src/resources/funnels.ts +1400 -20
  89. package/src/resources/index.ts +67 -0
  90. package/src/resources/versions.ts +50 -0
  91. package/src/resources/video-channels.ts +405 -0
  92. package/src/resources/videos.ts +418 -0
  93. package/src/resources/web-scanners.ts +73 -8
  94. package/src/version.ts +1 -1
  95. package/version.d.mts +1 -1
  96. package/version.d.ts +1 -1
  97. package/version.js +1 -1
  98. package/version.mjs +1 -1
@@ -87,8 +87,8 @@ export interface DestinationListResponse {
87
87
  status: 'Disabled' | 'Enabled';
88
88
 
89
89
  /**
90
- * Destination type. Read responses may include warehouse or cloud-storage types
91
- * that are not creatable through POST /rest/v1/destinations.
90
+ * Destination type. Read responses may include warehouse, cloud-storage, and
91
+ * audience-sync types that are not creatable through POST /rest/v1/destinations.
92
92
  */
93
93
  type:
94
94
  | 'AWSEventBridge'
@@ -117,6 +117,7 @@ export interface DestinationListResponse {
117
117
  | 'DomoWarehouse'
118
118
  | 'Everflow'
119
119
  | 'Facebook'
120
+ | 'FacebookAudience'
120
121
  | 'FloodlightSGTM'
121
122
  | 'FullContact'
122
123
  | 'G4Analytics'
@@ -125,6 +126,7 @@ export interface DestinationListResponse {
125
126
  | 'Google'
126
127
  | 'GoogleAds360'
127
128
  | 'GoogleAdsServerContainer'
129
+ | 'GoogleAudience'
128
130
  | 'GoogleBigQuery'
129
131
  | 'GoogleBigQueryWarehouse'
130
132
  | 'GoogleDataManagerEventIngest'
@@ -141,6 +143,7 @@ export interface DestinationListResponse {
141
143
  | 'LiveIntent'
142
144
  | 'LiveRampWarehouse'
143
145
  | 'MNTN'
146
+ | 'MNTNAudience'
144
147
  | 'Mailchimp'
145
148
  | 'Mixpanel'
146
149
  | 'NextdoorAds'
@@ -155,12 +158,14 @@ export interface DestinationListResponse {
155
158
  | 'QuantcastCAPI'
156
159
  | 'QuoraAds'
157
160
  | 'Reddit'
161
+ | 'Rokt'
158
162
  | 'RokuCAPI'
159
163
  | 'SnapchatAdsCapi'
160
164
  | 'Spotify'
161
165
  | 'StackAdaptAPI'
162
166
  | 'Taboola'
163
167
  | 'Tatari'
168
+ | 'TatariCAPI'
164
169
  | 'TheTradeDesk'
165
170
  | 'TikTok'
166
171
  | 'UniversalAds'
@@ -168,6 +173,7 @@ export interface DestinationListResponse {
168
173
  | 'Viant'
169
174
  | 'ViantCAPI'
170
175
  | 'Vibe'
176
+ | 'VibeAudience'
171
177
  | 'Woopra'
172
178
  | 'XAds'
173
179
  | 'YelpCAPI'
@@ -194,8 +200,8 @@ export interface DestinationCreateResponse {
194
200
  status: 'Disabled' | 'Enabled';
195
201
 
196
202
  /**
197
- * Destination type. Read responses may include warehouse or cloud-storage types
198
- * that are not creatable through POST /rest/v1/destinations.
203
+ * Destination type. Read responses may include warehouse, cloud-storage, and
204
+ * audience-sync types that are not creatable through POST /rest/v1/destinations.
199
205
  */
200
206
  type:
201
207
  | 'AWSEventBridge'
@@ -224,6 +230,7 @@ export interface DestinationCreateResponse {
224
230
  | 'DomoWarehouse'
225
231
  | 'Everflow'
226
232
  | 'Facebook'
233
+ | 'FacebookAudience'
227
234
  | 'FloodlightSGTM'
228
235
  | 'FullContact'
229
236
  | 'G4Analytics'
@@ -232,6 +239,7 @@ export interface DestinationCreateResponse {
232
239
  | 'Google'
233
240
  | 'GoogleAds360'
234
241
  | 'GoogleAdsServerContainer'
242
+ | 'GoogleAudience'
235
243
  | 'GoogleBigQuery'
236
244
  | 'GoogleBigQueryWarehouse'
237
245
  | 'GoogleDataManagerEventIngest'
@@ -248,6 +256,7 @@ export interface DestinationCreateResponse {
248
256
  | 'LiveIntent'
249
257
  | 'LiveRampWarehouse'
250
258
  | 'MNTN'
259
+ | 'MNTNAudience'
251
260
  | 'Mailchimp'
252
261
  | 'Mixpanel'
253
262
  | 'NextdoorAds'
@@ -262,12 +271,14 @@ export interface DestinationCreateResponse {
262
271
  | 'QuantcastCAPI'
263
272
  | 'QuoraAds'
264
273
  | 'Reddit'
274
+ | 'Rokt'
265
275
  | 'RokuCAPI'
266
276
  | 'SnapchatAdsCapi'
267
277
  | 'Spotify'
268
278
  | 'StackAdaptAPI'
269
279
  | 'Taboola'
270
280
  | 'Tatari'
281
+ | 'TatariCAPI'
271
282
  | 'TheTradeDesk'
272
283
  | 'TikTok'
273
284
  | 'UniversalAds'
@@ -275,6 +286,7 @@ export interface DestinationCreateResponse {
275
286
  | 'Viant'
276
287
  | 'ViantCAPI'
277
288
  | 'Vibe'
289
+ | 'VibeAudience'
278
290
  | 'Woopra'
279
291
  | 'XAds'
280
292
  | 'YelpCAPI'
@@ -301,8 +313,8 @@ export interface DestinationRetrieveResponse {
301
313
  status: 'Disabled' | 'Enabled';
302
314
 
303
315
  /**
304
- * Destination type. Read responses may include warehouse or cloud-storage types
305
- * that are not creatable through POST /rest/v1/destinations.
316
+ * Destination type. Read responses may include warehouse, cloud-storage, and
317
+ * audience-sync types that are not creatable through POST /rest/v1/destinations.
306
318
  */
307
319
  type:
308
320
  | 'AWSEventBridge'
@@ -331,6 +343,7 @@ export interface DestinationRetrieveResponse {
331
343
  | 'DomoWarehouse'
332
344
  | 'Everflow'
333
345
  | 'Facebook'
346
+ | 'FacebookAudience'
334
347
  | 'FloodlightSGTM'
335
348
  | 'FullContact'
336
349
  | 'G4Analytics'
@@ -339,6 +352,7 @@ export interface DestinationRetrieveResponse {
339
352
  | 'Google'
340
353
  | 'GoogleAds360'
341
354
  | 'GoogleAdsServerContainer'
355
+ | 'GoogleAudience'
342
356
  | 'GoogleBigQuery'
343
357
  | 'GoogleBigQueryWarehouse'
344
358
  | 'GoogleDataManagerEventIngest'
@@ -355,6 +369,7 @@ export interface DestinationRetrieveResponse {
355
369
  | 'LiveIntent'
356
370
  | 'LiveRampWarehouse'
357
371
  | 'MNTN'
372
+ | 'MNTNAudience'
358
373
  | 'Mailchimp'
359
374
  | 'Mixpanel'
360
375
  | 'NextdoorAds'
@@ -369,12 +384,14 @@ export interface DestinationRetrieveResponse {
369
384
  | 'QuantcastCAPI'
370
385
  | 'QuoraAds'
371
386
  | 'Reddit'
387
+ | 'Rokt'
372
388
  | 'RokuCAPI'
373
389
  | 'SnapchatAdsCapi'
374
390
  | 'Spotify'
375
391
  | 'StackAdaptAPI'
376
392
  | 'Taboola'
377
393
  | 'Tatari'
394
+ | 'TatariCAPI'
378
395
  | 'TheTradeDesk'
379
396
  | 'TikTok'
380
397
  | 'UniversalAds'
@@ -382,6 +399,7 @@ export interface DestinationRetrieveResponse {
382
399
  | 'Viant'
383
400
  | 'ViantCAPI'
384
401
  | 'Vibe'
402
+ | 'VibeAudience'
385
403
  | 'Woopra'
386
404
  | 'XAds'
387
405
  | 'YelpCAPI'
@@ -408,8 +426,8 @@ export interface DestinationUpdateResponse {
408
426
  status: 'Disabled' | 'Enabled';
409
427
 
410
428
  /**
411
- * Destination type. Read responses may include warehouse or cloud-storage types
412
- * that are not creatable through POST /rest/v1/destinations.
429
+ * Destination type. Read responses may include warehouse, cloud-storage, and
430
+ * audience-sync types that are not creatable through POST /rest/v1/destinations.
413
431
  */
414
432
  type:
415
433
  | 'AWSEventBridge'
@@ -438,6 +456,7 @@ export interface DestinationUpdateResponse {
438
456
  | 'DomoWarehouse'
439
457
  | 'Everflow'
440
458
  | 'Facebook'
459
+ | 'FacebookAudience'
441
460
  | 'FloodlightSGTM'
442
461
  | 'FullContact'
443
462
  | 'G4Analytics'
@@ -446,6 +465,7 @@ export interface DestinationUpdateResponse {
446
465
  | 'Google'
447
466
  | 'GoogleAds360'
448
467
  | 'GoogleAdsServerContainer'
468
+ | 'GoogleAudience'
449
469
  | 'GoogleBigQuery'
450
470
  | 'GoogleBigQueryWarehouse'
451
471
  | 'GoogleDataManagerEventIngest'
@@ -462,6 +482,7 @@ export interface DestinationUpdateResponse {
462
482
  | 'LiveIntent'
463
483
  | 'LiveRampWarehouse'
464
484
  | 'MNTN'
485
+ | 'MNTNAudience'
465
486
  | 'Mailchimp'
466
487
  | 'Mixpanel'
467
488
  | 'NextdoorAds'
@@ -476,12 +497,14 @@ export interface DestinationUpdateResponse {
476
497
  | 'QuantcastCAPI'
477
498
  | 'QuoraAds'
478
499
  | 'Reddit'
500
+ | 'Rokt'
479
501
  | 'RokuCAPI'
480
502
  | 'SnapchatAdsCapi'
481
503
  | 'Spotify'
482
504
  | 'StackAdaptAPI'
483
505
  | 'Taboola'
484
506
  | 'Tatari'
507
+ | 'TatariCAPI'
485
508
  | 'TheTradeDesk'
486
509
  | 'TikTok'
487
510
  | 'UniversalAds'
@@ -489,6 +512,7 @@ export interface DestinationUpdateResponse {
489
512
  | 'Viant'
490
513
  | 'ViantCAPI'
491
514
  | 'Vibe'
515
+ | 'VibeAudience'
492
516
  | 'Woopra'
493
517
  | 'XAds'
494
518
  | 'YelpCAPI'
@@ -775,6 +799,7 @@ export interface DestinationListParams extends CursorParams {
775
799
  | 'DomoWarehouse'
776
800
  | 'Everflow'
777
801
  | 'Facebook'
802
+ | 'FacebookAudience'
778
803
  | 'FloodlightSGTM'
779
804
  | 'FullContact'
780
805
  | 'G4Analytics'
@@ -783,6 +808,7 @@ export interface DestinationListParams extends CursorParams {
783
808
  | 'Google'
784
809
  | 'GoogleAds360'
785
810
  | 'GoogleAdsServerContainer'
811
+ | 'GoogleAudience'
786
812
  | 'GoogleBigQuery'
787
813
  | 'GoogleBigQueryWarehouse'
788
814
  | 'GoogleDataManagerEventIngest'
@@ -799,6 +825,7 @@ export interface DestinationListParams extends CursorParams {
799
825
  | 'LiveIntent'
800
826
  | 'LiveRampWarehouse'
801
827
  | 'MNTN'
828
+ | 'MNTNAudience'
802
829
  | 'Mailchimp'
803
830
  | 'Mixpanel'
804
831
  | 'NextdoorAds'
@@ -813,12 +840,14 @@ export interface DestinationListParams extends CursorParams {
813
840
  | 'QuantcastCAPI'
814
841
  | 'QuoraAds'
815
842
  | 'Reddit'
843
+ | 'Rokt'
816
844
  | 'RokuCAPI'
817
845
  | 'SnapchatAdsCapi'
818
846
  | 'Spotify'
819
847
  | 'StackAdaptAPI'
820
848
  | 'Taboola'
821
849
  | 'Tatari'
850
+ | 'TatariCAPI'
822
851
  | 'TheTradeDesk'
823
852
  | 'TikTok'
824
853
  | 'UniversalAds'
@@ -826,6 +855,7 @@ export interface DestinationListParams extends CursorParams {
826
855
  | 'Viant'
827
856
  | 'ViantCAPI'
828
857
  | 'Vibe'
858
+ | 'VibeAudience'
829
859
  | 'Woopra'
830
860
  | 'XAds'
831
861
  | 'YelpCAPI'
@@ -836,9 +866,10 @@ export interface DestinationListParams extends CursorParams {
836
866
 
837
867
  export interface DestinationCreateParams {
838
868
  /**
839
- * Event-dispatch destination type to create. Warehouse and cloud-storage
840
- * destination types may appear on read responses but are not creatable through
841
- * POST.
869
+ * Event-dispatch destination type to create. Warehouse, cloud-storage, and
870
+ * audience-sync destination types may appear on read responses but are not
871
+ * creatable through POST. Audience destinations receive audience membership from
872
+ * Audience Builder on a daily schedule and are configured in the dashboard.
842
873
  */
843
874
  type:
844
875
  | 'Audiohook'
@@ -886,6 +917,7 @@ export interface DestinationCreateParams {
886
917
  | 'Partnerize'
887
918
  | 'NextdoorAds'
888
919
  | 'Tatari'
920
+ | 'TatariCAPI'
889
921
  | 'Viant'
890
922
  | 'ViantCAPI'
891
923
  | 'Impact'
@@ -914,7 +946,8 @@ export interface DestinationCreateParams {
914
946
  | 'OpenAIAds'
915
947
  | 'YelpCAPI'
916
948
  | 'MNTN'
917
- | 'ZohoCRM';
949
+ | 'ZohoCRM'
950
+ | 'Rokt';
918
951
 
919
952
  name?: string | null;
920
953
 
@@ -926,8 +959,20 @@ export interface DestinationCreateParams {
926
959
  }
927
960
 
928
961
  export interface DestinationUpdateParams {
962
+ /**
963
+ * Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
964
+ * PATCH round-trips.
965
+ */
966
+ createdAt?: string;
967
+
929
968
  hashingSalt?: string | null;
930
969
 
970
+ /**
971
+ * Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
972
+ * PATCH round-trips.
973
+ */
974
+ id?: string;
975
+
931
976
  limitedToSourceIds?: Array<string> | null;
932
977
 
933
978
  name?: string | null;
@@ -939,6 +984,107 @@ export interface DestinationUpdateParams {
939
984
  settings?: unknown | null;
940
985
 
941
986
  status?: 'Disabled' | 'Enabled' | null;
987
+
988
+ /**
989
+ * Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
990
+ * PATCH round-trips.
991
+ */
992
+ type?:
993
+ | 'AWSEventBridge'
994
+ | 'AWSKinesis'
995
+ | 'AWSLambda'
996
+ | 'AWSS3'
997
+ | 'AWSSNS'
998
+ | 'ActiveCampaignApi'
999
+ | 'Admitad'
1000
+ | 'AdobeAnalytics'
1001
+ | 'AmazonDSP'
1002
+ | 'Amplitude'
1003
+ | 'AppLovin'
1004
+ | 'ArtsAI'
1005
+ | 'Attentive'
1006
+ | 'Audiohook'
1007
+ | 'AzureBlob'
1008
+ | 'BasisPostback'
1009
+ | 'BeeswaxPostback'
1010
+ | 'BingAds'
1011
+ | 'BingAdsWeb'
1012
+ | 'Braze'
1013
+ | 'ConvertABTestingEvent'
1014
+ | 'Customerio'
1015
+ | 'DatabricksWarehouse'
1016
+ | 'DomoWarehouse'
1017
+ | 'Everflow'
1018
+ | 'Facebook'
1019
+ | 'FacebookAudience'
1020
+ | 'FloodlightSGTM'
1021
+ | 'FullContact'
1022
+ | 'G4Analytics'
1023
+ | 'GA4MeasurementProtocol'
1024
+ | 'GA4ServerProxy'
1025
+ | 'Google'
1026
+ | 'GoogleAds360'
1027
+ | 'GoogleAdsServerContainer'
1028
+ | 'GoogleAudience'
1029
+ | 'GoogleBigQuery'
1030
+ | 'GoogleBigQueryWarehouse'
1031
+ | 'GoogleDataManagerEventIngest'
1032
+ | 'GooglePubSub'
1033
+ | 'GoogleStorage'
1034
+ | 'HTTPCustomRequest'
1035
+ | 'HTTPDestination'
1036
+ | 'Hubspot'
1037
+ | 'IHeartMediaMagellan'
1038
+ | 'Impact'
1039
+ | 'Iterable'
1040
+ | 'Klaviyo'
1041
+ | 'LinkedInAdsCAPI'
1042
+ | 'LiveIntent'
1043
+ | 'LiveRampWarehouse'
1044
+ | 'MNTN'
1045
+ | 'MNTNAudience'
1046
+ | 'Mailchimp'
1047
+ | 'Mixpanel'
1048
+ | 'NextdoorAds'
1049
+ | 'OpenAIAds'
1050
+ | 'OursSyntheticData'
1051
+ | 'Outbrain'
1052
+ | 'Partnerize'
1053
+ | 'Pinterest'
1054
+ | 'Plausible'
1055
+ | 'Podscribe'
1056
+ | 'PostHog'
1057
+ | 'QuantcastCAPI'
1058
+ | 'QuoraAds'
1059
+ | 'Reddit'
1060
+ | 'Rokt'
1061
+ | 'RokuCAPI'
1062
+ | 'SnapchatAdsCapi'
1063
+ | 'Spotify'
1064
+ | 'StackAdaptAPI'
1065
+ | 'Taboola'
1066
+ | 'Tatari'
1067
+ | 'TatariCAPI'
1068
+ | 'TheTradeDesk'
1069
+ | 'TikTok'
1070
+ | 'UniversalAds'
1071
+ | 'VWO'
1072
+ | 'Viant'
1073
+ | 'ViantCAPI'
1074
+ | 'Vibe'
1075
+ | 'VibeAudience'
1076
+ | 'Woopra'
1077
+ | 'XAds'
1078
+ | 'YelpCAPI'
1079
+ | 'Zendesk'
1080
+ | 'ZohoCRM'
1081
+ | 'ZoomInfo';
1082
+
1083
+ /**
1084
+ * Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
1085
+ * PATCH round-trips.
1086
+ */
1087
+ updatedAt?: string | null;
942
1088
  }
943
1089
 
944
1090
  export declare namespace Destinations {
@@ -62,9 +62,10 @@ export class Experiments extends APIResource {
62
62
  }
63
63
 
64
64
  /**
65
- * Partially update an experiment. Only the fields you send are changed. Edits are
66
- * allowed on draft, running, and paused experiments and are recorded in the change
67
- * log. Only completed experiments return 409 with
65
+ * Partially update an experiment. Only the fields you send are changed, except
66
+ * renaming a non-draft legacy experiment with no stored key preserves its current
67
+ * name-derived key. Edits are allowed on draft, running, and paused experiments and
68
+ * are recorded in the change log. Only completed experiments return 409 with
68
69
  * `A completed experiment can no longer be edited`. Use the lifecycle endpoints
69
70
  * (`/start`, `/pause`, `/resume`, `/stop`) to change status. Requires scope:
70
71
  * experiment:update
@@ -3401,7 +3402,8 @@ export interface ExperimentUpdateParams {
3401
3402
 
3402
3403
  /**
3403
3404
  * Updated stable code-facing key. When blank, the API falls back to a slugified
3404
- * key derived from the current experiment name.
3405
+ * key derived from the current experiment name. Renaming a non-draft legacy
3406
+ * experiment with no stored key preserves its current name-derived key.
3405
3407
  */
3406
3408
  key?: string | null;
3407
3409