@lovable.dev/sdk 1.4.0 → 1.4.1

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/dist/index.d.ts CHANGED
@@ -53,10 +53,8 @@ interface paths {
53
53
  cookie?: never;
54
54
  };
55
55
  /**
56
- * Query workspace audit logs (Preview)
56
+ * Query workspace audit logs
57
57
  * @description Returns workspace audit log entries newest first (event timestamp descending, event ID as the cursor tie-breaker), paginated via an opaque cursor. Pass workspace_id as a query parameter.
58
- *
59
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
60
58
  */
61
59
  get: operations["get-v1-audit-logs"];
62
60
  put?: never;
@@ -75,10 +73,8 @@ interface paths {
75
73
  cookie?: never;
76
74
  };
77
75
  /**
78
- * List project collaborators (Preview)
76
+ * List project collaborators
79
77
  * @description Returns the users with direct access to this project. Pass project_id as a query parameter.
80
- *
81
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
82
78
  */
83
79
  get: operations["get-v1-collaborators"];
84
80
  put?: never;
@@ -117,10 +113,8 @@ interface paths {
117
113
  cookie?: never;
118
114
  };
119
115
  /**
120
- * Get workspace credit history (Preview)
116
+ * Get workspace credit history
121
117
  * @description Returns the workspace's credit grant, expiry, adjustment, and conversion history, ordered by occurred_at descending with entry ID as the cursor tie-breaker. Pass workspace_id as a query parameter.
122
- *
123
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
124
118
  */
125
119
  get: operations["get-v1-credit-history"];
126
120
  put?: never;
@@ -139,10 +133,8 @@ interface paths {
139
133
  cookie?: never;
140
134
  };
141
135
  /**
142
- * Get workspace credit balance (Preview)
136
+ * Get workspace credit balance
143
137
  * @description Returns the workspace's aggregated credit balance, daily limit, billing-period usage, expiring grants, and per-bucket balances. Pass workspace_id as a query parameter.
144
- *
145
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
146
138
  */
147
139
  get: operations["get-v1-credits"];
148
140
  put?: never;
@@ -366,10 +358,8 @@ interface paths {
366
358
  cookie?: never;
367
359
  };
368
360
  /**
369
- * List workspace members (Preview)
361
+ * List workspace members
370
362
  * @description Returns a paginated list of workspace members, filtered by role and status. Pass workspace_id as a query parameter.
371
- *
372
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
373
363
  */
374
364
  get: operations["get-v1-members"];
375
365
  put?: never;
@@ -390,10 +380,8 @@ interface paths {
390
380
  get?: never;
391
381
  put?: never;
392
382
  /**
393
- * Bulk-set member credit limits (Preview)
383
+ * Bulk-set member credit limits
394
384
  * @description Sets or clears the monthly credit limit for up to 50 members in one request. Returns HTTP 200 with a per-member result; an individual failure does not fail the request. Pass workspace_id in the request body.
395
- *
396
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
397
385
  */
398
386
  post: operations["post-v1-members-bulk-set-credit-limit"];
399
387
  delete?: never;
@@ -416,10 +404,8 @@ interface paths {
416
404
  options?: never;
417
405
  head?: never;
418
406
  /**
419
- * Update a member's credit limit (Preview)
407
+ * Update a member's credit limit
420
408
  * @description Sets or clears a workspace member's monthly credit limit. Pass workspace_id in the request body and the member's user_id in the path.
421
- *
422
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
423
409
  */
424
410
  patch: operations["patch-v1-members-user_id"];
425
411
  trace?: never;
@@ -517,10 +503,8 @@ interface paths {
517
503
  cookie?: never;
518
504
  };
519
505
  /**
520
- * List PII labels (Preview)
506
+ * List PII labels
521
507
  * @description Returns PII labels detected for the project, newest first. Pass project_id as a query parameter.
522
- *
523
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
524
508
  */
525
509
  get: operations["get-v1-pii-labels"];
526
510
  put?: never;
@@ -1040,10 +1024,8 @@ interface paths {
1040
1024
  cookie?: never;
1041
1025
  };
1042
1026
  /**
1043
- * Get workspace security overview (Preview)
1027
+ * Get workspace security overview
1044
1028
  * @description Returns the workspace security summary. Pass workspace_id as a query parameter.
1045
- *
1046
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1047
1029
  */
1048
1030
  get: operations["get-v1-security-dashboard"];
1049
1031
  put?: never;
@@ -1062,10 +1044,8 @@ interface paths {
1062
1044
  cookie?: never;
1063
1045
  };
1064
1046
  /**
1065
- * List workspace security project inventory (Preview)
1047
+ * List workspace security project inventory
1066
1048
  * @description Returns the review-priority-ranked project inventory for the workspace, sorted by the selected sort_by (default last_edited, or relevance when query is set) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1067
- *
1068
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1069
1049
  */
1070
1050
  get: operations["get-v1-security-dashboard-projects"];
1071
1051
  put?: never;
@@ -1084,18 +1064,14 @@ interface paths {
1084
1064
  cookie?: never;
1085
1065
  };
1086
1066
  /**
1087
- * List security scans (Preview)
1067
+ * List security scans
1088
1068
  * @description Returns the project's security scan invocations, newest first. Pass project_id as a query parameter.
1089
- *
1090
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1091
1069
  */
1092
1070
  get: operations["get-v1-security-scans"];
1093
1071
  put?: never;
1094
1072
  /**
1095
- * Trigger security scan (Preview)
1073
+ * Trigger security scan
1096
1074
  * @description Starts a security scan for the project's latest commit and returns a scan_id. Pass project_id in the request body.
1097
- *
1098
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1099
1075
  */
1100
1076
  post: operations["post-v1-security-scans"];
1101
1077
  delete?: never;
@@ -1112,10 +1088,8 @@ interface paths {
1112
1088
  cookie?: never;
1113
1089
  };
1114
1090
  /**
1115
- * Get security scan (Preview)
1091
+ * Get security scan
1116
1092
  * @description Returns a single security scan invocation with per-scanner run details and findings. Pass project_id as a query parameter.
1117
- *
1118
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1119
1093
  */
1120
1094
  get: operations["get-v1-security-scans-scan_id"];
1121
1095
  put?: never;
@@ -1134,10 +1108,8 @@ interface paths {
1134
1108
  cookie?: never;
1135
1109
  };
1136
1110
  /**
1137
- * Get workspace settings (Preview)
1111
+ * Get workspace settings
1138
1112
  * @description Returns a curated subset of the workspace's settings. Pass workspace_id as a query parameter.
1139
- *
1140
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1141
1113
  */
1142
1114
  get: operations["get-v1-settings"];
1143
1115
  put?: never;
@@ -1146,10 +1118,8 @@ interface paths {
1146
1118
  options?: never;
1147
1119
  head?: never;
1148
1120
  /**
1149
- * Update workspace settings (Preview)
1121
+ * Update workspace settings
1150
1122
  * @description Updates writable workspace settings. Currently supports the default per-member monthly credit limit. Pass workspace_id in the request body.
1151
- *
1152
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1153
1123
  */
1154
1124
  patch: operations["patch-v1-settings"];
1155
1125
  trace?: never;
@@ -1202,10 +1172,8 @@ interface paths {
1202
1172
  cookie?: never;
1203
1173
  };
1204
1174
  /**
1205
- * Get workspace usage breakdown (Preview)
1175
+ * Get workspace usage breakdown
1206
1176
  * @description Returns per-member credit usage rows, ordered by the selected sort_by field (default total_credits_used_in_billing_period descending) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1207
- *
1208
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1209
1177
  */
1210
1178
  get: operations["get-v1-usage-breakdown"];
1211
1179
  put?: never;
@@ -1224,10 +1192,8 @@ interface paths {
1224
1192
  cookie?: never;
1225
1193
  };
1226
1194
  /**
1227
- * Get caller's workspace usage (Preview)
1195
+ * Get caller's workspace usage
1228
1196
  * @description Returns the calling user's own credit usage in the workspace for the current calendar month. Pass workspace_id as a query parameter.
1229
- *
1230
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1231
1197
  */
1232
1198
  get: operations["get-v1-usage-me"];
1233
1199
  put?: never;
@@ -1246,10 +1212,8 @@ interface paths {
1246
1212
  cookie?: never;
1247
1213
  };
1248
1214
  /**
1249
- * Get workspace usage by project (Preview)
1215
+ * Get workspace usage by project
1250
1216
  * @description Returns per-project credit usage for a time window, ordered by total credits descending with project ID ascending as the cursor tie-breaker. Pass workspace_id as a query parameter.
1251
- *
1252
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1253
1217
  */
1254
1218
  get: operations["get-v1-usage-projects"];
1255
1219
  put?: never;
@@ -1268,10 +1232,8 @@ interface paths {
1268
1232
  cookie?: never;
1269
1233
  };
1270
1234
  /**
1271
- * Get workspace usage time series (Preview)
1235
+ * Get workspace usage time series
1272
1236
  * @description Returns historical credit usage bucketed by day, week, or month, ordered by period_start ascending. Pass workspace_id as a query parameter.
1273
- *
1274
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1275
1237
  */
1276
1238
  get: operations["get-v1-usage-timeseries"];
1277
1239
  put?: never;
@@ -4148,10 +4110,7 @@ interface operations {
4148
4110
  /** @description RFC3339 inclusive end of the time range. Defaults to now. */
4149
4111
  end_date?: string;
4150
4112
  };
4151
- header: {
4152
- /** @description Required for public preview endpoints. Set to true on every request. */
4153
- "X-Enable-Beta": "true";
4154
- };
4113
+ header?: never;
4155
4114
  path?: never;
4156
4115
  cookie?: never;
4157
4116
  };
@@ -4187,10 +4146,7 @@ interface operations {
4187
4146
  /** @description Opaque pagination cursor returned by the previous page */
4188
4147
  cursor?: string;
4189
4148
  };
4190
- header: {
4191
- /** @description Required for public preview endpoints. Set to true on every request. */
4192
- "X-Enable-Beta": "true";
4193
- };
4149
+ header?: never;
4194
4150
  path?: never;
4195
4151
  cookie?: never;
4196
4152
  };
@@ -4268,10 +4224,7 @@ interface operations {
4268
4224
  /** @description Opaque pagination cursor returned by the previous page */
4269
4225
  cursor?: string;
4270
4226
  };
4271
- header: {
4272
- /** @description Required for public preview endpoints. Set to true on every request. */
4273
- "X-Enable-Beta": "true";
4274
- };
4227
+ header?: never;
4275
4228
  path?: never;
4276
4229
  cookie?: never;
4277
4230
  };
@@ -4303,10 +4256,7 @@ interface operations {
4303
4256
  /** @description Workspace ID */
4304
4257
  workspace_id: string;
4305
4258
  };
4306
- header: {
4307
- /** @description Required for public preview endpoints. Set to true on every request. */
4308
- "X-Enable-Beta": "true";
4309
- };
4259
+ header?: never;
4310
4260
  path?: never;
4311
4261
  cookie?: never;
4312
4262
  };
@@ -4731,10 +4681,7 @@ interface operations {
4731
4681
  /** @description Filter by SCIM provisioning status. Empty = all members, 'managed' = only SCIM-provisioned members, 'unmanaged' = only members not managed by SCIM. */
4732
4682
  scim_managed?: "managed" | "unmanaged";
4733
4683
  };
4734
- header: {
4735
- /** @description Required for public preview endpoints. Set to true on every request. */
4736
- "X-Enable-Beta": "true";
4737
- };
4684
+ header?: never;
4738
4685
  path?: never;
4739
4686
  cookie?: never;
4740
4687
  };
@@ -4763,10 +4710,7 @@ interface operations {
4763
4710
  "post-v1-members-bulk-set-credit-limit": {
4764
4711
  parameters: {
4765
4712
  query?: never;
4766
- header: {
4767
- /** @description Required for public preview endpoints. Set to true on every request. */
4768
- "X-Enable-Beta": "true";
4769
- };
4713
+ header?: never;
4770
4714
  path?: never;
4771
4715
  cookie?: never;
4772
4716
  };
@@ -4799,10 +4743,7 @@ interface operations {
4799
4743
  "patch-v1-members-user_id": {
4800
4744
  parameters: {
4801
4745
  query?: never;
4802
- header: {
4803
- /** @description Required for public preview endpoints. Set to true on every request. */
4804
- "X-Enable-Beta": "true";
4805
- };
4746
+ header?: never;
4806
4747
  path: {
4807
4748
  /** @description User ID of the member to update (the user_id returned by GET /v1/members; active members only). */
4808
4749
  user_id: string;
@@ -5006,10 +4947,7 @@ interface operations {
5006
4947
  /** @description Opaque cursor returned by a previous page; omit for the first page */
5007
4948
  cursor?: string;
5008
4949
  };
5009
- header: {
5010
- /** @description Required for public preview endpoints. Set to true on every request. */
5011
- "X-Enable-Beta": "true";
5012
- };
4950
+ header?: never;
5013
4951
  path?: never;
5014
4952
  cookie?: never;
5015
4953
  };
@@ -6055,10 +5993,7 @@ interface operations {
6055
5993
  /** @description Repeat to keep only findings at these review priorities (needs_review=critical, review_recommended=high+medium, no_review_needed=low+minimal). Omit for all. */
6056
5994
  severity?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
6057
5995
  };
6058
- header: {
6059
- /** @description Required for public preview endpoints. Set to true on every request. */
6060
- "X-Enable-Beta": "true";
6061
- };
5996
+ header?: never;
6062
5997
  path?: never;
6063
5998
  cookie?: never;
6064
5999
  };
@@ -6114,10 +6049,7 @@ interface operations {
6114
6049
  /** @description Repeat to filter to projects matching any of the listed catalog findings (e.g. public_pii_exposure, abandoned_published). Unknown finding ids return 400. */
6115
6050
  finding_id?: string[] | null;
6116
6051
  };
6117
- header: {
6118
- /** @description Required for public preview endpoints. Set to true on every request. */
6119
- "X-Enable-Beta": "true";
6120
- };
6052
+ header?: never;
6121
6053
  path?: never;
6122
6054
  cookie?: never;
6123
6055
  };
@@ -6153,10 +6085,7 @@ interface operations {
6153
6085
  /** @description Opaque cursor from a prior response */
6154
6086
  cursor?: string;
6155
6087
  };
6156
- header: {
6157
- /** @description Required for public preview endpoints. Set to true on every request. */
6158
- "X-Enable-Beta": "true";
6159
- };
6088
+ header?: never;
6160
6089
  path?: never;
6161
6090
  cookie?: never;
6162
6091
  };
@@ -6185,10 +6114,7 @@ interface operations {
6185
6114
  "post-v1-security-scans": {
6186
6115
  parameters: {
6187
6116
  query?: never;
6188
- header: {
6189
- /** @description Required for public preview endpoints. Set to true on every request. */
6190
- "X-Enable-Beta": "true";
6191
- };
6117
+ header?: never;
6192
6118
  path?: never;
6193
6119
  cookie?: never;
6194
6120
  };
@@ -6224,10 +6150,7 @@ interface operations {
6224
6150
  /** @description Project ID */
6225
6151
  project_id: string;
6226
6152
  };
6227
- header: {
6228
- /** @description Required for public preview endpoints. Set to true on every request. */
6229
- "X-Enable-Beta": "true";
6230
- };
6153
+ header?: never;
6231
6154
  path: {
6232
6155
  /** @description Scan invocation ID from the list endpoint */
6233
6156
  scan_id: string;
@@ -6262,10 +6185,7 @@ interface operations {
6262
6185
  /** @description Workspace ID */
6263
6186
  workspace_id: string;
6264
6187
  };
6265
- header: {
6266
- /** @description Required for public preview endpoints. Set to true on every request. */
6267
- "X-Enable-Beta": "true";
6268
- };
6188
+ header?: never;
6269
6189
  path?: never;
6270
6190
  cookie?: never;
6271
6191
  };
@@ -6294,10 +6214,7 @@ interface operations {
6294
6214
  "patch-v1-settings": {
6295
6215
  parameters: {
6296
6216
  query?: never;
6297
- header: {
6298
- /** @description Required for public preview endpoints. Set to true on every request. */
6299
- "X-Enable-Beta": "true";
6300
- };
6217
+ header?: never;
6301
6218
  path?: never;
6302
6219
  cookie?: never;
6303
6220
  };
@@ -6415,10 +6332,7 @@ interface operations {
6415
6332
  /** @description Opaque pagination cursor returned by the previous page */
6416
6333
  cursor?: string;
6417
6334
  };
6418
- header: {
6419
- /** @description Required for public preview endpoints. Set to true on every request. */
6420
- "X-Enable-Beta": "true";
6421
- };
6335
+ header?: never;
6422
6336
  path?: never;
6423
6337
  cookie?: never;
6424
6338
  };
@@ -6450,10 +6364,7 @@ interface operations {
6450
6364
  /** @description Workspace ID */
6451
6365
  workspace_id: string;
6452
6366
  };
6453
- header: {
6454
- /** @description Required for public preview endpoints. Set to true on every request. */
6455
- "X-Enable-Beta": "true";
6456
- };
6367
+ header?: never;
6457
6368
  path?: never;
6458
6369
  cookie?: never;
6459
6370
  };
@@ -6495,10 +6406,7 @@ interface operations {
6495
6406
  /** @description Opaque pagination cursor returned by the previous page */
6496
6407
  cursor?: string;
6497
6408
  };
6498
- header: {
6499
- /** @description Required for public preview endpoints. Set to true on every request. */
6500
- "X-Enable-Beta": "true";
6501
- };
6409
+ header?: never;
6502
6410
  path?: never;
6503
6411
  cookie?: never;
6504
6412
  };
@@ -6546,10 +6454,7 @@ interface operations {
6546
6454
  /** @description Opaque pagination cursor returned by the previous page */
6547
6455
  cursor?: string;
6548
6456
  };
6549
- header: {
6550
- /** @description Required for public preview endpoints. Set to true on every request. */
6551
- "X-Enable-Beta": "true";
6552
- };
6457
+ header?: never;
6553
6458
  path?: never;
6554
6459
  cookie?: never;
6555
6460
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovable.dev/sdk",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "TypeScript SDK for the Lovable API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -52,10 +52,8 @@ export interface paths {
52
52
  cookie?: never;
53
53
  };
54
54
  /**
55
- * Query workspace audit logs (Preview)
55
+ * Query workspace audit logs
56
56
  * @description Returns workspace audit log entries newest first (event timestamp descending, event ID as the cursor tie-breaker), paginated via an opaque cursor. Pass workspace_id as a query parameter.
57
- *
58
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
59
57
  */
60
58
  get: operations["get-v1-audit-logs"];
61
59
  put?: never;
@@ -74,10 +72,8 @@ export interface paths {
74
72
  cookie?: never;
75
73
  };
76
74
  /**
77
- * List project collaborators (Preview)
75
+ * List project collaborators
78
76
  * @description Returns the users with direct access to this project. Pass project_id as a query parameter.
79
- *
80
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
81
77
  */
82
78
  get: operations["get-v1-collaborators"];
83
79
  put?: never;
@@ -116,10 +112,8 @@ export interface paths {
116
112
  cookie?: never;
117
113
  };
118
114
  /**
119
- * Get workspace credit history (Preview)
115
+ * Get workspace credit history
120
116
  * @description Returns the workspace's credit grant, expiry, adjustment, and conversion history, ordered by occurred_at descending with entry ID as the cursor tie-breaker. Pass workspace_id as a query parameter.
121
- *
122
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
123
117
  */
124
118
  get: operations["get-v1-credit-history"];
125
119
  put?: never;
@@ -138,10 +132,8 @@ export interface paths {
138
132
  cookie?: never;
139
133
  };
140
134
  /**
141
- * Get workspace credit balance (Preview)
135
+ * Get workspace credit balance
142
136
  * @description Returns the workspace's aggregated credit balance, daily limit, billing-period usage, expiring grants, and per-bucket balances. Pass workspace_id as a query parameter.
143
- *
144
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
145
137
  */
146
138
  get: operations["get-v1-credits"];
147
139
  put?: never;
@@ -365,10 +357,8 @@ export interface paths {
365
357
  cookie?: never;
366
358
  };
367
359
  /**
368
- * List workspace members (Preview)
360
+ * List workspace members
369
361
  * @description Returns a paginated list of workspace members, filtered by role and status. Pass workspace_id as a query parameter.
370
- *
371
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
372
362
  */
373
363
  get: operations["get-v1-members"];
374
364
  put?: never;
@@ -389,10 +379,8 @@ export interface paths {
389
379
  get?: never;
390
380
  put?: never;
391
381
  /**
392
- * Bulk-set member credit limits (Preview)
382
+ * Bulk-set member credit limits
393
383
  * @description Sets or clears the monthly credit limit for up to 50 members in one request. Returns HTTP 200 with a per-member result; an individual failure does not fail the request. Pass workspace_id in the request body.
394
- *
395
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
396
384
  */
397
385
  post: operations["post-v1-members-bulk-set-credit-limit"];
398
386
  delete?: never;
@@ -415,10 +403,8 @@ export interface paths {
415
403
  options?: never;
416
404
  head?: never;
417
405
  /**
418
- * Update a member's credit limit (Preview)
406
+ * Update a member's credit limit
419
407
  * @description Sets or clears a workspace member's monthly credit limit. Pass workspace_id in the request body and the member's user_id in the path.
420
- *
421
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
422
408
  */
423
409
  patch: operations["patch-v1-members-user_id"];
424
410
  trace?: never;
@@ -516,10 +502,8 @@ export interface paths {
516
502
  cookie?: never;
517
503
  };
518
504
  /**
519
- * List PII labels (Preview)
505
+ * List PII labels
520
506
  * @description Returns PII labels detected for the project, newest first. Pass project_id as a query parameter.
521
- *
522
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
523
507
  */
524
508
  get: operations["get-v1-pii-labels"];
525
509
  put?: never;
@@ -1039,10 +1023,8 @@ export interface paths {
1039
1023
  cookie?: never;
1040
1024
  };
1041
1025
  /**
1042
- * Get workspace security overview (Preview)
1026
+ * Get workspace security overview
1043
1027
  * @description Returns the workspace security summary. Pass workspace_id as a query parameter.
1044
- *
1045
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1046
1028
  */
1047
1029
  get: operations["get-v1-security-dashboard"];
1048
1030
  put?: never;
@@ -1061,10 +1043,8 @@ export interface paths {
1061
1043
  cookie?: never;
1062
1044
  };
1063
1045
  /**
1064
- * List workspace security project inventory (Preview)
1046
+ * List workspace security project inventory
1065
1047
  * @description Returns the review-priority-ranked project inventory for the workspace, sorted by the selected sort_by (default last_edited, or relevance when query is set) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1066
- *
1067
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1068
1048
  */
1069
1049
  get: operations["get-v1-security-dashboard-projects"];
1070
1050
  put?: never;
@@ -1083,18 +1063,14 @@ export interface paths {
1083
1063
  cookie?: never;
1084
1064
  };
1085
1065
  /**
1086
- * List security scans (Preview)
1066
+ * List security scans
1087
1067
  * @description Returns the project's security scan invocations, newest first. Pass project_id as a query parameter.
1088
- *
1089
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1090
1068
  */
1091
1069
  get: operations["get-v1-security-scans"];
1092
1070
  put?: never;
1093
1071
  /**
1094
- * Trigger security scan (Preview)
1072
+ * Trigger security scan
1095
1073
  * @description Starts a security scan for the project's latest commit and returns a scan_id. Pass project_id in the request body.
1096
- *
1097
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1098
1074
  */
1099
1075
  post: operations["post-v1-security-scans"];
1100
1076
  delete?: never;
@@ -1111,10 +1087,8 @@ export interface paths {
1111
1087
  cookie?: never;
1112
1088
  };
1113
1089
  /**
1114
- * Get security scan (Preview)
1090
+ * Get security scan
1115
1091
  * @description Returns a single security scan invocation with per-scanner run details and findings. Pass project_id as a query parameter.
1116
- *
1117
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1118
1092
  */
1119
1093
  get: operations["get-v1-security-scans-scan_id"];
1120
1094
  put?: never;
@@ -1133,10 +1107,8 @@ export interface paths {
1133
1107
  cookie?: never;
1134
1108
  };
1135
1109
  /**
1136
- * Get workspace settings (Preview)
1110
+ * Get workspace settings
1137
1111
  * @description Returns a curated subset of the workspace's settings. Pass workspace_id as a query parameter.
1138
- *
1139
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1140
1112
  */
1141
1113
  get: operations["get-v1-settings"];
1142
1114
  put?: never;
@@ -1145,10 +1117,8 @@ export interface paths {
1145
1117
  options?: never;
1146
1118
  head?: never;
1147
1119
  /**
1148
- * Update workspace settings (Preview)
1120
+ * Update workspace settings
1149
1121
  * @description Updates writable workspace settings. Currently supports the default per-member monthly credit limit. Pass workspace_id in the request body.
1150
- *
1151
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1152
1122
  */
1153
1123
  patch: operations["patch-v1-settings"];
1154
1124
  trace?: never;
@@ -1201,10 +1171,8 @@ export interface paths {
1201
1171
  cookie?: never;
1202
1172
  };
1203
1173
  /**
1204
- * Get workspace usage breakdown (Preview)
1174
+ * Get workspace usage breakdown
1205
1175
  * @description Returns per-member credit usage rows, ordered by the selected sort_by field (default total_credits_used_in_billing_period descending) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1206
- *
1207
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1208
1176
  */
1209
1177
  get: operations["get-v1-usage-breakdown"];
1210
1178
  put?: never;
@@ -1223,10 +1191,8 @@ export interface paths {
1223
1191
  cookie?: never;
1224
1192
  };
1225
1193
  /**
1226
- * Get caller's workspace usage (Preview)
1194
+ * Get caller's workspace usage
1227
1195
  * @description Returns the calling user's own credit usage in the workspace for the current calendar month. Pass workspace_id as a query parameter.
1228
- *
1229
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1230
1196
  */
1231
1197
  get: operations["get-v1-usage-me"];
1232
1198
  put?: never;
@@ -1245,10 +1211,8 @@ export interface paths {
1245
1211
  cookie?: never;
1246
1212
  };
1247
1213
  /**
1248
- * Get workspace usage by project (Preview)
1214
+ * Get workspace usage by project
1249
1215
  * @description Returns per-project credit usage for a time window, ordered by total credits descending with project ID ascending as the cursor tie-breaker. Pass workspace_id as a query parameter.
1250
- *
1251
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1252
1216
  */
1253
1217
  get: operations["get-v1-usage-projects"];
1254
1218
  put?: never;
@@ -1267,10 +1231,8 @@ export interface paths {
1267
1231
  cookie?: never;
1268
1232
  };
1269
1233
  /**
1270
- * Get workspace usage time series (Preview)
1234
+ * Get workspace usage time series
1271
1235
  * @description Returns historical credit usage bucketed by day, week, or month, ordered by period_start ascending. Pass workspace_id as a query parameter.
1272
- *
1273
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1274
1236
  */
1275
1237
  get: operations["get-v1-usage-timeseries"];
1276
1238
  put?: never;
@@ -4149,10 +4111,7 @@ export interface operations {
4149
4111
  /** @description RFC3339 inclusive end of the time range. Defaults to now. */
4150
4112
  end_date?: string;
4151
4113
  };
4152
- header: {
4153
- /** @description Required for public preview endpoints. Set to true on every request. */
4154
- "X-Enable-Beta": "true";
4155
- };
4114
+ header?: never;
4156
4115
  path?: never;
4157
4116
  cookie?: never;
4158
4117
  };
@@ -4188,10 +4147,7 @@ export interface operations {
4188
4147
  /** @description Opaque pagination cursor returned by the previous page */
4189
4148
  cursor?: string;
4190
4149
  };
4191
- header: {
4192
- /** @description Required for public preview endpoints. Set to true on every request. */
4193
- "X-Enable-Beta": "true";
4194
- };
4150
+ header?: never;
4195
4151
  path?: never;
4196
4152
  cookie?: never;
4197
4153
  };
@@ -4269,10 +4225,7 @@ export interface operations {
4269
4225
  /** @description Opaque pagination cursor returned by the previous page */
4270
4226
  cursor?: string;
4271
4227
  };
4272
- header: {
4273
- /** @description Required for public preview endpoints. Set to true on every request. */
4274
- "X-Enable-Beta": "true";
4275
- };
4228
+ header?: never;
4276
4229
  path?: never;
4277
4230
  cookie?: never;
4278
4231
  };
@@ -4304,10 +4257,7 @@ export interface operations {
4304
4257
  /** @description Workspace ID */
4305
4258
  workspace_id: string;
4306
4259
  };
4307
- header: {
4308
- /** @description Required for public preview endpoints. Set to true on every request. */
4309
- "X-Enable-Beta": "true";
4310
- };
4260
+ header?: never;
4311
4261
  path?: never;
4312
4262
  cookie?: never;
4313
4263
  };
@@ -4732,10 +4682,7 @@ export interface operations {
4732
4682
  /** @description Filter by SCIM provisioning status. Empty = all members, 'managed' = only SCIM-provisioned members, 'unmanaged' = only members not managed by SCIM. */
4733
4683
  scim_managed?: "managed" | "unmanaged";
4734
4684
  };
4735
- header: {
4736
- /** @description Required for public preview endpoints. Set to true on every request. */
4737
- "X-Enable-Beta": "true";
4738
- };
4685
+ header?: never;
4739
4686
  path?: never;
4740
4687
  cookie?: never;
4741
4688
  };
@@ -4764,10 +4711,7 @@ export interface operations {
4764
4711
  "post-v1-members-bulk-set-credit-limit": {
4765
4712
  parameters: {
4766
4713
  query?: never;
4767
- header: {
4768
- /** @description Required for public preview endpoints. Set to true on every request. */
4769
- "X-Enable-Beta": "true";
4770
- };
4714
+ header?: never;
4771
4715
  path?: never;
4772
4716
  cookie?: never;
4773
4717
  };
@@ -4800,10 +4744,7 @@ export interface operations {
4800
4744
  "patch-v1-members-user_id": {
4801
4745
  parameters: {
4802
4746
  query?: never;
4803
- header: {
4804
- /** @description Required for public preview endpoints. Set to true on every request. */
4805
- "X-Enable-Beta": "true";
4806
- };
4747
+ header?: never;
4807
4748
  path: {
4808
4749
  /** @description User ID of the member to update (the user_id returned by GET /v1/members; active members only). */
4809
4750
  user_id: string;
@@ -5007,10 +4948,7 @@ export interface operations {
5007
4948
  /** @description Opaque cursor returned by a previous page; omit for the first page */
5008
4949
  cursor?: string;
5009
4950
  };
5010
- header: {
5011
- /** @description Required for public preview endpoints. Set to true on every request. */
5012
- "X-Enable-Beta": "true";
5013
- };
4951
+ header?: never;
5014
4952
  path?: never;
5015
4953
  cookie?: never;
5016
4954
  };
@@ -6056,10 +5994,7 @@ export interface operations {
6056
5994
  /** @description Repeat to keep only findings at these review priorities (needs_review=critical, review_recommended=high+medium, no_review_needed=low+minimal). Omit for all. */
6057
5995
  severity?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
6058
5996
  };
6059
- header: {
6060
- /** @description Required for public preview endpoints. Set to true on every request. */
6061
- "X-Enable-Beta": "true";
6062
- };
5997
+ header?: never;
6063
5998
  path?: never;
6064
5999
  cookie?: never;
6065
6000
  };
@@ -6115,10 +6050,7 @@ export interface operations {
6115
6050
  /** @description Repeat to filter to projects matching any of the listed catalog findings (e.g. public_pii_exposure, abandoned_published). Unknown finding ids return 400. */
6116
6051
  finding_id?: string[] | null;
6117
6052
  };
6118
- header: {
6119
- /** @description Required for public preview endpoints. Set to true on every request. */
6120
- "X-Enable-Beta": "true";
6121
- };
6053
+ header?: never;
6122
6054
  path?: never;
6123
6055
  cookie?: never;
6124
6056
  };
@@ -6154,10 +6086,7 @@ export interface operations {
6154
6086
  /** @description Opaque cursor from a prior response */
6155
6087
  cursor?: string;
6156
6088
  };
6157
- header: {
6158
- /** @description Required for public preview endpoints. Set to true on every request. */
6159
- "X-Enable-Beta": "true";
6160
- };
6089
+ header?: never;
6161
6090
  path?: never;
6162
6091
  cookie?: never;
6163
6092
  };
@@ -6186,10 +6115,7 @@ export interface operations {
6186
6115
  "post-v1-security-scans": {
6187
6116
  parameters: {
6188
6117
  query?: never;
6189
- header: {
6190
- /** @description Required for public preview endpoints. Set to true on every request. */
6191
- "X-Enable-Beta": "true";
6192
- };
6118
+ header?: never;
6193
6119
  path?: never;
6194
6120
  cookie?: never;
6195
6121
  };
@@ -6225,10 +6151,7 @@ export interface operations {
6225
6151
  /** @description Project ID */
6226
6152
  project_id: string;
6227
6153
  };
6228
- header: {
6229
- /** @description Required for public preview endpoints. Set to true on every request. */
6230
- "X-Enable-Beta": "true";
6231
- };
6154
+ header?: never;
6232
6155
  path: {
6233
6156
  /** @description Scan invocation ID from the list endpoint */
6234
6157
  scan_id: string;
@@ -6263,10 +6186,7 @@ export interface operations {
6263
6186
  /** @description Workspace ID */
6264
6187
  workspace_id: string;
6265
6188
  };
6266
- header: {
6267
- /** @description Required for public preview endpoints. Set to true on every request. */
6268
- "X-Enable-Beta": "true";
6269
- };
6189
+ header?: never;
6270
6190
  path?: never;
6271
6191
  cookie?: never;
6272
6192
  };
@@ -6295,10 +6215,7 @@ export interface operations {
6295
6215
  "patch-v1-settings": {
6296
6216
  parameters: {
6297
6217
  query?: never;
6298
- header: {
6299
- /** @description Required for public preview endpoints. Set to true on every request. */
6300
- "X-Enable-Beta": "true";
6301
- };
6218
+ header?: never;
6302
6219
  path?: never;
6303
6220
  cookie?: never;
6304
6221
  };
@@ -6416,10 +6333,7 @@ export interface operations {
6416
6333
  /** @description Opaque pagination cursor returned by the previous page */
6417
6334
  cursor?: string;
6418
6335
  };
6419
- header: {
6420
- /** @description Required for public preview endpoints. Set to true on every request. */
6421
- "X-Enable-Beta": "true";
6422
- };
6336
+ header?: never;
6423
6337
  path?: never;
6424
6338
  cookie?: never;
6425
6339
  };
@@ -6451,10 +6365,7 @@ export interface operations {
6451
6365
  /** @description Workspace ID */
6452
6366
  workspace_id: string;
6453
6367
  };
6454
- header: {
6455
- /** @description Required for public preview endpoints. Set to true on every request. */
6456
- "X-Enable-Beta": "true";
6457
- };
6368
+ header?: never;
6458
6369
  path?: never;
6459
6370
  cookie?: never;
6460
6371
  };
@@ -6496,10 +6407,7 @@ export interface operations {
6496
6407
  /** @description Opaque pagination cursor returned by the previous page */
6497
6408
  cursor?: string;
6498
6409
  };
6499
- header: {
6500
- /** @description Required for public preview endpoints. Set to true on every request. */
6501
- "X-Enable-Beta": "true";
6502
- };
6410
+ header?: never;
6503
6411
  path?: never;
6504
6412
  cookie?: never;
6505
6413
  };
@@ -6547,10 +6455,7 @@ export interface operations {
6547
6455
  /** @description Opaque pagination cursor returned by the previous page */
6548
6456
  cursor?: string;
6549
6457
  };
6550
- header: {
6551
- /** @description Required for public preview endpoints. Set to true on every request. */
6552
- "X-Enable-Beta": "true";
6553
- };
6458
+ header?: never;
6554
6459
  path?: never;
6555
6460
  cookie?: never;
6556
6461
  };