@lovable.dev/sdk 1.7.5 → 1.9.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.
- package/README.md +158 -308
- package/dist/index.d.ts +934 -722
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +2920 -267
- package/dist/schemas.js +675 -202
- package/dist/schemas.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +2 -0
- package/src/generated/paths.ts +916 -707
- package/src/generated/version.ts +1 -1
- package/src/generated/zod/zod.gen.ts +517 -190
- package/src/index.ts +1 -0
- package/src/schemas-deprecated.ts +234 -0
- package/src/schemas.ts +11 -17
- package/src/types.ts +18 -15
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ interface paths {
|
|
|
120
120
|
/**
|
|
121
121
|
* Get workspace credit history
|
|
122
122
|
* @deprecated
|
|
123
|
-
* @description Deprecated compatibility alias — prefer GET /v1/workspaces/{workspace_id}/billing/credit-history. 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.
|
|
123
|
+
* @description Deprecated compatibility alias — prefer GET /v1/workspaces/{workspace_id}/billing/credit-history. Returns the workspace's credit grant, expiry, adjustment, and conversion history, ordered by occurred_at descending with entry ID as the cursor tie-breaker. Entries sharing a credit_grant_id describe one grant's lifecycle; a granted entry with a near-immediate offsetting adjustment is a grant whose remainder was voided early, for example by a plan change, refund, or administrative action. Pass workspace_id as a query parameter.
|
|
124
124
|
*/
|
|
125
125
|
get: operations["get-v1-credit-history"];
|
|
126
126
|
put?: never;
|
|
@@ -355,9 +355,9 @@ interface paths {
|
|
|
355
355
|
};
|
|
356
356
|
/**
|
|
357
357
|
* Get current user
|
|
358
|
-
* @description Returns the authenticated user's profile and workspaces.
|
|
358
|
+
* @description Returns the authenticated user's profile and workspaces accessible with these credentials. A workspace-scoped API key returns only its workspace.
|
|
359
359
|
*/
|
|
360
|
-
get: operations["
|
|
360
|
+
get: operations["getMe"];
|
|
361
361
|
put?: never;
|
|
362
362
|
post?: never;
|
|
363
363
|
delete?: never;
|
|
@@ -571,11 +571,12 @@ interface paths {
|
|
|
571
571
|
* List projects
|
|
572
572
|
* @description Returns projects in a workspace, sorted by last edited time descending then project ID ascending. Pass workspace_id as a query parameter.
|
|
573
573
|
*/
|
|
574
|
-
get: operations["
|
|
574
|
+
get: operations["listProjects"];
|
|
575
575
|
put?: never;
|
|
576
576
|
/**
|
|
577
577
|
* Create project
|
|
578
|
-
* @
|
|
578
|
+
* @deprecated
|
|
579
|
+
* @description Creates a project in workspace_id. Set initial_message to start an AI response after creation. To copy an existing project, set source_project_id; this returns 202 with a job_id to poll at GET /v1/remix-jobs/{job_id}. Project creation and remix completion do not indicate that the AI has finished processing initial_message.
|
|
579
580
|
*/
|
|
580
581
|
post: operations["post-v1-projects"];
|
|
581
582
|
delete?: never;
|
|
@@ -595,21 +596,21 @@ interface paths {
|
|
|
595
596
|
* Get project
|
|
596
597
|
* @description Returns project details.
|
|
597
598
|
*/
|
|
598
|
-
get: operations["
|
|
599
|
+
get: operations["getProject"];
|
|
599
600
|
put?: never;
|
|
600
601
|
post?: never;
|
|
601
602
|
/**
|
|
602
603
|
* Delete project
|
|
603
|
-
* @description
|
|
604
|
+
* @description Deletes a project. Where trash is available the project can be restored from the Lovable editor; otherwise the deletion is permanent and custom domains are disconnected immediately. Repeated deletes are treated as successful.
|
|
604
605
|
*/
|
|
605
|
-
delete: operations["
|
|
606
|
+
delete: operations["deleteProject"];
|
|
606
607
|
options?: never;
|
|
607
608
|
head?: never;
|
|
608
609
|
/**
|
|
609
610
|
* Update project
|
|
610
|
-
* @description Updates
|
|
611
|
+
* @description Updates project sharing, display name, or description. Omitted fields keep their current values. This does not change access to the published app; use PATCH /v1/projects/{project_id}/publish for that.
|
|
611
612
|
*/
|
|
612
|
-
patch: operations["
|
|
613
|
+
patch: operations["updateProject"];
|
|
613
614
|
trace?: never;
|
|
614
615
|
};
|
|
615
616
|
"/v1/projects/{project_id}/analytics": {
|
|
@@ -621,9 +622,9 @@ interface paths {
|
|
|
621
622
|
};
|
|
622
623
|
/**
|
|
623
624
|
* Get project analytics
|
|
624
|
-
* @description Returns
|
|
625
|
+
* @description Returns website traffic for a published project: a time series and up to 10 items in each traffic breakdown by default, or visitor counts for the last 30 minutes. Date ranges are limited to 365 days, or 31 days with one-hour buckets. Some projects retain analytics for 90 days; older buckets are returned with zero values.
|
|
625
626
|
*/
|
|
626
|
-
get: operations["
|
|
627
|
+
get: operations["getProjectAnalytics"];
|
|
627
628
|
put?: never;
|
|
628
629
|
post?: never;
|
|
629
630
|
delete?: never;
|
|
@@ -662,9 +663,9 @@ interface paths {
|
|
|
662
663
|
};
|
|
663
664
|
/**
|
|
664
665
|
* List project collaborators
|
|
665
|
-
* @description Returns
|
|
666
|
+
* @description Returns users with direct access to this project. The owner appears only when they also hold an explicit grant; see user_id on GET /v1/projects/{project_id}. Excludes pending invitations to email addresses without a Lovable account.
|
|
666
667
|
*/
|
|
667
|
-
get: operations["
|
|
668
|
+
get: operations["listProjectCollaborators"];
|
|
668
669
|
put?: never;
|
|
669
670
|
post?: never;
|
|
670
671
|
delete?: never;
|
|
@@ -768,9 +769,9 @@ interface paths {
|
|
|
768
769
|
put?: never;
|
|
769
770
|
/**
|
|
770
771
|
* Create embed URL
|
|
771
|
-
* @description Creates a
|
|
772
|
+
* @description Creates a preview URL valid for one hour that can be loaded in an iframe on one exact HTTPS origin. Visitors do not need a Lovable login. It shows the project's built preview; it does not grant access to the editor or the published app.
|
|
772
773
|
*/
|
|
773
|
-
post: operations["
|
|
774
|
+
post: operations["createEmbedUrl"];
|
|
774
775
|
delete?: never;
|
|
775
776
|
options?: never;
|
|
776
777
|
head?: never;
|
|
@@ -942,10 +943,10 @@ interface paths {
|
|
|
942
943
|
cookie?: never;
|
|
943
944
|
};
|
|
944
945
|
/**
|
|
945
|
-
* List
|
|
946
|
-
* @description Returns
|
|
946
|
+
* List personal data findings
|
|
947
|
+
* @description Returns findings of personally identifiable information (PII) in the project, newest first, including open, ignored, and fixed findings. Personal data detection must be enabled for the workspace; otherwise this endpoint returns 404.
|
|
947
948
|
*/
|
|
948
|
-
get: operations["
|
|
949
|
+
get: operations["listPiiLabels"];
|
|
949
950
|
put?: never;
|
|
950
951
|
post?: never;
|
|
951
952
|
delete?: never;
|
|
@@ -965,17 +966,17 @@ interface paths {
|
|
|
965
966
|
put?: never;
|
|
966
967
|
/**
|
|
967
968
|
* Publish project
|
|
968
|
-
* @description Builds and deploys the project.
|
|
969
|
+
* @description Builds and deploys the project. Returns 202 with a deployment_id; poll GET /v1/projects/{project_id}/publish/{deployment_id} until deployment finishes. Optionally set visibility to choose who can view the published app. Omit visibility to keep the current setting. Visibility changes apply to the currently published version immediately, before the new deployment finishes.
|
|
969
970
|
*/
|
|
970
|
-
post: operations["
|
|
971
|
+
post: operations["publishProject"];
|
|
971
972
|
delete?: never;
|
|
972
973
|
options?: never;
|
|
973
974
|
head?: never;
|
|
974
975
|
/**
|
|
975
976
|
* Update publish settings
|
|
976
|
-
* @description
|
|
977
|
+
* @description Changes published app access without rebuilding the app. Set visibility to public, workspace, or custom. With custom visibility, audience replaces group and user grants and removes workspace-wide access; organization access and email invitations managed in the UI are preserved. Set is_published to false to take the app offline while retaining its settings for the next publish. Changes take effect immediately.
|
|
977
978
|
*/
|
|
978
|
-
patch: operations["
|
|
979
|
+
patch: operations["updatePublishSettings"];
|
|
979
980
|
trace?: never;
|
|
980
981
|
};
|
|
981
982
|
"/v1/projects/{project_id}/publish/{deployment_id}": {
|
|
@@ -987,9 +988,9 @@ interface paths {
|
|
|
987
988
|
};
|
|
988
989
|
/**
|
|
989
990
|
* Get publish status
|
|
990
|
-
* @description Returns the status of an async publish started with POST /v1/projects/{project_id}/publish, keyed by the deployment_id it returned. Poll until
|
|
991
|
+
* @description Returns the status of an async publish started with POST /v1/projects/{project_id}/publish, keyed by the deployment_id it returned. Poll until deployment succeeds (url is set) or fails (error_message explains the failure). Poll no more than once every 2 seconds and honor Retry-After on 429 responses.
|
|
991
992
|
*/
|
|
992
|
-
get: operations["
|
|
993
|
+
get: operations["getDeployment"];
|
|
993
994
|
put?: never;
|
|
994
995
|
post?: never;
|
|
995
996
|
delete?: never;
|
|
@@ -1049,15 +1050,15 @@ interface paths {
|
|
|
1049
1050
|
};
|
|
1050
1051
|
/**
|
|
1051
1052
|
* List security scans
|
|
1052
|
-
* @description Returns the project's security
|
|
1053
|
+
* @description Returns the project's security scans ordered by start time, newest first. Use a scan's detail endpoint to retrieve individual check results and findings.
|
|
1053
1054
|
*/
|
|
1054
|
-
get: operations["
|
|
1055
|
+
get: operations["listSecurityScans"];
|
|
1055
1056
|
put?: never;
|
|
1056
1057
|
/**
|
|
1057
1058
|
* Trigger security scan
|
|
1058
|
-
* @description Starts a security scan for the project's latest commit and
|
|
1059
|
+
* @description Starts a security scan for the project's latest commit. Returns the existing scan when one for the same commit and scanner set is already running, or the latest completed scan when it already covers the current commit. Poll GET /v1/projects/{project_id}/security-scans/{scan_id} for status and findings.
|
|
1059
1060
|
*/
|
|
1060
|
-
post: operations["
|
|
1061
|
+
post: operations["triggerSecurityScan"];
|
|
1061
1062
|
delete?: never;
|
|
1062
1063
|
options?: never;
|
|
1063
1064
|
head?: never;
|
|
@@ -1073,9 +1074,9 @@ interface paths {
|
|
|
1073
1074
|
};
|
|
1074
1075
|
/**
|
|
1075
1076
|
* Get security scan
|
|
1076
|
-
* @description Returns a
|
|
1077
|
+
* @description Returns a security scan's status, individual check results, and findings. A scan may include results reused from earlier scans.
|
|
1077
1078
|
*/
|
|
1078
|
-
get: operations["
|
|
1079
|
+
get: operations["getSecurityScan"];
|
|
1079
1080
|
put?: never;
|
|
1080
1081
|
post?: never;
|
|
1081
1082
|
delete?: never;
|
|
@@ -1177,9 +1178,9 @@ interface paths {
|
|
|
1177
1178
|
};
|
|
1178
1179
|
/**
|
|
1179
1180
|
* Get remix job
|
|
1180
|
-
* @description Returns the status of
|
|
1181
|
+
* @description Returns the status of a remix started with POST /v1/projects, using the returned job_id. Poll until copying succeeds (result.project_id is set) or fails (error_message explains the failure). Poll no more than once every 2 seconds and honor Retry-After on 429 responses. After the copy finishes, any initial_message may still be processing. Job status is retained for a limited time; expired jobs return 404.
|
|
1181
1182
|
*/
|
|
1182
|
-
get: operations["
|
|
1183
|
+
get: operations["getRemixJob"];
|
|
1183
1184
|
put?: never;
|
|
1184
1185
|
post?: never;
|
|
1185
1186
|
delete?: never;
|
|
@@ -1396,9 +1397,9 @@ interface paths {
|
|
|
1396
1397
|
};
|
|
1397
1398
|
/**
|
|
1398
1399
|
* List workspaces
|
|
1399
|
-
* @description Returns workspaces the authenticated user belongs to with cursor pagination.
|
|
1400
|
+
* @description Returns workspaces the authenticated user belongs to that are accessible with these credentials, with cursor pagination. A workspace-scoped API key returns only its workspace.
|
|
1400
1401
|
*/
|
|
1401
|
-
get: operations["
|
|
1402
|
+
get: operations["listWorkspaces"];
|
|
1402
1403
|
put?: never;
|
|
1403
1404
|
post?: never;
|
|
1404
1405
|
delete?: never;
|
|
@@ -1416,9 +1417,9 @@ interface paths {
|
|
|
1416
1417
|
};
|
|
1417
1418
|
/**
|
|
1418
1419
|
* Get workspace
|
|
1419
|
-
* @description Returns workspace details.
|
|
1420
|
+
* @description Returns workspace details and the authenticated user's membership.
|
|
1420
1421
|
*/
|
|
1421
|
-
get: operations["
|
|
1422
|
+
get: operations["getWorkspace"];
|
|
1422
1423
|
put?: never;
|
|
1423
1424
|
post?: never;
|
|
1424
1425
|
delete?: never;
|
|
@@ -1436,9 +1437,9 @@ interface paths {
|
|
|
1436
1437
|
};
|
|
1437
1438
|
/**
|
|
1438
1439
|
* Get workspace analytics
|
|
1439
|
-
* @description Returns
|
|
1440
|
+
* @description Returns website traffic time series for the workspace, including historical traffic from projects that have since been deleted. The response covers the requested date range without pagination. Date ranges are limited to 365 days, or 31 days with hourly granularity.
|
|
1440
1441
|
*/
|
|
1441
|
-
get: operations["
|
|
1442
|
+
get: operations["getWorkspaceAnalytics"];
|
|
1442
1443
|
put?: never;
|
|
1443
1444
|
post?: never;
|
|
1444
1445
|
delete?: never;
|
|
@@ -1519,9 +1520,9 @@ interface paths {
|
|
|
1519
1520
|
};
|
|
1520
1521
|
/**
|
|
1521
1522
|
* Get workspace credit balance
|
|
1522
|
-
* @description Returns
|
|
1523
|
+
* @description Returns current general-purpose and build-credit balances, the daily credit allowance, credit usage in the billing period, and upcoming expirations.
|
|
1523
1524
|
*/
|
|
1524
|
-
get: operations["
|
|
1525
|
+
get: operations["getCreditBalance"];
|
|
1525
1526
|
put?: never;
|
|
1526
1527
|
post?: never;
|
|
1527
1528
|
delete?: never;
|
|
@@ -1539,9 +1540,9 @@ interface paths {
|
|
|
1539
1540
|
};
|
|
1540
1541
|
/**
|
|
1541
1542
|
* Get workspace credit history
|
|
1542
|
-
* @description Returns
|
|
1543
|
+
* @description Returns credit allocations, expirations, adjustments, and conversions from the past 365 days, newest first. Entries sharing credit_grant_id describe the same allocation; an offsetting adjustment means remaining credits were removed early, for example after a plan change or refund. Ordinary usage deductions, daily credits, overage grants, and Cloud and AI Gateway allowances are excluded; use GET /v1/workspaces/{workspace_id}/billing/credit-usage for consumption.
|
|
1543
1544
|
*/
|
|
1544
|
-
get: operations["
|
|
1545
|
+
get: operations["listCreditHistory"];
|
|
1545
1546
|
put?: never;
|
|
1546
1547
|
post?: never;
|
|
1547
1548
|
delete?: never;
|
|
@@ -1559,15 +1560,15 @@ interface paths {
|
|
|
1559
1560
|
};
|
|
1560
1561
|
/**
|
|
1561
1562
|
* Get member credit limits
|
|
1562
|
-
* @description Returns each active member's monthly credit limit
|
|
1563
|
+
* @description Returns each active member's explicit monthly build-credit limit and the workspace default, with pagination. Members without an explicit limit inherit the default; active higher temporary limits can override either. Usage resets at the start of each UTC calendar month.
|
|
1563
1564
|
*/
|
|
1564
|
-
get: operations["
|
|
1565
|
+
get: operations["listCreditLimits"];
|
|
1565
1566
|
put?: never;
|
|
1566
1567
|
/**
|
|
1567
1568
|
* Set member credit limits
|
|
1568
|
-
* @description Sets or clears
|
|
1569
|
+
* @description Sets or clears monthly build-credit limits for up to 1000 members per request. Workspaces without bulk-limit support accept at most 50 members and reject larger requests with HTTP 400 before processing any member; current_period limits fail per member where unsupported. Usage resets at the start of each UTC calendar month. Returns HTTP 200 with a result for each member; other individual failures do not fail the whole request. If every member fails, returns HTTP 422 with the same response body.
|
|
1569
1570
|
*/
|
|
1570
|
-
post: operations["
|
|
1571
|
+
post: operations["setCreditLimits"];
|
|
1571
1572
|
delete?: never;
|
|
1572
1573
|
options?: never;
|
|
1573
1574
|
head?: never;
|
|
@@ -1583,9 +1584,9 @@ interface paths {
|
|
|
1583
1584
|
};
|
|
1584
1585
|
/**
|
|
1585
1586
|
* Get workspace credit usage
|
|
1586
|
-
* @description Returns
|
|
1587
|
+
* @description Returns Lovable credits used in a date range: one aggregate row by default, rows per member or project with group_by, or rows per day, week, or month with interval. Grouped rows are ordered by total usage descending; time rows are oldest first. Member rows include display_name and workspace email when available; use GET /v1/projects/{project_id} for project names. Grouped results omit members and projects with no usage. Unattributed usage contributes to workspace_total without a grouped row. Queries covering anyone other than the calling user require workspace admin permission; pass user_id=me to request only your usage.
|
|
1587
1588
|
*/
|
|
1588
|
-
get: operations["
|
|
1589
|
+
get: operations["getCreditUsage"];
|
|
1589
1590
|
put?: never;
|
|
1590
1591
|
post?: never;
|
|
1591
1592
|
delete?: never;
|
|
@@ -1837,7 +1838,7 @@ interface paths {
|
|
|
1837
1838
|
* List workspace groups
|
|
1838
1839
|
* @description Returns the workspace's groups, sorted by name. Use a group's id as the target id of a type "group" audience entry when publishing a project with visibility "custom" via POST or PATCH /v1/projects/{project_id}/publish.
|
|
1839
1840
|
*/
|
|
1840
|
-
get: operations["
|
|
1841
|
+
get: operations["listWorkspaceGroups"];
|
|
1841
1842
|
put?: never;
|
|
1842
1843
|
post?: never;
|
|
1843
1844
|
delete?: never;
|
|
@@ -1883,7 +1884,7 @@ interface paths {
|
|
|
1883
1884
|
* List workspace members
|
|
1884
1885
|
* @description Returns a paginated list of workspace members, filtered by role and status.
|
|
1885
1886
|
*/
|
|
1886
|
-
get: operations["
|
|
1887
|
+
get: operations["listWorkspaceMembers"];
|
|
1887
1888
|
put?: never;
|
|
1888
1889
|
post?: never;
|
|
1889
1890
|
delete?: never;
|
|
@@ -1927,9 +1928,11 @@ interface paths {
|
|
|
1927
1928
|
};
|
|
1928
1929
|
/**
|
|
1929
1930
|
* Get workspace security insights
|
|
1930
|
-
* @description
|
|
1931
|
+
* @description Prioritize security reviews across your workspace. Findings include public apps with security errors, unresolved personal data detections, projects shared with external collaborators, and projects whose owner is no longer an active workspace member.
|
|
1932
|
+
*
|
|
1933
|
+
* Returns workspace project and membership counts, project review priorities, and finding types with matching project counts. Requires Security Center access. The review_priority filter applies only to findings; summary counts remain workspace-wide. Finding types requiring personal data detection access are omitted when that feature is unavailable.
|
|
1931
1934
|
*/
|
|
1932
|
-
get: operations["
|
|
1935
|
+
get: operations["getSecurityInsights"];
|
|
1933
1936
|
put?: never;
|
|
1934
1937
|
post?: never;
|
|
1935
1938
|
delete?: never;
|
|
@@ -1947,9 +1950,9 @@ interface paths {
|
|
|
1947
1950
|
};
|
|
1948
1951
|
/**
|
|
1949
1952
|
* List workspace security project inventory
|
|
1950
|
-
* @description Returns
|
|
1953
|
+
* @description Returns workspace projects with review priorities, security finding counts, activity counts, and publishing details. Use GET /v1/projects/{project_id}/security-scans/{scan_id} for individual findings. Supports search and filters. By default, projects are ordered by most recently edited, or search relevance when query is set.
|
|
1951
1954
|
*/
|
|
1952
|
-
get: operations["
|
|
1955
|
+
get: operations["listSecurityInsightProjects"];
|
|
1953
1956
|
put?: never;
|
|
1954
1957
|
post?: never;
|
|
1955
1958
|
delete?: never;
|
|
@@ -1967,9 +1970,9 @@ interface paths {
|
|
|
1967
1970
|
};
|
|
1968
1971
|
/**
|
|
1969
1972
|
* Get workspace settings
|
|
1970
|
-
* @description Returns
|
|
1973
|
+
* @description Returns workspace plan, security and publishing settings, and the default member credit limit.
|
|
1971
1974
|
*/
|
|
1972
|
-
get: operations["
|
|
1975
|
+
get: operations["getWorkspaceSettings"];
|
|
1973
1976
|
put?: never;
|
|
1974
1977
|
post?: never;
|
|
1975
1978
|
delete?: never;
|
|
@@ -1977,9 +1980,9 @@ interface paths {
|
|
|
1977
1980
|
head?: never;
|
|
1978
1981
|
/**
|
|
1979
1982
|
* Update workspace settings
|
|
1980
|
-
* @description
|
|
1983
|
+
* @description Sets or clears the default monthly build-credit limit for members without an explicit limit. Usage resets at the start of each UTC calendar month. Explicit member limits and active higher temporary limits still apply.
|
|
1981
1984
|
*/
|
|
1982
|
-
patch: operations["
|
|
1985
|
+
patch: operations["updateWorkspaceSettings"];
|
|
1983
1986
|
trace?: never;
|
|
1984
1987
|
};
|
|
1985
1988
|
"/v1/workspaces/{workspace_id}/skills": {
|
|
@@ -2079,8 +2082,8 @@ interface components {
|
|
|
2079
2082
|
timeSeries: components["schemas"]["ChannelTimeSeriesGroup"];
|
|
2080
2083
|
};
|
|
2081
2084
|
ChannelListsGroup: {
|
|
2082
|
-
page: components["schemas"]["
|
|
2083
|
-
source: components["schemas"]["
|
|
2085
|
+
page: components["schemas"]["AnalyticsBreakdown"];
|
|
2086
|
+
source: components["schemas"]["AnalyticsBreakdown"];
|
|
2084
2087
|
};
|
|
2085
2088
|
ChannelTimeSeriesGroup: {
|
|
2086
2089
|
/** @description Bounced sessions divided by sessions, as a percentage. Legacy bounces have identical first and last page-view times; user_app_events bounces have fewer than two views and under ten seconds engagement. */
|
|
@@ -2121,61 +2124,67 @@ interface components {
|
|
|
2121
2124
|
CursorListResponseProjectPIIFindingDTO: {
|
|
2122
2125
|
/** @description Items in this page. */
|
|
2123
2126
|
data: components["schemas"]["ProjectPIIFindingDTO"][] | null;
|
|
2124
|
-
/** @description
|
|
2127
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2125
2128
|
pagination: components["schemas"]["Pagination"];
|
|
2126
2129
|
};
|
|
2127
2130
|
CursorListResponsePublicV1ConnectorItem: {
|
|
2128
2131
|
/** @description Items in this page. */
|
|
2129
2132
|
data: components["schemas"]["PublicV1ConnectorItem"][] | null;
|
|
2130
|
-
/** @description
|
|
2133
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2134
|
+
pagination: components["schemas"]["Pagination"];
|
|
2135
|
+
};
|
|
2136
|
+
PiiLabelPage: {
|
|
2137
|
+
/** @description Items in this page. */
|
|
2138
|
+
data: components["schemas"]["PiiLabel"][] | null;
|
|
2139
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2131
2140
|
pagination: components["schemas"]["Pagination"];
|
|
2132
2141
|
};
|
|
2133
|
-
|
|
2142
|
+
ProjectSummaryPage: {
|
|
2134
2143
|
/** @description Items in this page. */
|
|
2135
|
-
data: components["schemas"]["
|
|
2136
|
-
/** @description
|
|
2144
|
+
data: components["schemas"]["ProjectSummary"][] | null;
|
|
2145
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2137
2146
|
pagination: components["schemas"]["Pagination"];
|
|
2138
2147
|
};
|
|
2139
2148
|
CursorListResponseV1EditSummary: {
|
|
2140
2149
|
/** @description Items in this page. */
|
|
2141
2150
|
data: components["schemas"]["V1EditSummary"][] | null;
|
|
2142
|
-
/** @description
|
|
2151
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2143
2152
|
pagination: components["schemas"]["Pagination"];
|
|
2144
2153
|
};
|
|
2145
2154
|
CursorListResponseV1MessageListItem: {
|
|
2146
2155
|
/** @description Items in this page. */
|
|
2147
2156
|
data: components["schemas"]["V1MessageListItem"][] | null;
|
|
2148
|
-
/** @description
|
|
2157
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2149
2158
|
pagination: components["schemas"]["Pagination"];
|
|
2150
2159
|
};
|
|
2151
|
-
|
|
2160
|
+
ProjectCollaboratorPage: {
|
|
2152
2161
|
/** @description Items in this page. */
|
|
2153
|
-
data: components["schemas"]["
|
|
2154
|
-
/** @description
|
|
2162
|
+
data: components["schemas"]["ProjectCollaborator"][] | null;
|
|
2163
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2155
2164
|
pagination: components["schemas"]["Pagination"];
|
|
2156
2165
|
};
|
|
2157
2166
|
CursorListResponseV1ProjectSkillDTO: {
|
|
2158
2167
|
/** @description Items in this page. */
|
|
2159
2168
|
data: components["schemas"]["V1ProjectSkillDTO"][] | null;
|
|
2160
|
-
/** @description
|
|
2169
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2161
2170
|
pagination: components["schemas"]["Pagination"];
|
|
2162
2171
|
};
|
|
2163
|
-
|
|
2172
|
+
SecurityScanPage: {
|
|
2164
2173
|
/** @description Items in this page. */
|
|
2165
|
-
data: components["schemas"]["
|
|
2166
|
-
/** @description
|
|
2174
|
+
data: components["schemas"]["SecurityScan"][] | null;
|
|
2175
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2167
2176
|
pagination: components["schemas"]["Pagination"];
|
|
2168
2177
|
};
|
|
2169
|
-
|
|
2178
|
+
WorkspaceGroupPage: {
|
|
2170
2179
|
/** @description Items in this page. */
|
|
2171
|
-
data: components["schemas"]["
|
|
2172
|
-
/** @description
|
|
2180
|
+
data: components["schemas"]["WorkspaceGroup"][] | null;
|
|
2181
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2173
2182
|
pagination: components["schemas"]["Pagination"];
|
|
2174
2183
|
};
|
|
2175
|
-
|
|
2184
|
+
WorkspaceMemberPage: {
|
|
2176
2185
|
/** @description Items in this page. */
|
|
2177
|
-
data: components["schemas"]["
|
|
2178
|
-
/** @description
|
|
2186
|
+
data: components["schemas"]["WorkspaceMember"][] | null;
|
|
2187
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2179
2188
|
pagination: components["schemas"]["Pagination"];
|
|
2180
2189
|
};
|
|
2181
2190
|
DiffHunk: {
|
|
@@ -2250,9 +2259,9 @@ interface components {
|
|
|
2250
2259
|
*/
|
|
2251
2260
|
total: number;
|
|
2252
2261
|
};
|
|
2253
|
-
|
|
2262
|
+
CurrentUser: {
|
|
2254
2263
|
/**
|
|
2255
|
-
* @description
|
|
2264
|
+
* @description Email address from the user's primary sign-in provider. Empty when unavailable.
|
|
2256
2265
|
* @example jane.cooper@acme.com
|
|
2257
2266
|
*/
|
|
2258
2267
|
email: string;
|
|
@@ -2262,14 +2271,14 @@ interface components {
|
|
|
2262
2271
|
*/
|
|
2263
2272
|
id: string;
|
|
2264
2273
|
/**
|
|
2265
|
-
* @description User display name
|
|
2274
|
+
* @description User's display name, or username when a display name is unavailable.
|
|
2266
2275
|
* @example Jane Cooper
|
|
2267
2276
|
*/
|
|
2268
2277
|
name: string;
|
|
2269
|
-
/** @description Workspaces the user belongs to */
|
|
2270
|
-
workspaces: components["schemas"]["
|
|
2278
|
+
/** @description Workspaces the user belongs to that are accessible with these credentials. A workspace-scoped API key returns only its workspace. */
|
|
2279
|
+
workspaces: components["schemas"]["CurrentUserWorkspace"][] | null;
|
|
2271
2280
|
};
|
|
2272
|
-
|
|
2281
|
+
CurrentUserWorkspace: {
|
|
2273
2282
|
/**
|
|
2274
2283
|
* @description Workspace ID
|
|
2275
2284
|
* @example workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -2281,10 +2290,11 @@ interface components {
|
|
|
2281
2290
|
*/
|
|
2282
2291
|
name: string;
|
|
2283
2292
|
/**
|
|
2284
|
-
* @description Caller's role in the workspace.
|
|
2293
|
+
* @description Caller's role in the workspace. More values may be added; clients must tolerate unknown values.
|
|
2285
2294
|
* @example admin
|
|
2295
|
+
* @enum {string}
|
|
2286
2296
|
*/
|
|
2287
|
-
role:
|
|
2297
|
+
role: "owner" | "admin" | "member" | "viewer" | "collaborator";
|
|
2288
2298
|
};
|
|
2289
2299
|
GitFileEntry: {
|
|
2290
2300
|
binary: boolean;
|
|
@@ -2310,16 +2320,16 @@ interface components {
|
|
|
2310
2320
|
/** @description Last update timestamp */
|
|
2311
2321
|
updated_at: string;
|
|
2312
2322
|
};
|
|
2313
|
-
|
|
2314
|
-
/** @description
|
|
2315
|
-
data: components["schemas"]["
|
|
2323
|
+
AnalyticsBreakdown: {
|
|
2324
|
+
/** @description Up to 10 items, ordered by visitor session count from highest to lowest. An empty array can mean no data or an unavailable breakdown. */
|
|
2325
|
+
data: components["schemas"]["AnalyticsBreakdownPoint"][] | null;
|
|
2316
2326
|
/**
|
|
2317
|
-
* @description
|
|
2318
|
-
* @example
|
|
2327
|
+
* @description Breakdown identifier: page, source, device, or country.
|
|
2328
|
+
* @example page
|
|
2319
2329
|
*/
|
|
2320
2330
|
label: string;
|
|
2321
2331
|
};
|
|
2322
|
-
|
|
2332
|
+
AnalyticsBreakdownPoint: {
|
|
2323
2333
|
/**
|
|
2324
2334
|
* @description Name of this item within the breakdown.
|
|
2325
2335
|
* @example /pricing
|
|
@@ -2327,20 +2337,20 @@ interface components {
|
|
|
2327
2337
|
label: string;
|
|
2328
2338
|
/**
|
|
2329
2339
|
* Format: int64
|
|
2330
|
-
* @description
|
|
2340
|
+
* @description Unique visitor sessions attributed to this item over the requested range. A session may appear under multiple items.
|
|
2331
2341
|
* @example 1280
|
|
2332
2342
|
*/
|
|
2333
2343
|
value: number;
|
|
2334
2344
|
};
|
|
2335
|
-
|
|
2336
|
-
/** @description
|
|
2337
|
-
country: components["schemas"]["
|
|
2338
|
-
/** @description
|
|
2339
|
-
device: components["schemas"]["
|
|
2340
|
-
/** @description
|
|
2341
|
-
page: components["schemas"]["
|
|
2342
|
-
/** @description
|
|
2343
|
-
source: components["schemas"]["
|
|
2345
|
+
AnalyticsBreakdownGroup: {
|
|
2346
|
+
/** @description Top visitor countries by visitor sessions. Unknown means the country could not be determined. */
|
|
2347
|
+
country: components["schemas"]["AnalyticsBreakdown"];
|
|
2348
|
+
/** @description Top device types by visitor sessions. */
|
|
2349
|
+
device: components["schemas"]["AnalyticsBreakdown"];
|
|
2350
|
+
/** @description Top page paths by visitor sessions. */
|
|
2351
|
+
page: components["schemas"]["AnalyticsBreakdown"];
|
|
2352
|
+
/** @description Top referring domains by visitor sessions. Direct means no referring domain was recorded. */
|
|
2353
|
+
source: components["schemas"]["AnalyticsBreakdown"];
|
|
2344
2354
|
};
|
|
2345
2355
|
LovableCreator: {
|
|
2346
2356
|
name: string;
|
|
@@ -2394,7 +2404,7 @@ interface components {
|
|
|
2394
2404
|
*/
|
|
2395
2405
|
has_more: boolean;
|
|
2396
2406
|
/**
|
|
2397
|
-
* @description
|
|
2407
|
+
* @description Pass this value as the cursor query parameter to fetch the next page. Treat it as an opaque string; null when there are no more results.
|
|
2398
2408
|
* @example eyJ2IjoxLCJpZCI6InByal8wMWp3M2s5In0
|
|
2399
2409
|
*/
|
|
2400
2410
|
next_cursor: string | null;
|
|
@@ -2406,7 +2416,7 @@ interface components {
|
|
|
2406
2416
|
};
|
|
2407
2417
|
/** @enum {string} */
|
|
2408
2418
|
channelsSource?: "legacy" | "user_app_events";
|
|
2409
|
-
lists: components["schemas"]["
|
|
2419
|
+
lists: components["schemas"]["AnalyticsBreakdownGroup"];
|
|
2410
2420
|
timeSeries: components["schemas"]["TimeSeriesGroup"];
|
|
2411
2421
|
};
|
|
2412
2422
|
ProjectFileInfo: {
|
|
@@ -2419,13 +2429,13 @@ interface components {
|
|
|
2419
2429
|
};
|
|
2420
2430
|
ProjectPIIFindingDTO: {
|
|
2421
2431
|
/**
|
|
2422
|
-
* @description
|
|
2432
|
+
* @description Identifier of the chat message associated with a chat or uploaded-file finding, when available.
|
|
2423
2433
|
* @example default:user#12#01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2424
2434
|
*/
|
|
2425
2435
|
chat_message_id?: string;
|
|
2426
|
-
/** @description
|
|
2436
|
+
/** @description Identifier of the uploaded file where personal data was detected. */
|
|
2427
2437
|
chat_upload_id?: string;
|
|
2428
|
-
/** @description
|
|
2438
|
+
/** @description Connected service associated with this finding. */
|
|
2429
2439
|
connector_id?: string;
|
|
2430
2440
|
/**
|
|
2431
2441
|
* Format: date-time
|
|
@@ -2434,58 +2444,62 @@ interface components {
|
|
|
2434
2444
|
*/
|
|
2435
2445
|
found_at: string;
|
|
2436
2446
|
/**
|
|
2437
|
-
* @description
|
|
2447
|
+
* @description Unique ID for this personal data finding.
|
|
2438
2448
|
* @example pii_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2439
2449
|
*/
|
|
2440
2450
|
id: string;
|
|
2441
2451
|
/**
|
|
2442
|
-
* @description
|
|
2452
|
+
* @description Type of personal data detected, such as EMAIL_ADDRESS or PHONE_NUMBER.
|
|
2443
2453
|
* @example EMAIL_ADDRESS
|
|
2444
2454
|
*/
|
|
2445
2455
|
info_type?: string;
|
|
2446
2456
|
/**
|
|
2447
|
-
* @description
|
|
2457
|
+
* @description Confidence that the sample contains the indicated data type. More values may be added; clients must tolerate unknown values.
|
|
2448
2458
|
* @example LIKELY
|
|
2459
|
+
* @enum {string}
|
|
2449
2460
|
*/
|
|
2450
|
-
likelihood?:
|
|
2461
|
+
likelihood?: "LIKELIHOOD_UNSPECIFIED" | "VERY_UNLIKELY" | "UNLIKELY" | "POSSIBLE" | "LIKELY" | "VERY_LIKELY";
|
|
2451
2462
|
/**
|
|
2452
|
-
* @description
|
|
2453
|
-
* @example
|
|
2463
|
+
* @description Sample of the detected value. May contain unmasked personal data.
|
|
2464
|
+
* @example alex@example.com
|
|
2454
2465
|
*/
|
|
2455
2466
|
quote?: string;
|
|
2456
2467
|
/**
|
|
2457
|
-
* @description
|
|
2468
|
+
* @description Identifier of the personal data scan that recorded this finding. Separate from security scan IDs.
|
|
2458
2469
|
* @example pii-scan-prj_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2459
2470
|
*/
|
|
2460
2471
|
scan_id?: string;
|
|
2461
2472
|
/**
|
|
2462
|
-
* @description Sensitivity
|
|
2473
|
+
* @description Sensitivity assigned to the detected data type. More values may be added; clients must tolerate unknown values.
|
|
2463
2474
|
* @example high
|
|
2475
|
+
* @enum {string}
|
|
2464
2476
|
*/
|
|
2465
|
-
sensitivity?:
|
|
2477
|
+
sensitivity?: "low" | "mid" | "high";
|
|
2466
2478
|
/**
|
|
2467
|
-
* @description Where
|
|
2479
|
+
* @description Where personal data was detected. More values may be added; clients must tolerate unknown values.
|
|
2468
2480
|
* @example chat
|
|
2481
|
+
* @enum {string}
|
|
2469
2482
|
*/
|
|
2470
|
-
source:
|
|
2471
|
-
/** @description Database
|
|
2483
|
+
source: "chat" | "upload" | "cloud_storage" | "cloud_sql" | "connector";
|
|
2484
|
+
/** @description Database schema, table, and optional column where personal data was detected. */
|
|
2472
2485
|
sql_location?: string;
|
|
2473
2486
|
/**
|
|
2474
|
-
* @description
|
|
2487
|
+
* @description Review state of the personal data finding. A resolved finding indicates that the flagged content was redacted or removed. More values may be added; clients must tolerate unknown values.
|
|
2475
2488
|
* @example open
|
|
2489
|
+
* @enum {string}
|
|
2476
2490
|
*/
|
|
2477
|
-
status:
|
|
2478
|
-
/** @description
|
|
2491
|
+
status: "open" | "ignored" | "fixed";
|
|
2492
|
+
/** @description Path of the cloud storage object where personal data was detected. */
|
|
2479
2493
|
storage_path?: string;
|
|
2480
2494
|
};
|
|
2481
|
-
|
|
2495
|
+
AnalyticsTrend: {
|
|
2482
2496
|
/**
|
|
2483
2497
|
* Format: int64
|
|
2484
|
-
* @description
|
|
2498
|
+
* @description Unique visitor sessions with a page view in the last 5 minutes.
|
|
2485
2499
|
* @example 12
|
|
2486
2500
|
*/
|
|
2487
2501
|
currentVisitors: number;
|
|
2488
|
-
/** @description
|
|
2502
|
+
/** @description One-minute buckets over the last 30 minutes, ordered oldest first. Minutes without visits are omitted. */
|
|
2489
2503
|
data: components["schemas"]["TrendDataPoint"][] | null;
|
|
2490
2504
|
};
|
|
2491
2505
|
PublicV1ConnectorItem: {
|
|
@@ -2540,7 +2554,7 @@ interface components {
|
|
|
2540
2554
|
*/
|
|
2541
2555
|
is_published?: boolean;
|
|
2542
2556
|
/**
|
|
2543
|
-
* @description
|
|
2557
|
+
* @description ID returned when source_project_id starts an asynchronous remix. Poll GET /v1/remix-jobs/{job_id} to obtain the new project ID when the copy completes.
|
|
2544
2558
|
* @example job_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2545
2559
|
*/
|
|
2546
2560
|
job_id?: string;
|
|
@@ -2570,20 +2584,22 @@ interface components {
|
|
|
2570
2584
|
*/
|
|
2571
2585
|
preview_url?: string;
|
|
2572
2586
|
/**
|
|
2573
|
-
* @description
|
|
2587
|
+
* @description Project setup status. Successful setup means the project has been created; the AI may still be processing initial_message and the preview may not be ready. More values may be added; clients must tolerate unknown values.
|
|
2574
2588
|
* @example completed
|
|
2589
|
+
* @enum {string}
|
|
2575
2590
|
*/
|
|
2576
|
-
status?:
|
|
2591
|
+
status?: "in_progress" | "completed" | "failed";
|
|
2577
2592
|
/**
|
|
2578
2593
|
* @description Published project URL
|
|
2579
2594
|
* @example https://acme-landing-page.lovable.app
|
|
2580
2595
|
*/
|
|
2581
2596
|
url?: string;
|
|
2582
2597
|
/**
|
|
2583
|
-
* @description
|
|
2598
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. More values may be added; clients must tolerate unknown values.
|
|
2584
2599
|
* @example private
|
|
2600
|
+
* @enum {string}
|
|
2585
2601
|
*/
|
|
2586
|
-
visibility?:
|
|
2602
|
+
visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
2587
2603
|
/**
|
|
2588
2604
|
* @description Workspace ID
|
|
2589
2605
|
* @example workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -2600,11 +2616,11 @@ interface components {
|
|
|
2600
2616
|
/** @description Project ID */
|
|
2601
2617
|
project_id: string;
|
|
2602
2618
|
};
|
|
2603
|
-
|
|
2619
|
+
GetWorkspaceResponse: {
|
|
2604
2620
|
/** @description Caller's membership in this workspace. */
|
|
2605
|
-
current_member?: components["schemas"]["
|
|
2621
|
+
current_member?: components["schemas"]["WorkspaceMembership"];
|
|
2606
2622
|
/** @description Workspace details. */
|
|
2607
|
-
workspace: components["schemas"]["
|
|
2623
|
+
workspace: components["schemas"]["Workspace"];
|
|
2608
2624
|
};
|
|
2609
2625
|
PublicV1GitFilesResponse: {
|
|
2610
2626
|
data: components["schemas"]["GitFileEntryLite"][] | null;
|
|
@@ -2612,7 +2628,72 @@ interface components {
|
|
|
2612
2628
|
/** @description Resolved Git ref */
|
|
2613
2629
|
ref: string;
|
|
2614
2630
|
};
|
|
2615
|
-
|
|
2631
|
+
PiiLabel: {
|
|
2632
|
+
/**
|
|
2633
|
+
* @description Identifier of the chat message associated with a chat or uploaded-file finding, when available.
|
|
2634
|
+
* @example default:user#12#01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2635
|
+
*/
|
|
2636
|
+
chat_message_id?: string;
|
|
2637
|
+
/** @description Identifier of the uploaded file where personal data was detected. */
|
|
2638
|
+
chat_upload_id?: string;
|
|
2639
|
+
/** @description Connected service associated with this finding. */
|
|
2640
|
+
connector_id?: string;
|
|
2641
|
+
/**
|
|
2642
|
+
* Format: date-time
|
|
2643
|
+
* @description When the label was recorded
|
|
2644
|
+
* @example 2026-01-15T09:30:00Z
|
|
2645
|
+
*/
|
|
2646
|
+
found_at: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* @description Unique ID for this personal data finding.
|
|
2649
|
+
* @example pii_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2650
|
+
*/
|
|
2651
|
+
id: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* @description Type of personal data detected, such as email_address or phone_number.
|
|
2654
|
+
* @example email_address
|
|
2655
|
+
*/
|
|
2656
|
+
info_type?: string;
|
|
2657
|
+
/**
|
|
2658
|
+
* @description Confidence that the sample contains the indicated data type. More values may be added; clients must tolerate unknown values.
|
|
2659
|
+
* @example likely
|
|
2660
|
+
* @enum {string}
|
|
2661
|
+
*/
|
|
2662
|
+
likelihood?: "likelihood_unspecified" | "very_unlikely" | "unlikely" | "possible" | "likely" | "very_likely";
|
|
2663
|
+
/**
|
|
2664
|
+
* @description Sample of the detected value. May contain unmasked personal data.
|
|
2665
|
+
* @example alex@example.com
|
|
2666
|
+
*/
|
|
2667
|
+
quote?: string;
|
|
2668
|
+
/**
|
|
2669
|
+
* @description Identifier of the personal data scan that recorded this finding. Separate from security scan IDs.
|
|
2670
|
+
* @example pii-scan-prj_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2671
|
+
*/
|
|
2672
|
+
scan_id?: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* @description Sensitivity assigned to the detected data type. More values may be added; clients must tolerate unknown values.
|
|
2675
|
+
* @example high
|
|
2676
|
+
* @enum {string}
|
|
2677
|
+
*/
|
|
2678
|
+
sensitivity?: "low" | "mid" | "high";
|
|
2679
|
+
/**
|
|
2680
|
+
* @description Where personal data was detected. More values may be added; clients must tolerate unknown values.
|
|
2681
|
+
* @example chat
|
|
2682
|
+
* @enum {string}
|
|
2683
|
+
*/
|
|
2684
|
+
source: "chat" | "upload" | "cloud_storage" | "cloud_sql" | "connector";
|
|
2685
|
+
/** @description Database schema, table, and optional column where personal data was detected. */
|
|
2686
|
+
sql_location?: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* @description Review state of the personal data finding. A resolved finding indicates that the flagged content was redacted or removed. More values may be added; clients must tolerate unknown values.
|
|
2689
|
+
* @example open
|
|
2690
|
+
* @enum {string}
|
|
2691
|
+
*/
|
|
2692
|
+
status: "open" | "ignored" | "fixed";
|
|
2693
|
+
/** @description Path of the cloud storage object where personal data was detected. */
|
|
2694
|
+
storage_path?: string;
|
|
2695
|
+
};
|
|
2696
|
+
UpdateProjectRequest: {
|
|
2616
2697
|
/**
|
|
2617
2698
|
* @description Project description. Does not affect generated_description, which the agent maintains on its own.
|
|
2618
2699
|
* @example A landing page for my SaaS product with a hero, features, and pricing.
|
|
@@ -2624,23 +2705,23 @@ interface components {
|
|
|
2624
2705
|
*/
|
|
2625
2706
|
display_name?: string;
|
|
2626
2707
|
/**
|
|
2627
|
-
* @description
|
|
2708
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. Omit to keep the current setting.
|
|
2628
2709
|
* @example private
|
|
2629
2710
|
* @enum {string}
|
|
2630
2711
|
*/
|
|
2631
2712
|
visibility?: "draft" | "private" | "public" | "workspace_view";
|
|
2632
2713
|
};
|
|
2633
|
-
|
|
2634
|
-
/** @description Top pages,
|
|
2635
|
-
lists?: components["schemas"]["
|
|
2636
|
-
/** @description
|
|
2714
|
+
ProjectAnalytics: {
|
|
2715
|
+
/** @description Top pages, referring domains, device types, and countries, with up to 10 items per breakdown. Present for date-range analytics. */
|
|
2716
|
+
lists?: components["schemas"]["AnalyticsBreakdownGroup"];
|
|
2717
|
+
/** @description Metrics over time for date-range analytics. */
|
|
2637
2718
|
timeSeries?: components["schemas"]["TimeSeriesGroup"];
|
|
2638
|
-
/** @description
|
|
2639
|
-
trend?: components["schemas"]["
|
|
2719
|
+
/** @description Visitor counts for the real-time series. */
|
|
2720
|
+
trend?: components["schemas"]["AnalyticsTrend"];
|
|
2640
2721
|
};
|
|
2641
2722
|
PublicV1ProjectCreateInputBody: {
|
|
2642
2723
|
/**
|
|
2643
|
-
* @description
|
|
2724
|
+
* @description Description saved on the project. Use initial_message to provide instructions for the AI.
|
|
2644
2725
|
* @example A landing page for my SaaS product with a hero, features, and pricing.
|
|
2645
2726
|
*/
|
|
2646
2727
|
description: string;
|
|
@@ -2651,42 +2732,39 @@ interface components {
|
|
|
2651
2732
|
display_name?: string;
|
|
2652
2733
|
/**
|
|
2653
2734
|
* @deprecated
|
|
2654
|
-
* @description Deprecated
|
|
2735
|
+
* @description Deprecated temporary upload references for existing integrations. Requires initial_message. Public API integrations should use file_urls to attach supported files from HTTPS URLs.
|
|
2655
2736
|
*/
|
|
2656
2737
|
ephemeral_files?: components["schemas"]["V1UnscopedFile"][] | null;
|
|
2657
|
-
/** @description
|
|
2738
|
+
/** @description Publicly accessible HTTPS URLs to attach to initial_message, which is required when this field is set. Supports JPEG, PNG, WebP, and HTML files. */
|
|
2658
2739
|
file_urls?: string[] | null;
|
|
2659
2740
|
/**
|
|
2660
2741
|
* @deprecated
|
|
2661
|
-
* @description Deprecated
|
|
2742
|
+
* @description Deprecated upload references for existing integrations. Requires initial_message. Public API integrations should use file_urls to attach supported files from HTTPS URLs.
|
|
2662
2743
|
*/
|
|
2663
2744
|
files?: components["schemas"]["V1UnscopedFile"][] | null;
|
|
2664
2745
|
/**
|
|
2665
|
-
* @description
|
|
2746
|
+
* @description Instructions for the AI to run after the project is created. Omit to create the project without starting an AI response.
|
|
2666
2747
|
* @example A landing page for my SaaS product with a hero, features, and pricing.
|
|
2667
2748
|
*/
|
|
2668
2749
|
initial_message?: string;
|
|
2669
|
-
/**
|
|
2670
|
-
* @description Sandbox runtime template for the new project. Omit for the default stack; requires a workspace with access to the requested template.
|
|
2671
|
-
* @example lovable-on-lovable
|
|
2672
|
-
*/
|
|
2750
|
+
/** @description Optional runtime template for workspaces with access to a specialized runtime. Omit for the standard runtime. */
|
|
2673
2751
|
sandbox_template?: string;
|
|
2674
2752
|
/** @description Design system library projects to connect to the new project */
|
|
2675
2753
|
selected_libraries?: components["schemas"]["V1SelectedLibrary"][] | null;
|
|
2676
2754
|
/** @description Ignored when null, empty, or whitespace. Set a non-empty value to remix from a source project. */
|
|
2677
2755
|
source_project_id?: string | null;
|
|
2678
2756
|
/**
|
|
2679
|
-
* @description Technology stack
|
|
2757
|
+
* @description Technology stack for the new project. Omit to use Lovable's current default. When template_project_id is set, the template determines the stack.
|
|
2680
2758
|
* @example vite
|
|
2681
2759
|
*/
|
|
2682
2760
|
tech_stack?: string;
|
|
2683
2761
|
/**
|
|
2684
|
-
* @description
|
|
2762
|
+
* @description ID of a template or design-system library project to use as the starting point; any template the caller can view is accepted, including from other workspaces. Use GET /v1/projects with a project-type filter to find templates.
|
|
2685
2763
|
* @example prj_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2686
2764
|
*/
|
|
2687
2765
|
template_project_id?: string;
|
|
2688
2766
|
/**
|
|
2689
|
-
* @description
|
|
2767
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. Omit to use the workspace default.
|
|
2690
2768
|
* @example private
|
|
2691
2769
|
* @enum {string}
|
|
2692
2770
|
*/
|
|
@@ -2703,7 +2781,7 @@ interface components {
|
|
|
2703
2781
|
/** @description Project ID */
|
|
2704
2782
|
project_id: string;
|
|
2705
2783
|
};
|
|
2706
|
-
|
|
2784
|
+
ProjectSummary: {
|
|
2707
2785
|
/**
|
|
2708
2786
|
* Format: date-time
|
|
2709
2787
|
* @description When the project was created.
|
|
@@ -2742,7 +2820,7 @@ interface components {
|
|
|
2742
2820
|
is_published?: boolean;
|
|
2743
2821
|
/**
|
|
2744
2822
|
* Format: date-time
|
|
2745
|
-
* @description When the project
|
|
2823
|
+
* @description When the project last received an edit or a user chat message.
|
|
2746
2824
|
* @example 2026-01-15T09:30:00Z
|
|
2747
2825
|
*/
|
|
2748
2826
|
last_edited_at?: string;
|
|
@@ -2757,25 +2835,28 @@ interface components {
|
|
|
2757
2835
|
*/
|
|
2758
2836
|
name?: string;
|
|
2759
2837
|
/**
|
|
2760
|
-
* @description
|
|
2838
|
+
* @description Image URL used when sharing a link to the project on social platforms.
|
|
2761
2839
|
* @example https://lovable.dev/cdn/projects/acme-landing-page/og.png
|
|
2762
2840
|
*/
|
|
2763
2841
|
og_image_url?: string;
|
|
2764
2842
|
/**
|
|
2765
|
-
* @description Project type.
|
|
2843
|
+
* @description Project type. Absent on older projects. More values may be added; clients must tolerate unknown values.
|
|
2766
2844
|
* @example project
|
|
2845
|
+
* @enum {string}
|
|
2767
2846
|
*/
|
|
2768
|
-
project_type?:
|
|
2847
|
+
project_type?: "project" | "library";
|
|
2769
2848
|
/**
|
|
2770
|
-
* @description
|
|
2849
|
+
* @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
|
|
2771
2850
|
* @example public
|
|
2851
|
+
* @enum {string}
|
|
2772
2852
|
*/
|
|
2773
|
-
publish_visibility?:
|
|
2853
|
+
publish_visibility?: "public" | "private" | "workspace_only";
|
|
2774
2854
|
/**
|
|
2775
|
-
* @description
|
|
2855
|
+
* @description Project setup status. Successful setup means the project has been created; the AI may still be processing a message and the preview may not be ready. More values may be added; clients must tolerate unknown values.
|
|
2776
2856
|
* @example completed
|
|
2857
|
+
* @enum {string}
|
|
2777
2858
|
*/
|
|
2778
|
-
status?:
|
|
2859
|
+
status?: "in_progress" | "completed" | "failed";
|
|
2779
2860
|
/**
|
|
2780
2861
|
* @description Project tech stack.
|
|
2781
2862
|
* @example vite_react_shadcn_ts
|
|
@@ -2798,10 +2879,11 @@ interface components {
|
|
|
2798
2879
|
*/
|
|
2799
2880
|
user_id?: string;
|
|
2800
2881
|
/**
|
|
2801
|
-
* @description
|
|
2882
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. More values may be added; clients must tolerate unknown values.
|
|
2802
2883
|
* @example public
|
|
2884
|
+
* @enum {string}
|
|
2803
2885
|
*/
|
|
2804
|
-
visibility?:
|
|
2886
|
+
visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
2805
2887
|
/**
|
|
2806
2888
|
* @description Workspace the project belongs to.
|
|
2807
2889
|
* @example workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -2810,39 +2892,39 @@ interface components {
|
|
|
2810
2892
|
};
|
|
2811
2893
|
PublicV1ProjectRemixInputBody: {
|
|
2812
2894
|
/**
|
|
2813
|
-
* @description
|
|
2895
|
+
* @description Description for the new project. Omit to reuse the description the source project was created with, or Remix of followed by the source project ID when it had none.
|
|
2814
2896
|
* @example A landing page for my SaaS product with a hero, features, and pricing.
|
|
2815
2897
|
*/
|
|
2816
2898
|
description?: string;
|
|
2817
2899
|
/**
|
|
2818
|
-
* @description
|
|
2900
|
+
* @description Display name for the new project. Defaults to Remix of followed by the source project name.
|
|
2819
2901
|
* @example Acme Landing Page
|
|
2820
2902
|
*/
|
|
2821
2903
|
display_name?: string;
|
|
2822
2904
|
/**
|
|
2823
|
-
* @description
|
|
2905
|
+
* @description Copy the source project's custom instructions and knowledge. Defaults to false. Requires edit access to the source project; otherwise the request fails with HTTP 403.
|
|
2824
2906
|
* @example true
|
|
2825
2907
|
*/
|
|
2826
2908
|
include_custom_knowledge?: boolean;
|
|
2827
|
-
/** @description Copy project
|
|
2909
|
+
/** @description Copy uploaded project files in addition to the project code. Defaults to false. Requires edit access to the source project; view-only access or a public remix link is not enough and the request fails with HTTP 403. */
|
|
2828
2910
|
include_files?: boolean;
|
|
2829
2911
|
/**
|
|
2830
|
-
* @description Copy chat history. Defaults to false. Requires edit access to the original project; view-only access or a public remix link is not enough.
|
|
2912
|
+
* @description Copy chat history. Defaults to false. Requires edit access to the original project; view-only access or a public remix link is not enough and the request fails with HTTP 403.
|
|
2831
2913
|
* @example true
|
|
2832
2914
|
*/
|
|
2833
2915
|
include_history?: boolean;
|
|
2834
2916
|
/**
|
|
2835
|
-
* @description
|
|
2917
|
+
* @description Instructions for the AI to run after the source project has been copied. When omitted, a default remix message starts an AI response unless skip_initial_remix_message is true.
|
|
2836
2918
|
* @example A landing page for my SaaS product with a hero, features, and pricing.
|
|
2837
2919
|
*/
|
|
2838
2920
|
initial_message?: string;
|
|
2839
2921
|
/**
|
|
2840
|
-
* @description Message
|
|
2922
|
+
* @description Message in the source project that sets the version to copy. Use remix_mode to choose before or after that message. Omit to copy the latest version.
|
|
2841
2923
|
* @example msg_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2842
2924
|
*/
|
|
2843
2925
|
message_id?: string;
|
|
2844
2926
|
/**
|
|
2845
|
-
* @description
|
|
2927
|
+
* @description Whether to include message_id's completed turn in the copy. Includes it by default.
|
|
2846
2928
|
* @example including
|
|
2847
2929
|
* @enum {string}
|
|
2848
2930
|
*/
|
|
@@ -2853,7 +2935,7 @@ interface components {
|
|
|
2853
2935
|
*/
|
|
2854
2936
|
skip_initial_remix_message?: boolean;
|
|
2855
2937
|
/**
|
|
2856
|
-
* @description Skip
|
|
2938
|
+
* @description Skip copying connected services and their configuration to the new project. Defaults to false.
|
|
2857
2939
|
* @example false
|
|
2858
2940
|
*/
|
|
2859
2941
|
skip_integrations?: boolean;
|
|
@@ -2868,7 +2950,7 @@ interface components {
|
|
|
2868
2950
|
*/
|
|
2869
2951
|
workspace_id: string;
|
|
2870
2952
|
};
|
|
2871
|
-
|
|
2953
|
+
PublishAudienceTarget: {
|
|
2872
2954
|
/** @description Group ID or workspace member user ID */
|
|
2873
2955
|
id: string;
|
|
2874
2956
|
/**
|
|
@@ -2877,54 +2959,66 @@ interface components {
|
|
|
2877
2959
|
*/
|
|
2878
2960
|
type: "group" | "user";
|
|
2879
2961
|
};
|
|
2880
|
-
|
|
2881
|
-
/** @description
|
|
2882
|
-
audience?: components["schemas"]["
|
|
2962
|
+
PublishProjectRequest: {
|
|
2963
|
+
/** @description Audience grants, available only with selected-audience app access. Providing a list replaces all group and user grants and removes workspace-wide access; an empty list removes those grants. Existing organization access and email invitations managed in the UI are preserved. Omit to keep the current audience. */
|
|
2964
|
+
audience?: components["schemas"]["PublishAudienceTarget"][] | null;
|
|
2883
2965
|
/** @description Project slug for the published URL */
|
|
2884
2966
|
name?: string;
|
|
2885
2967
|
/**
|
|
2886
|
-
* @description Who can view the published app
|
|
2968
|
+
* @description Who can view the published app. A selected audience can include existing grants managed in the UI. Omit to keep the current setting. Clients must tolerate new values.
|
|
2887
2969
|
* @enum {string}
|
|
2888
2970
|
*/
|
|
2889
2971
|
visibility?: "public" | "workspace" | "custom";
|
|
2890
2972
|
};
|
|
2891
|
-
|
|
2973
|
+
PublishProjectResponse: {
|
|
2892
2974
|
/** @description Deployment ID */
|
|
2893
2975
|
deployment_id?: string;
|
|
2894
|
-
/**
|
|
2895
|
-
|
|
2896
|
-
|
|
2976
|
+
/**
|
|
2977
|
+
* @description The deployment has been accepted. Poll GET /v1/projects/{project_id}/publish/{deployment_id} for completion or failure. More values may be added; clients must tolerate unknown values.
|
|
2978
|
+
* @enum {string}
|
|
2979
|
+
*/
|
|
2980
|
+
status: "pending";
|
|
2981
|
+
/** @description URL where the app will be available after deployment succeeds. */
|
|
2897
2982
|
url?: string;
|
|
2898
|
-
/**
|
|
2899
|
-
|
|
2983
|
+
/**
|
|
2984
|
+
* @description Who can view the published app. More values may be added; clients must tolerate unknown values.
|
|
2985
|
+
* @enum {string}
|
|
2986
|
+
*/
|
|
2987
|
+
visibility: "public" | "workspace" | "custom";
|
|
2900
2988
|
};
|
|
2901
|
-
|
|
2989
|
+
Deployment: {
|
|
2902
2990
|
/** @description The deployment being tracked */
|
|
2903
2991
|
deployment_id: string;
|
|
2904
|
-
/**
|
|
2905
|
-
|
|
2906
|
-
|
|
2992
|
+
/**
|
|
2993
|
+
* @description Failure category, indicating whether retrying may help or whether the project, configuration, data, or policy needs attention. More values may be added; clients must tolerate unknown values.
|
|
2994
|
+
* @enum {string}
|
|
2995
|
+
*/
|
|
2996
|
+
error_class?: "transient" | "user_code" | "user_config" | "user_config_code" | "user_config_external" | "user_data" | "blocked_by_policy" | "internal";
|
|
2997
|
+
/** @description Machine-readable cause of a deployment failure, when recognized. Omitted unless deployment fails. */
|
|
2907
2998
|
error_code?: string;
|
|
2908
|
-
/** @description Human-readable
|
|
2999
|
+
/** @description Human-readable reason for a deployment failure. Omitted unless deployment fails. */
|
|
2909
3000
|
error_message?: string;
|
|
2910
3001
|
/**
|
|
2911
|
-
* @description Deployment
|
|
3002
|
+
* @description Deployment progress. After a successful deployment, the app is published and url is set. Clients must tolerate new values.
|
|
2912
3003
|
* @enum {string}
|
|
2913
3004
|
*/
|
|
2914
3005
|
status: "running" | "completed" | "error" | "unknown";
|
|
2915
|
-
/** @description Published project URL. Set
|
|
3006
|
+
/** @description Published project URL. Set after a successful deployment. */
|
|
2916
3007
|
url?: string;
|
|
2917
3008
|
};
|
|
2918
|
-
|
|
3009
|
+
RemixJob: {
|
|
2919
3010
|
/** @description Machine-readable failure cause, present only for recognized failures */
|
|
2920
3011
|
error_code?: string;
|
|
2921
|
-
/** @description
|
|
3012
|
+
/** @description Human-readable explanation if the copy fails. */
|
|
2922
3013
|
error_message?: string;
|
|
2923
|
-
/** @description Remix result, present
|
|
2924
|
-
result?: components["schemas"]["
|
|
2925
|
-
/**
|
|
2926
|
-
|
|
2927
|
-
|
|
3014
|
+
/** @description Remix result, present after a successful copy. */
|
|
3015
|
+
result?: components["schemas"]["RemixResult"];
|
|
3016
|
+
/**
|
|
3017
|
+
* @description Progress of copying the project. More values may be added; clients must tolerate unknown values.
|
|
3018
|
+
* @enum {string}
|
|
3019
|
+
*/
|
|
3020
|
+
status: "preparing" | "running" | "completed" | "error" | "unknown";
|
|
3021
|
+
/** @description Current copying stage, when available. On failure, failure.failed_step identifies the stage that failed. */
|
|
2928
3022
|
step?: components["schemas"]["RemixJobStepInfo"];
|
|
2929
3023
|
};
|
|
2930
3024
|
PublicV1SendMessageInputBody: {
|
|
@@ -2961,26 +3055,29 @@ interface components {
|
|
|
2961
3055
|
/** @description Project ID */
|
|
2962
3056
|
project_id: string;
|
|
2963
3057
|
};
|
|
2964
|
-
|
|
2965
|
-
/** @description
|
|
2966
|
-
audience?: components["schemas"]["
|
|
3058
|
+
UpdatePublishSettingsRequest: {
|
|
3059
|
+
/** @description Audience grants, available only with selected-audience app access. Providing a list replaces all group and user grants and removes workspace-wide access; an empty list removes those grants. Existing organization access and email invitations managed in the UI are preserved. Omit to keep the current audience. */
|
|
3060
|
+
audience?: components["schemas"]["PublishAudienceTarget"][] | null;
|
|
2967
3061
|
/** @description Set to false to take the published app offline; visibility and audience settings are kept and apply again on the next publish. true is rejected: publishing requires a deploy via POST /v1/projects/{project_id}/publish. */
|
|
2968
3062
|
is_published?: boolean;
|
|
2969
3063
|
/**
|
|
2970
|
-
* @description Who can view the published app
|
|
3064
|
+
* @description Who can view the published app. A selected audience can include existing grants managed in the UI. Omit to leave visibility unchanged. Clients must tolerate new values.
|
|
2971
3065
|
* @enum {string}
|
|
2972
3066
|
*/
|
|
2973
3067
|
visibility?: "public" | "workspace" | "custom";
|
|
2974
3068
|
};
|
|
2975
|
-
|
|
3069
|
+
PublishSettings: {
|
|
2976
3070
|
/** @description Whether the project is currently published */
|
|
2977
3071
|
is_published: boolean;
|
|
2978
|
-
/** @description Published
|
|
3072
|
+
/** @description Published app URL. Omitted when is_published is false. */
|
|
2979
3073
|
url?: string;
|
|
2980
|
-
/**
|
|
2981
|
-
|
|
3074
|
+
/**
|
|
3075
|
+
* @description Who can view the published app. More values may be added; clients must tolerate unknown values.
|
|
3076
|
+
* @enum {string}
|
|
3077
|
+
*/
|
|
3078
|
+
visibility: "public" | "workspace" | "custom";
|
|
2982
3079
|
};
|
|
2983
|
-
|
|
3080
|
+
Workspace: {
|
|
2984
3081
|
/**
|
|
2985
3082
|
* Format: date-time
|
|
2986
3083
|
* @description When the workspace was created.
|
|
@@ -3014,10 +3111,11 @@ interface components {
|
|
|
3014
3111
|
*/
|
|
3015
3112
|
num_projects: number;
|
|
3016
3113
|
/**
|
|
3017
|
-
* @description Plan tier.
|
|
3114
|
+
* @description Plan tier. More values may be added; clients must tolerate unknown values.
|
|
3018
3115
|
* @example pro
|
|
3116
|
+
* @enum {string}
|
|
3019
3117
|
*/
|
|
3020
|
-
plan:
|
|
3118
|
+
plan: "free" | "pro" | "business" | "enterprise";
|
|
3021
3119
|
/**
|
|
3022
3120
|
* Format: date-time
|
|
3023
3121
|
* @description When the workspace was last updated.
|
|
@@ -3025,7 +3123,7 @@ interface components {
|
|
|
3025
3123
|
*/
|
|
3026
3124
|
updated_at?: string;
|
|
3027
3125
|
};
|
|
3028
|
-
|
|
3126
|
+
WorkspaceMembership: {
|
|
3029
3127
|
/**
|
|
3030
3128
|
* Format: date-time
|
|
3031
3129
|
* @description When the caller joined the workspace.
|
|
@@ -3033,17 +3131,18 @@ interface components {
|
|
|
3033
3131
|
*/
|
|
3034
3132
|
joined_at?: string;
|
|
3035
3133
|
/**
|
|
3036
|
-
* @description Caller's role in the workspace.
|
|
3134
|
+
* @description Caller's role in the workspace. More values may be added; clients must tolerate unknown values.
|
|
3037
3135
|
* @example admin
|
|
3136
|
+
* @enum {string}
|
|
3038
3137
|
*/
|
|
3039
|
-
role:
|
|
3138
|
+
role: "owner" | "admin" | "member" | "viewer" | "collaborator";
|
|
3040
3139
|
/**
|
|
3041
3140
|
* @description Caller's user ID.
|
|
3042
3141
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
3043
3142
|
*/
|
|
3044
3143
|
user_id: string;
|
|
3045
3144
|
};
|
|
3046
|
-
|
|
3145
|
+
WorkspaceWithMembership: {
|
|
3047
3146
|
/**
|
|
3048
3147
|
* Format: date-time
|
|
3049
3148
|
* @description When the workspace was created.
|
|
@@ -3066,7 +3165,7 @@ interface components {
|
|
|
3066
3165
|
*/
|
|
3067
3166
|
image_url?: string;
|
|
3068
3167
|
/** @description Caller's membership in this workspace. */
|
|
3069
|
-
membership?: components["schemas"]["
|
|
3168
|
+
membership?: components["schemas"]["WorkspaceMembership"];
|
|
3070
3169
|
/**
|
|
3071
3170
|
* @description Workspace display name.
|
|
3072
3171
|
* @example Acme Inc
|
|
@@ -3079,10 +3178,11 @@ interface components {
|
|
|
3079
3178
|
*/
|
|
3080
3179
|
num_projects: number;
|
|
3081
3180
|
/**
|
|
3082
|
-
* @description Plan tier.
|
|
3181
|
+
* @description Plan tier. More values may be added; clients must tolerate unknown values.
|
|
3083
3182
|
* @example pro
|
|
3183
|
+
* @enum {string}
|
|
3084
3184
|
*/
|
|
3085
|
-
plan:
|
|
3185
|
+
plan: "free" | "pro" | "business" | "enterprise";
|
|
3086
3186
|
/**
|
|
3087
3187
|
* Format: date-time
|
|
3088
3188
|
* @description When the workspace was last updated.
|
|
@@ -3091,21 +3191,40 @@ interface components {
|
|
|
3091
3191
|
updated_at?: string;
|
|
3092
3192
|
};
|
|
3093
3193
|
RemixJobFailure: {
|
|
3194
|
+
/** @description Machine-readable failure code when the cause is recognized. Omitted for unclassified failures. */
|
|
3094
3195
|
code?: string;
|
|
3095
|
-
|
|
3196
|
+
/**
|
|
3197
|
+
* @description Stage of copying the project that failed. More values may be added; clients must tolerate unknown values.
|
|
3198
|
+
* @enum {string}
|
|
3199
|
+
*/
|
|
3200
|
+
failed_step: "starting" | "creating_new_project" | "restoring_supabase" | "copying_history" | "preparing_repository" | "remixing_integration" | "pushing_repository" | "finalizing" | "completed" | "failed";
|
|
3201
|
+
/** @description Human-readable explanation of why this step failed. */
|
|
3096
3202
|
message: string;
|
|
3097
3203
|
};
|
|
3098
3204
|
RemixJobStepInfo: {
|
|
3205
|
+
/** @description Details of a failed step, when available. */
|
|
3099
3206
|
failure?: components["schemas"]["RemixJobFailure"];
|
|
3207
|
+
/** @description Connected service being copied, when the current step relates to an integration. */
|
|
3100
3208
|
integration_name?: string;
|
|
3209
|
+
/** @description Progress detail reported by the connected service. Values vary by integration and are separate from the overall job status. */
|
|
3101
3210
|
status?: string;
|
|
3102
|
-
|
|
3211
|
+
/**
|
|
3212
|
+
* @description Current stage of copying the project, such as preparing its code or copying connected services. More values may be added; clients must tolerate unknown values.
|
|
3213
|
+
* @enum {string}
|
|
3214
|
+
*/
|
|
3215
|
+
step: "starting" | "creating_new_project" | "restoring_supabase" | "copying_history" | "preparing_repository" | "remixing_integration" | "pushing_repository" | "finalizing" | "completed" | "failed";
|
|
3103
3216
|
};
|
|
3104
3217
|
RemixWarning: {
|
|
3105
|
-
/**
|
|
3218
|
+
/**
|
|
3219
|
+
* @description Category of a non-fatal issue encountered while copying the project. More values may be added; clients must tolerate unknown values.
|
|
3220
|
+
* @enum {string}
|
|
3221
|
+
*/
|
|
3106
3222
|
code: "edge_functions_not_deployed" | "integration_skipped";
|
|
3223
|
+
/** @description Names of backend functions that could not be deployed in the new project. */
|
|
3107
3224
|
failed_edge_functions?: string[] | null;
|
|
3225
|
+
/** @description Human-readable explanation of why the connected service was not copied. */
|
|
3108
3226
|
reason?: string;
|
|
3227
|
+
/** @description Connected service that was not copied, when applicable. */
|
|
3109
3228
|
skipped_integration?: string;
|
|
3110
3229
|
};
|
|
3111
3230
|
SeamlessConnectorAPI: {
|
|
@@ -3208,6 +3327,7 @@ interface components {
|
|
|
3208
3327
|
SearchWorkspaceProjectsResponse: {
|
|
3209
3328
|
has_more: boolean;
|
|
3210
3329
|
projects: components["schemas"]["SearchProjectItem"][] | null;
|
|
3330
|
+
title_search?: boolean;
|
|
3211
3331
|
/** Format: int64 */
|
|
3212
3332
|
total: number;
|
|
3213
3333
|
};
|
|
@@ -3216,6 +3336,8 @@ interface components {
|
|
|
3216
3336
|
reason: string;
|
|
3217
3337
|
};
|
|
3218
3338
|
StandardConnectorAPI: {
|
|
3339
|
+
/** @description True when this workspace can publish apps into the connector's platform (the connect card then offers that choice) */
|
|
3340
|
+
can_deploy_apps: boolean;
|
|
3219
3341
|
/** @description True when the workspace plan allows restricting connection creation to admins (Business and Enterprise) */
|
|
3220
3342
|
can_restrict_to_admins: boolean;
|
|
3221
3343
|
/** @description Connector categories (empty array when none) */
|
|
@@ -3286,7 +3408,7 @@ interface components {
|
|
|
3286
3408
|
updated_at: string;
|
|
3287
3409
|
};
|
|
3288
3410
|
TimeSeriesData: {
|
|
3289
|
-
/** @description
|
|
3411
|
+
/** @description Values ordered by bucket start time. Bucket size is set by granularity; future buckets are omitted. */
|
|
3290
3412
|
data: components["schemas"]["TimeSeriesDataPoint"][] | null;
|
|
3291
3413
|
/**
|
|
3292
3414
|
* @description Metric identifier, e.g. "sessionDuration".
|
|
@@ -3295,7 +3417,7 @@ interface components {
|
|
|
3295
3417
|
label: string;
|
|
3296
3418
|
/**
|
|
3297
3419
|
* Format: double
|
|
3298
|
-
* @description
|
|
3420
|
+
* @description Aggregate over the requested range. The unit and calculation (sum, ratio, or average) are defined by the parent metric.
|
|
3299
3421
|
* @example 1280
|
|
3300
3422
|
*/
|
|
3301
3423
|
total: number;
|
|
@@ -3308,7 +3430,7 @@ interface components {
|
|
|
3308
3430
|
date: string;
|
|
3309
3431
|
/**
|
|
3310
3432
|
* Format: double
|
|
3311
|
-
* @description Metric value for this bucket
|
|
3433
|
+
* @description Metric value for this bucket, in the unit defined by the parent metric.
|
|
3312
3434
|
* @example 1280
|
|
3313
3435
|
*/
|
|
3314
3436
|
value: number;
|
|
@@ -3322,7 +3444,7 @@ interface components {
|
|
|
3322
3444
|
pageviewsPerVisit: components["schemas"]["TimeSeriesData"];
|
|
3323
3445
|
/** @description Average session duration in seconds. Each data point is the mean session length for that bucket; total is the mean of the per-bucket values across buckets that had at least one visitor, rounded to whole seconds (it is not a sum). */
|
|
3324
3446
|
sessionDuration: components["schemas"]["TimeSeriesData"];
|
|
3325
|
-
/** @description
|
|
3447
|
+
/** @description Visitor sessions, counted once per time bucket. total sums the bucket counts, so a session active in multiple buckets is counted more than once. */
|
|
3326
3448
|
visitors: components["schemas"]["TimeSeriesData"];
|
|
3327
3449
|
};
|
|
3328
3450
|
ToolDisplayData: {
|
|
@@ -3341,7 +3463,7 @@ interface components {
|
|
|
3341
3463
|
time: string;
|
|
3342
3464
|
/**
|
|
3343
3465
|
* Format: int64
|
|
3344
|
-
* @description
|
|
3466
|
+
* @description Unique visitor sessions with a page view in this minute. A session can appear in multiple buckets.
|
|
3345
3467
|
* @example 42
|
|
3346
3468
|
*/
|
|
3347
3469
|
visits: number;
|
|
@@ -3359,6 +3481,11 @@ interface components {
|
|
|
3359
3481
|
awaiting_input?: components["schemas"]["V1AwaitingInputSummary"];
|
|
3360
3482
|
/** @description Git commit SHA for this change */
|
|
3361
3483
|
commit_sha?: string;
|
|
3484
|
+
/**
|
|
3485
|
+
* @description How the turn ended; only present once the turn has ended. Refines status: max_iterations means the agent hit its iteration cap and closed the turn with work possibly incomplete (status completed); policy_violation means safety validation blocked the turn before any model call (status completed). New values may be added; clients must tolerate unknown values by falling back to status
|
|
3486
|
+
* @enum {string}
|
|
3487
|
+
*/
|
|
3488
|
+
completion_reason?: "finished" | "stopped" | "error" | "policy_violation" | "max_iterations";
|
|
3362
3489
|
/** @description AI response text */
|
|
3363
3490
|
content: string;
|
|
3364
3491
|
/**
|
|
@@ -3423,34 +3550,48 @@ interface components {
|
|
|
3423
3550
|
event_id: string;
|
|
3424
3551
|
/** @description UserInputBlock[] schema for tools that require structured user input */
|
|
3425
3552
|
input_schema?: unknown;
|
|
3553
|
+
/** @description Validated JSON parameters of the tool call awaiting approval, as the Lovable editor shows them on the approval card. Absent when the call never reached parameter validation. */
|
|
3554
|
+
params?: unknown;
|
|
3426
3555
|
/** @description Suspended AI message ID to pass back as prev_session_id when resuming */
|
|
3427
3556
|
prev_session_id?: string;
|
|
3557
|
+
/** @description Stable identifier of the tool awaiting approval, e.g. app_user_connector--provision_app. Omitted when the tool call carries no stable tool id. */
|
|
3558
|
+
tool_id?: string;
|
|
3428
3559
|
};
|
|
3429
|
-
|
|
3430
|
-
/** @description Per-member limits to apply
|
|
3431
|
-
members: components["schemas"]["
|
|
3560
|
+
SetMemberCreditLimitsRequest: {
|
|
3561
|
+
/** @description Per-member limits to apply, with each member listed at most once. To set the default for members without an explicit limit, use PATCH /v1/workspaces/{workspace_id}/settings. */
|
|
3562
|
+
members: components["schemas"]["MemberCreditLimitUpdate"][];
|
|
3432
3563
|
};
|
|
3433
|
-
|
|
3564
|
+
MemberCreditLimit: {
|
|
3434
3565
|
/**
|
|
3435
3566
|
* Format: double
|
|
3436
|
-
* @description Explicit monthly credit
|
|
3567
|
+
* @description Explicit ongoing monthly build-credit limit for this member. Omitted when the member inherits the workspace default. An active higher temporary limit can override it.
|
|
3437
3568
|
*/
|
|
3438
3569
|
monthly_credit_limit?: number;
|
|
3570
|
+
/**
|
|
3571
|
+
* Format: date-time
|
|
3572
|
+
* @description When temporary_monthly_credit_limit expires.
|
|
3573
|
+
*/
|
|
3574
|
+
temporary_limit_expires_at?: string;
|
|
3575
|
+
/**
|
|
3576
|
+
* Format: double
|
|
3577
|
+
* @description Active temporary monthly build-credit limit for this member. It overrides the permanent or default limit only when higher. Omitted when no temporary limit is active.
|
|
3578
|
+
*/
|
|
3579
|
+
temporary_monthly_credit_limit?: number;
|
|
3439
3580
|
/** @description Member the cap applies to. Join GET /v1/workspaces/{workspace_id}/members for display metadata. */
|
|
3440
3581
|
user_id: string;
|
|
3441
3582
|
};
|
|
3442
|
-
|
|
3583
|
+
CreditLimitPage: {
|
|
3443
3584
|
/** @description Items in this page. */
|
|
3444
|
-
data: components["schemas"]["
|
|
3585
|
+
data: components["schemas"]["MemberCreditLimit"][] | null;
|
|
3445
3586
|
/**
|
|
3446
3587
|
* Format: double
|
|
3447
|
-
* @description
|
|
3588
|
+
* @description Default monthly build-credit limit for members without an explicit per-member limit. Omitted when unset. An active higher temporary limit can override it.
|
|
3448
3589
|
*/
|
|
3449
3590
|
default_monthly_credit_limit?: number;
|
|
3450
|
-
/** @description
|
|
3591
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
3451
3592
|
pagination: components["schemas"]["Pagination"];
|
|
3452
3593
|
};
|
|
3453
|
-
|
|
3594
|
+
BillingPeriod: {
|
|
3454
3595
|
/**
|
|
3455
3596
|
* Format: date-time
|
|
3456
3597
|
* @description Exclusive end of the period these credit figures cover (RFC3339, UTC).
|
|
@@ -3464,49 +3605,53 @@ interface components {
|
|
|
3464
3605
|
*/
|
|
3465
3606
|
start: string;
|
|
3466
3607
|
};
|
|
3467
|
-
|
|
3608
|
+
CreditUsagePage: {
|
|
3468
3609
|
/** @description Items in this page. */
|
|
3469
|
-
data: components["schemas"]["
|
|
3610
|
+
data: components["schemas"]["CreditUsageEntry"][] | null;
|
|
3470
3611
|
/**
|
|
3471
3612
|
* Format: int64
|
|
3472
3613
|
* @description Number of grouped entities across all pages; group_by queries only.
|
|
3473
3614
|
* @example 12
|
|
3474
3615
|
*/
|
|
3475
3616
|
entity_count?: number;
|
|
3476
|
-
/** @description
|
|
3617
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
3477
3618
|
pagination: components["schemas"]["Pagination"];
|
|
3478
|
-
/** @description
|
|
3479
|
-
period: components["schemas"]["
|
|
3619
|
+
/** @description Date window and grouping applied to this response. */
|
|
3620
|
+
period: components["schemas"]["CreditUsagePeriod"];
|
|
3480
3621
|
/**
|
|
3481
3622
|
* Format: double
|
|
3482
|
-
* @description Total matching credits across the
|
|
3623
|
+
* @description Total matching credits across the requested window and all pages. Includes usage without a member or project attribution, which is omitted from grouped rows.
|
|
3483
3624
|
* @example 500
|
|
3484
3625
|
*/
|
|
3485
3626
|
workspace_total: number;
|
|
3486
3627
|
};
|
|
3487
|
-
|
|
3628
|
+
CreditUsagePeriod: {
|
|
3488
3629
|
/**
|
|
3489
3630
|
* @description Inclusive end of the covered window (YYYY-MM-DD, UTC).
|
|
3490
3631
|
* @example 2026-01-31
|
|
3491
3632
|
*/
|
|
3492
3633
|
end: string;
|
|
3493
3634
|
/**
|
|
3494
|
-
* @description Grouping dimension the rows use; group_by queries only.
|
|
3635
|
+
* @description Grouping dimension the rows use; group_by queries only. More values may be added; clients must tolerate unknown values.
|
|
3495
3636
|
* @example member
|
|
3637
|
+
* @enum {string}
|
|
3638
|
+
*/
|
|
3639
|
+
group_by?: "member" | "project";
|
|
3640
|
+
/**
|
|
3641
|
+
* @description Bucket size the rows use; interval queries only. More values may be added; clients must tolerate unknown values.
|
|
3642
|
+
* @enum {string}
|
|
3496
3643
|
*/
|
|
3497
|
-
|
|
3498
|
-
/** @description Bucket size the rows use; interval queries only. */
|
|
3499
|
-
interval?: string;
|
|
3644
|
+
interval?: "day" | "week" | "month";
|
|
3500
3645
|
/**
|
|
3501
3646
|
* @description Inclusive start of the covered window (YYYY-MM-DD, UTC).
|
|
3502
3647
|
* @example 2026-01-01
|
|
3503
3648
|
*/
|
|
3504
3649
|
start: string;
|
|
3505
3650
|
};
|
|
3506
|
-
|
|
3651
|
+
CreditUsageEntry: {
|
|
3507
3652
|
/**
|
|
3508
3653
|
* Format: double
|
|
3509
|
-
* @description
|
|
3654
|
+
* @description Credits used to create, edit, or plan apps in Lovable.
|
|
3510
3655
|
* @example 120
|
|
3511
3656
|
*/
|
|
3512
3657
|
build: number;
|
|
@@ -3517,7 +3662,7 @@ interface components {
|
|
|
3517
3662
|
*/
|
|
3518
3663
|
connectors: number;
|
|
3519
3664
|
/** @description Per-connector breakdown. Interval buckets only. */
|
|
3520
|
-
connectors_breakdown?: components["schemas"]["
|
|
3665
|
+
connectors_breakdown?: components["schemas"]["ConnectorUsage"][] | null;
|
|
3521
3666
|
/**
|
|
3522
3667
|
* Format: double
|
|
3523
3668
|
* @description Database credits.
|
|
@@ -3525,14 +3670,14 @@ interface components {
|
|
|
3525
3670
|
*/
|
|
3526
3671
|
database: number;
|
|
3527
3672
|
/** @description Database server/storage breakdown. Interval buckets only. */
|
|
3528
|
-
database_breakdown?: components["schemas"]["
|
|
3673
|
+
database_breakdown?: components["schemas"]["DatabaseUsage"][] | null;
|
|
3529
3674
|
/**
|
|
3530
|
-
* @description Member display name.
|
|
3675
|
+
* @description Member display name, when available. Included only when grouping by workspace membership, or for ungrouped results filtered to one user_id.
|
|
3531
3676
|
* @example Jane Cooper
|
|
3532
3677
|
*/
|
|
3533
3678
|
display_name?: string;
|
|
3534
3679
|
/**
|
|
3535
|
-
* @description Member email
|
|
3680
|
+
* @description Member email address in this workspace, when available. Included only when grouping by workspace membership, or for ungrouped results filtered to one user_id.
|
|
3536
3681
|
* @example jane.cooper@acme.com
|
|
3537
3682
|
*/
|
|
3538
3683
|
email?: string;
|
|
@@ -3544,12 +3689,12 @@ interface components {
|
|
|
3544
3689
|
functions: number;
|
|
3545
3690
|
/**
|
|
3546
3691
|
* Format: double
|
|
3547
|
-
* @description AI
|
|
3692
|
+
* @description Credits used for AI model requests made by apps through Lovable AI.
|
|
3548
3693
|
* @example 200
|
|
3549
3694
|
*/
|
|
3550
3695
|
gateway: number;
|
|
3551
|
-
/** @description
|
|
3552
|
-
gateway_models?: components["schemas"]["
|
|
3696
|
+
/** @description Up to three AI models with the highest credit usage in this time bucket, ordered by credits descending. Their sum may be less than gateway. Included only for interval queries. */
|
|
3697
|
+
gateway_models?: components["schemas"]["GatewayModelUsage"][] | null;
|
|
3553
3698
|
/**
|
|
3554
3699
|
* Format: double
|
|
3555
3700
|
* @description Network data-transfer credits.
|
|
@@ -3560,17 +3705,17 @@ interface components {
|
|
|
3560
3705
|
period_end?: string;
|
|
3561
3706
|
/** @description Inclusive row start (YYYY-MM-DD, UTC). Present on interval buckets and the aggregate row. */
|
|
3562
3707
|
period_start?: string;
|
|
3563
|
-
/** @description Project
|
|
3708
|
+
/** @description Project ID when grouping usage by project. Use GET /v1/projects/{project_id} for project details. */
|
|
3564
3709
|
project_id?: string;
|
|
3565
3710
|
/**
|
|
3566
3711
|
* Format: double
|
|
3567
|
-
* @description
|
|
3712
|
+
* @description Credits used for realtime app updates and subscriptions.
|
|
3568
3713
|
* @example 40
|
|
3569
3714
|
*/
|
|
3570
3715
|
realtime: number;
|
|
3571
3716
|
/**
|
|
3572
3717
|
* Format: double
|
|
3573
|
-
* @description
|
|
3718
|
+
* @description Credits used by app services, equal to the sum of gateway, realtime, functions, storage, database, network, and connectors.
|
|
3574
3719
|
* @example 380
|
|
3575
3720
|
*/
|
|
3576
3721
|
run: number;
|
|
@@ -3582,22 +3727,27 @@ interface components {
|
|
|
3582
3727
|
storage: number;
|
|
3583
3728
|
/**
|
|
3584
3729
|
* Format: double
|
|
3585
|
-
* @description Total credits in this row.
|
|
3730
|
+
* @description Total Lovable credits used in this row, equal to build plus run.
|
|
3586
3731
|
* @example 500
|
|
3587
3732
|
*/
|
|
3588
3733
|
total: number;
|
|
3589
3734
|
/**
|
|
3590
|
-
* @description Member this row
|
|
3735
|
+
* @description Member whose usage this row summarizes. Present when grouping by workspace membership or filtering to one user_id.
|
|
3591
3736
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
3592
3737
|
*/
|
|
3593
3738
|
user_id?: string;
|
|
3594
3739
|
};
|
|
3595
|
-
|
|
3740
|
+
MemberCreditLimitUpdate: {
|
|
3741
|
+
/**
|
|
3742
|
+
* @description How long the limit applies. Omit for an ongoing limit. Temporary increases must exceed an existing effective limit and expire at the end of the current UTC calendar month. Temporary increases must be supported by the workspace.
|
|
3743
|
+
* @enum {string}
|
|
3744
|
+
*/
|
|
3745
|
+
duration?: "permanent" | "current_period";
|
|
3596
3746
|
/** @description Member's workspace email (case-insensitive; the address on the workspace membership, not the user's personal email). Provide exactly one of user_id or email. */
|
|
3597
3747
|
email?: string;
|
|
3598
3748
|
/**
|
|
3599
3749
|
* Format: double
|
|
3600
|
-
* @description
|
|
3750
|
+
* @description Monthly build-credit limit, as a nonnegative number of Lovable credits. Zero sets a zero-credit limit. With permanent duration, null clears the explicit limit so the workspace default applies. An active higher temporary limit can still apply.
|
|
3601
3751
|
* @example 500
|
|
3602
3752
|
*/
|
|
3603
3753
|
monthly_credit_limit: number | null;
|
|
@@ -3607,19 +3757,30 @@ interface components {
|
|
|
3607
3757
|
*/
|
|
3608
3758
|
user_id?: string;
|
|
3609
3759
|
};
|
|
3610
|
-
|
|
3760
|
+
MemberCreditLimitResult: {
|
|
3761
|
+
/**
|
|
3762
|
+
* Format: date-time
|
|
3763
|
+
* @description When a current-period limit expires. Omitted for permanent updates.
|
|
3764
|
+
*/
|
|
3765
|
+
approved_until?: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* @description Duration of a temporary-limit update. Omitted for ongoing-limit updates. More values may be added; clients must tolerate unknown values.
|
|
3768
|
+
* @enum {string}
|
|
3769
|
+
*/
|
|
3770
|
+
duration?: "current_period";
|
|
3611
3771
|
/** @description Echoed when the item was addressed by email, so email-addressed results stay correlatable. */
|
|
3612
3772
|
email?: string;
|
|
3613
3773
|
/**
|
|
3614
|
-
* @description
|
|
3774
|
+
* @description Reason the member update did not succeed.
|
|
3615
3775
|
* @example member not found
|
|
3616
3776
|
*/
|
|
3617
3777
|
error?: string;
|
|
3618
3778
|
/**
|
|
3619
|
-
* @description
|
|
3779
|
+
* @description Outcome of this member update. More values may be added; clients must tolerate unknown values.
|
|
3620
3780
|
* @example error
|
|
3781
|
+
* @enum {string}
|
|
3621
3782
|
*/
|
|
3622
|
-
status:
|
|
3783
|
+
status: "success" | "error";
|
|
3623
3784
|
/**
|
|
3624
3785
|
* @description The member this result is for (resolved from email when the item was addressed by email).
|
|
3625
3786
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
@@ -3628,11 +3789,11 @@ interface components {
|
|
|
3628
3789
|
};
|
|
3629
3790
|
V1BulkSetMemberCreditLimitInputBody: {
|
|
3630
3791
|
/** @description Per-member limits to apply (1-50 entries). Use the workspace default (PATCH /v1/settings) to cap everyone at once. */
|
|
3631
|
-
members: components["schemas"]["
|
|
3792
|
+
members: components["schemas"]["MemberCreditLimitUpdate"][];
|
|
3632
3793
|
/** @description Workspace ID. */
|
|
3633
3794
|
workspace_id: string;
|
|
3634
3795
|
};
|
|
3635
|
-
|
|
3796
|
+
SetMemberCreditLimitsResponse: {
|
|
3636
3797
|
/**
|
|
3637
3798
|
* Format: int64
|
|
3638
3799
|
* @description Number that failed (see per-item error).
|
|
@@ -3640,7 +3801,7 @@ interface components {
|
|
|
3640
3801
|
*/
|
|
3641
3802
|
failed: number;
|
|
3642
3803
|
/** @description Per-member outcome, in request order. */
|
|
3643
|
-
results: components["schemas"]["
|
|
3804
|
+
results: components["schemas"]["MemberCreditLimitResult"][] | null;
|
|
3644
3805
|
/**
|
|
3645
3806
|
* Format: int64
|
|
3646
3807
|
* @description Number applied successfully.
|
|
@@ -3684,16 +3845,16 @@ interface components {
|
|
|
3684
3845
|
/** @description MCP server URL */
|
|
3685
3846
|
url?: string;
|
|
3686
3847
|
};
|
|
3687
|
-
|
|
3848
|
+
CreateEmbedURLRequest: {
|
|
3688
3849
|
/**
|
|
3689
|
-
* @description
|
|
3850
|
+
* @description HTTPS origin allowed to embed the preview, using a lowercase hostname with no port, trailing slash, path, query, or fragment. The preview URL only loads in an iframe on this origin.
|
|
3690
3851
|
* @example https://acme.com
|
|
3691
3852
|
*/
|
|
3692
3853
|
parent_origin: string;
|
|
3693
3854
|
};
|
|
3694
|
-
|
|
3855
|
+
CreateEmbedURLResponse: {
|
|
3695
3856
|
/**
|
|
3696
|
-
* @description
|
|
3857
|
+
* @description Preview URL for an iframe on parent_origin. It allows visitors to view the built preview without a Lovable login until expires_at.
|
|
3697
3858
|
* @example https://acme-landing-page.lovable.app/?__lovable_token=eyJhbGciOiJIUzI1NiJ9
|
|
3698
3859
|
*/
|
|
3699
3860
|
embed_url: string;
|
|
@@ -3711,14 +3872,14 @@ interface components {
|
|
|
3711
3872
|
display_name?: string;
|
|
3712
3873
|
/**
|
|
3713
3874
|
* @deprecated
|
|
3714
|
-
* @description Deprecated
|
|
3875
|
+
* @description Deprecated: create-time file attachment is slated for replacement by a unified attachment mechanism, but this is still the only supported way to attach uploads on create meanwhile. Ephemeral file references for files staged before the project exists; requires initial_message. file_id is the full "ephemeral/{user_id}/{uuid}" path; file_name/mime_type/type are carried through to the promoted file ref so the image-vs-file distinction is kept. Copied into the new project's bucket and attached to the initial message after the project is created.
|
|
3715
3876
|
*/
|
|
3716
3877
|
ephemeral_files?: components["schemas"]["V1UnscopedFile"][] | null;
|
|
3717
3878
|
/** @description Public HTTPS image or HTML file URLs to fetch server-side and attach to the initial message. Currently supports JPEG, PNG, WebP, and HTML. */
|
|
3718
3879
|
file_urls?: string[] | null;
|
|
3719
3880
|
/**
|
|
3720
3881
|
* @deprecated
|
|
3721
|
-
* @description Deprecated
|
|
3882
|
+
* @description Deprecated: create-time file attachment is slated for replacement by a unified attachment mechanism; use ephemeral_files meanwhile. Pre-uploaded user-scoped file references ("{user_id}/{uuid}/{name}"), attached in place without copying; requires initial_message.
|
|
3722
3883
|
*/
|
|
3723
3884
|
files?: components["schemas"]["V1UnscopedFile"][] | null;
|
|
3724
3885
|
/** @description Initial chat message to send after creation */
|
|
@@ -3776,7 +3937,7 @@ interface components {
|
|
|
3776
3937
|
is_published?: boolean;
|
|
3777
3938
|
/**
|
|
3778
3939
|
* Format: date-time
|
|
3779
|
-
* @description When the project
|
|
3940
|
+
* @description When the project last received an edit or a user chat message.
|
|
3780
3941
|
* @example 2026-01-15T09:30:00Z
|
|
3781
3942
|
*/
|
|
3782
3943
|
last_edited_at?: string;
|
|
@@ -3798,7 +3959,7 @@ interface components {
|
|
|
3798
3959
|
*/
|
|
3799
3960
|
name?: string;
|
|
3800
3961
|
/**
|
|
3801
|
-
* @description
|
|
3962
|
+
* @description Image URL used when sharing a link to the project on social platforms.
|
|
3802
3963
|
* @example https://lovable.dev/cdn/projects/acme-landing-page/og.png
|
|
3803
3964
|
*/
|
|
3804
3965
|
og_image_url?: string;
|
|
@@ -3808,20 +3969,23 @@ interface components {
|
|
|
3808
3969
|
*/
|
|
3809
3970
|
preview_url?: string;
|
|
3810
3971
|
/**
|
|
3811
|
-
* @description Project type.
|
|
3972
|
+
* @description Project type. Absent on older projects. More values may be added; clients must tolerate unknown values.
|
|
3812
3973
|
* @example project
|
|
3974
|
+
* @enum {string}
|
|
3813
3975
|
*/
|
|
3814
|
-
project_type?:
|
|
3976
|
+
project_type?: "project" | "library";
|
|
3815
3977
|
/**
|
|
3816
|
-
* @description
|
|
3978
|
+
* @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
|
|
3817
3979
|
* @example public
|
|
3980
|
+
* @enum {string}
|
|
3818
3981
|
*/
|
|
3819
|
-
publish_visibility?:
|
|
3982
|
+
publish_visibility?: "public" | "private" | "workspace_only";
|
|
3820
3983
|
/**
|
|
3821
|
-
* @description
|
|
3984
|
+
* @description Project setup status. Successful setup means the project has been created; the AI may still be processing a message and the preview may not be ready. More values may be added; clients must tolerate unknown values.
|
|
3822
3985
|
* @example completed
|
|
3986
|
+
* @enum {string}
|
|
3823
3987
|
*/
|
|
3824
|
-
status?:
|
|
3988
|
+
status?: "in_progress" | "completed" | "failed";
|
|
3825
3989
|
/**
|
|
3826
3990
|
* @description Project tech stack.
|
|
3827
3991
|
* @example vite_react_shadcn_ts
|
|
@@ -3844,10 +4008,11 @@ interface components {
|
|
|
3844
4008
|
*/
|
|
3845
4009
|
user_id?: string;
|
|
3846
4010
|
/**
|
|
3847
|
-
* @description
|
|
4011
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. More values may be added; clients must tolerate unknown values.
|
|
3848
4012
|
* @example public
|
|
4013
|
+
* @enum {string}
|
|
3849
4014
|
*/
|
|
3850
|
-
visibility?:
|
|
4015
|
+
visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
3851
4016
|
/**
|
|
3852
4017
|
* @description Workspace the project belongs to.
|
|
3853
4018
|
* @example workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -3870,7 +4035,12 @@ interface components {
|
|
|
3870
4035
|
/** @description The variant's identifier */
|
|
3871
4036
|
variant_id: string;
|
|
3872
4037
|
};
|
|
3873
|
-
|
|
4038
|
+
CreditHistoryEntry: {
|
|
4039
|
+
/**
|
|
4040
|
+
* @description ID linking entries for the same credit allocation. A granted entry followed by an offsetting adjustment means the remaining credits were removed early, for example after a plan change or refund. Usage deductions are not included in this history, so summing these entries does not give the remaining balance.
|
|
4041
|
+
* @example 01jw3k9m2xq8r5v0c7d4e6f2aa
|
|
4042
|
+
*/
|
|
4043
|
+
credit_grant_id: string;
|
|
3874
4044
|
/**
|
|
3875
4045
|
* Format: double
|
|
3876
4046
|
* @description Signed change in Lovable credits: positive for grants, negative for expiries and debits.
|
|
@@ -3878,13 +4048,13 @@ interface components {
|
|
|
3878
4048
|
*/
|
|
3879
4049
|
credits_change: number;
|
|
3880
4050
|
/**
|
|
3881
|
-
* @description
|
|
4051
|
+
* @description How this event changed the credit balance. Early removal can reflect a plan change or refund replacing or revoking an earlier grant. Legacy balances may also be re-denominated.
|
|
3882
4052
|
* @example granted
|
|
3883
4053
|
* @enum {string}
|
|
3884
4054
|
*/
|
|
3885
4055
|
event_type: "granted" | "expired" | "adjustment" | "converted";
|
|
3886
4056
|
/**
|
|
3887
|
-
* @description
|
|
4057
|
+
* @description Source of the credits affected. More values may be added; clients must tolerate unknown values.
|
|
3888
4058
|
* @example billing
|
|
3889
4059
|
* @enum {string}
|
|
3890
4060
|
*/
|
|
@@ -3982,13 +4152,13 @@ interface components {
|
|
|
3982
4152
|
/** @description Whether there are older edits available */
|
|
3983
4153
|
has_more: boolean;
|
|
3984
4154
|
};
|
|
3985
|
-
|
|
3986
|
-
/** @description
|
|
3987
|
-
findings: components["schemas"]["
|
|
3988
|
-
/** @description
|
|
3989
|
-
scan: components["schemas"]["
|
|
3990
|
-
/** @description
|
|
3991
|
-
scanner_runs: components["schemas"]["
|
|
4155
|
+
SecurityScanDetail: {
|
|
4156
|
+
/** @description Findings in this scan snapshot, including results reused from earlier scans and findings marked fixed or ignored. */
|
|
4157
|
+
findings: components["schemas"]["SecurityFinding"][] | null;
|
|
4158
|
+
/** @description Status, initiator, and timing of the security scan. */
|
|
4159
|
+
scan: components["schemas"]["SecurityScan"];
|
|
4160
|
+
/** @description Execution results for individual security checks. Results may be reused from an earlier scan. */
|
|
4161
|
+
scanner_runs: components["schemas"]["SecurityScannerRun"][] | null;
|
|
3992
4162
|
};
|
|
3993
4163
|
V1GetWorkspaceSkillOutputBody: {
|
|
3994
4164
|
skill: components["schemas"]["V1WorkspaceSkillDTO"];
|
|
@@ -4107,9 +4277,9 @@ interface components {
|
|
|
4107
4277
|
*/
|
|
4108
4278
|
total: number;
|
|
4109
4279
|
};
|
|
4110
|
-
|
|
4280
|
+
WorkspacePage: {
|
|
4111
4281
|
/** @description Workspaces the user is a member of */
|
|
4112
|
-
data: components["schemas"]["
|
|
4282
|
+
data: components["schemas"]["WorkspaceWithMembership"][] | null;
|
|
4113
4283
|
/** @description Pagination metadata */
|
|
4114
4284
|
pagination: components["schemas"]["Pagination"];
|
|
4115
4285
|
};
|
|
@@ -4138,6 +4308,11 @@ interface components {
|
|
|
4138
4308
|
awaiting_input?: components["schemas"]["V1AwaitingInputSummary"];
|
|
4139
4309
|
/** @description Git commit SHA for this change */
|
|
4140
4310
|
commit_sha?: string;
|
|
4311
|
+
/**
|
|
4312
|
+
* @description How the assistant turn ended; only present for assistant messages once the turn has ended. Refines status: max_iterations means the agent hit its iteration cap and closed the turn with work possibly incomplete (status completed); policy_violation means safety validation blocked the turn before any model call (status completed). New values may be added; clients must tolerate unknown values by falling back to status
|
|
4313
|
+
* @enum {string}
|
|
4314
|
+
*/
|
|
4315
|
+
completion_reason?: "finished" | "stopped" | "error" | "policy_violation" | "max_iterations";
|
|
4141
4316
|
/** @description Message text content */
|
|
4142
4317
|
content: string;
|
|
4143
4318
|
/**
|
|
@@ -4175,50 +4350,56 @@ interface components {
|
|
|
4175
4350
|
/** @description Project IDs to move into the folder */
|
|
4176
4351
|
project_ids: string[] | null;
|
|
4177
4352
|
};
|
|
4178
|
-
|
|
4353
|
+
ProjectCollaborator: {
|
|
4179
4354
|
/**
|
|
4180
4355
|
* Format: date-time
|
|
4181
|
-
* @description When the user accepted the project invitation.
|
|
4356
|
+
* @description When the user accepted the project invitation. Omitted when no acceptance time is recorded, including pending invitations.
|
|
4182
4357
|
* @example 2026-01-15T09:30:00Z
|
|
4183
4358
|
*/
|
|
4184
4359
|
accepted_at?: string;
|
|
4185
4360
|
/**
|
|
4186
|
-
* @description Access level
|
|
4361
|
+
* @description Access level granted to this collaborator.
|
|
4187
4362
|
* @example admin
|
|
4188
4363
|
* @enum {string}
|
|
4189
4364
|
*/
|
|
4190
4365
|
access_level: "owner" | "admin" | "write" | "read" | "none";
|
|
4191
4366
|
/**
|
|
4192
|
-
* @description
|
|
4367
|
+
* @description Collaborator display name, falling back to the email address. Omitted when neither is available.
|
|
4193
4368
|
* @example Jane Cooper
|
|
4194
4369
|
*/
|
|
4195
4370
|
display_name?: string;
|
|
4196
4371
|
/**
|
|
4197
|
-
* @description
|
|
4372
|
+
* @description Collaborator email address. Uses the workspace membership email when available, otherwise the account email. Omitted when unavailable.
|
|
4198
4373
|
* @example jane.cooper@acme.com
|
|
4199
4374
|
*/
|
|
4200
4375
|
email?: string;
|
|
4201
4376
|
/**
|
|
4202
4377
|
* Format: date-time
|
|
4203
|
-
* @description When the user was invited to the project.
|
|
4378
|
+
* @description When the user was invited to the project. Omitted when no invitation time is recorded.
|
|
4204
4379
|
* @example 2026-01-15T09:30:00Z
|
|
4205
4380
|
*/
|
|
4206
4381
|
invited_at?: string;
|
|
4207
4382
|
/**
|
|
4208
|
-
* @description User ID of the inviter.
|
|
4383
|
+
* @description User ID of the inviter. Omitted when no inviter is recorded.
|
|
4209
4384
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
4210
4385
|
*/
|
|
4211
4386
|
invited_by?: string;
|
|
4212
4387
|
/**
|
|
4213
|
-
* @description
|
|
4388
|
+
* @description Whether the collaborator belongs to the project's workspace or has an email address on a domain verified by that workspace. Internal refers to the customer's workspace, not Lovable staff.
|
|
4214
4389
|
* @example true
|
|
4215
4390
|
*/
|
|
4216
4391
|
is_internal: boolean;
|
|
4217
4392
|
/**
|
|
4218
|
-
* @description
|
|
4393
|
+
* @description Whether the collaborator also belongs to the project's workspace.
|
|
4219
4394
|
* @example true
|
|
4220
4395
|
*/
|
|
4221
4396
|
is_workspace_member: boolean;
|
|
4397
|
+
/**
|
|
4398
|
+
* Format: date-time
|
|
4399
|
+
* @description When the collaborator last accessed this project, from the most recent project or preview auth token mint (session-start granularity, not per page view). Any authenticated open of the project surface counts, including a published-site open by a collaborator. Always present, so an access review can tell 'never accessed' from a missing field. Null when no access is recorded under the current grant: an access that predates invited_at belongs to a revoked grant and reports as null.
|
|
4400
|
+
* @example 2026-01-20T14:05:00Z
|
|
4401
|
+
*/
|
|
4402
|
+
last_accessed_at: string | null;
|
|
4222
4403
|
/**
|
|
4223
4404
|
* @description User ID of the collaborator
|
|
4224
4405
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
@@ -4242,7 +4423,7 @@ interface components {
|
|
|
4242
4423
|
*/
|
|
4243
4424
|
total: number;
|
|
4244
4425
|
};
|
|
4245
|
-
|
|
4426
|
+
Project: {
|
|
4246
4427
|
/**
|
|
4247
4428
|
* Format: date-time
|
|
4248
4429
|
* @description When the project was created.
|
|
@@ -4281,7 +4462,7 @@ interface components {
|
|
|
4281
4462
|
is_published?: boolean;
|
|
4282
4463
|
/**
|
|
4283
4464
|
* Format: date-time
|
|
4284
|
-
* @description When the project
|
|
4465
|
+
* @description When the project last received an edit or a user chat message.
|
|
4285
4466
|
* @example 2026-01-15T09:30:00Z
|
|
4286
4467
|
*/
|
|
4287
4468
|
last_edited_at?: string;
|
|
@@ -4301,7 +4482,7 @@ interface components {
|
|
|
4301
4482
|
*/
|
|
4302
4483
|
name?: string;
|
|
4303
4484
|
/**
|
|
4304
|
-
* @description
|
|
4485
|
+
* @description Image URL used when sharing a link to the project on social platforms.
|
|
4305
4486
|
* @example https://lovable.dev/cdn/projects/acme-landing-page/og.png
|
|
4306
4487
|
*/
|
|
4307
4488
|
og_image_url?: string;
|
|
@@ -4311,20 +4492,23 @@ interface components {
|
|
|
4311
4492
|
*/
|
|
4312
4493
|
preview_url?: string;
|
|
4313
4494
|
/**
|
|
4314
|
-
* @description Project type.
|
|
4495
|
+
* @description Project type. Absent on older projects. More values may be added; clients must tolerate unknown values.
|
|
4315
4496
|
* @example project
|
|
4497
|
+
* @enum {string}
|
|
4316
4498
|
*/
|
|
4317
|
-
project_type?:
|
|
4499
|
+
project_type?: "project" | "library";
|
|
4318
4500
|
/**
|
|
4319
|
-
* @description
|
|
4501
|
+
* @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
|
|
4320
4502
|
* @example public
|
|
4503
|
+
* @enum {string}
|
|
4321
4504
|
*/
|
|
4322
|
-
publish_visibility?:
|
|
4505
|
+
publish_visibility?: "public" | "private" | "workspace_only";
|
|
4323
4506
|
/**
|
|
4324
|
-
* @description
|
|
4507
|
+
* @description Project setup status. Successful setup means the project has been created; the AI may still be processing a message and the preview may not be ready. More values may be added; clients must tolerate unknown values.
|
|
4325
4508
|
* @example completed
|
|
4509
|
+
* @enum {string}
|
|
4326
4510
|
*/
|
|
4327
|
-
status?:
|
|
4511
|
+
status?: "in_progress" | "completed" | "failed";
|
|
4328
4512
|
/**
|
|
4329
4513
|
* @description Project tech stack.
|
|
4330
4514
|
* @example vite_react_shadcn_ts
|
|
@@ -4347,10 +4531,11 @@ interface components {
|
|
|
4347
4531
|
*/
|
|
4348
4532
|
user_id?: string;
|
|
4349
4533
|
/**
|
|
4350
|
-
* @description
|
|
4534
|
+
* @description Controls access to the project in the Lovable editor. Workspace roles and explicit sharing grants determine access. Published app access and open remixing are configured separately. More values may be added; clients must tolerate unknown values.
|
|
4351
4535
|
* @example public
|
|
4536
|
+
* @enum {string}
|
|
4352
4537
|
*/
|
|
4353
|
-
visibility?:
|
|
4538
|
+
visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
4354
4539
|
/**
|
|
4355
4540
|
* @description Workspace the project belongs to.
|
|
4356
4541
|
* @example workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -4385,7 +4570,7 @@ interface components {
|
|
|
4385
4570
|
/** @description Custom name for the new project */
|
|
4386
4571
|
project_name?: string;
|
|
4387
4572
|
/**
|
|
4388
|
-
* @description
|
|
4573
|
+
* @description Whether to include message_id's completed turn in the copy. Includes it by default.
|
|
4389
4574
|
* @enum {string}
|
|
4390
4575
|
*/
|
|
4391
4576
|
remix_mode?: "before" | "including";
|
|
@@ -4406,13 +4591,13 @@ interface components {
|
|
|
4406
4591
|
/** @description Error details when the remix job fails */
|
|
4407
4592
|
error_message?: string;
|
|
4408
4593
|
/** @description Remix result (present when completed) */
|
|
4409
|
-
result?: components["schemas"]["
|
|
4594
|
+
result?: components["schemas"]["RemixResult"];
|
|
4410
4595
|
/** @description Job status: preparing, running, completed, or error */
|
|
4411
4596
|
status: string;
|
|
4412
4597
|
/** @description Current step details (present when running) */
|
|
4413
4598
|
step?: components["schemas"]["RemixJobStepInfo"];
|
|
4414
4599
|
};
|
|
4415
|
-
|
|
4600
|
+
RemixResult: {
|
|
4416
4601
|
/** @description ID of the newly created project */
|
|
4417
4602
|
project_id: string;
|
|
4418
4603
|
/** @description Non-fatal issues encountered while creating the project */
|
|
@@ -4422,7 +4607,7 @@ interface components {
|
|
|
4422
4607
|
/** @description Whether the connector was removed */
|
|
4423
4608
|
success: boolean;
|
|
4424
4609
|
};
|
|
4425
|
-
|
|
4610
|
+
SecurityFinding: {
|
|
4426
4611
|
/**
|
|
4427
4612
|
* @description Finding category.
|
|
4428
4613
|
* @example data_exposure
|
|
@@ -4440,7 +4625,7 @@ interface components {
|
|
|
4440
4625
|
*/
|
|
4441
4626
|
description?: string;
|
|
4442
4627
|
/**
|
|
4443
|
-
* @description
|
|
4628
|
+
* @description Additional scanner detail, available only to Lovable staff and omitted for API integrations. Use description for the finding summary.
|
|
4444
4629
|
* @example table: public.profiles; rls_enabled: false
|
|
4445
4630
|
*/
|
|
4446
4631
|
details?: string;
|
|
@@ -4450,21 +4635,22 @@ interface components {
|
|
|
4450
4635
|
*/
|
|
4451
4636
|
finding_id: string;
|
|
4452
4637
|
/**
|
|
4453
|
-
* @description
|
|
4638
|
+
* @description ID of the security scan that first recorded this finding.
|
|
4454
4639
|
* @example a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
4455
4640
|
*/
|
|
4456
4641
|
first_seen_scan_id?: string;
|
|
4457
4642
|
/**
|
|
4458
|
-
* @description
|
|
4643
|
+
* @description Severity reported by the scanner. More values may be added; clients must tolerate unknown values.
|
|
4459
4644
|
* @example error
|
|
4645
|
+
* @enum {string}
|
|
4460
4646
|
*/
|
|
4461
|
-
level:
|
|
4647
|
+
level: "error" | "warn" | "info";
|
|
4462
4648
|
/**
|
|
4463
4649
|
* @description Link to remediation guidance for this finding.
|
|
4464
4650
|
* @example https://docs.lovable.dev/security/rls
|
|
4465
4651
|
*/
|
|
4466
4652
|
link?: string;
|
|
4467
|
-
/** @description
|
|
4653
|
+
/** @description Additional context supplied by the scanner, such as file_path, line_number, package, or cve. Keys vary by scanner and finding type. */
|
|
4468
4654
|
metadata?: {
|
|
4469
4655
|
[key: string]: unknown;
|
|
4470
4656
|
};
|
|
@@ -4475,12 +4661,12 @@ interface components {
|
|
|
4475
4661
|
name: string;
|
|
4476
4662
|
/**
|
|
4477
4663
|
* Format: int64
|
|
4478
|
-
* @description Number of
|
|
4664
|
+
* @description Number of times this finding has been detected again while ignored. Starts at zero and resets when the finding is ignored again.
|
|
4479
4665
|
* @example 3
|
|
4480
4666
|
*/
|
|
4481
4667
|
recurrence: number;
|
|
4482
4668
|
/**
|
|
4483
|
-
* @description Estimated remediation effort (easy, medium, or hard).
|
|
4669
|
+
* @description Estimated remediation effort reported by the scanner (e.g. easy, medium, or hard).
|
|
4484
4670
|
* @example medium
|
|
4485
4671
|
*/
|
|
4486
4672
|
remediation_difficulty?: string;
|
|
@@ -4490,10 +4676,11 @@ interface components {
|
|
|
4490
4676
|
*/
|
|
4491
4677
|
scanner_name: string;
|
|
4492
4678
|
/**
|
|
4493
|
-
* @description
|
|
4679
|
+
* @description Review state of the security finding. More values may be added; clients must tolerate unknown values.
|
|
4494
4680
|
* @example open
|
|
4681
|
+
* @enum {string}
|
|
4495
4682
|
*/
|
|
4496
|
-
status:
|
|
4683
|
+
status: "open" | "fixed" | "ignored";
|
|
4497
4684
|
/**
|
|
4498
4685
|
* Format: date-time
|
|
4499
4686
|
* @description When this finding was last updated, UTC.
|
|
@@ -4501,19 +4688,22 @@ interface components {
|
|
|
4501
4688
|
*/
|
|
4502
4689
|
updated_at: string;
|
|
4503
4690
|
};
|
|
4504
|
-
|
|
4691
|
+
SecurityScanActor: {
|
|
4505
4692
|
/** @description Email of the user actor, when resolvable. */
|
|
4506
4693
|
email?: string;
|
|
4507
4694
|
/** @description Lovable user ID when the actor is a user. */
|
|
4508
4695
|
id?: string;
|
|
4509
4696
|
/** @description Display name of the user actor, when resolvable. */
|
|
4510
4697
|
name?: string;
|
|
4511
|
-
/**
|
|
4512
|
-
|
|
4698
|
+
/**
|
|
4699
|
+
* @description Kind of initiator. Automatic editor checks and scans without a recorded source are attributed to the caller; scheduled and integration-triggered scans are automated. More values may be added; clients must tolerate unknown values.
|
|
4700
|
+
* @enum {string}
|
|
4701
|
+
*/
|
|
4702
|
+
type: "user" | "system";
|
|
4513
4703
|
};
|
|
4514
|
-
|
|
4704
|
+
SecurityScan: {
|
|
4515
4705
|
/**
|
|
4516
|
-
* @description
|
|
4706
|
+
* @description Git commit SHA of the project when the scan started. Omitted when unavailable.
|
|
4517
4707
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
4518
4708
|
*/
|
|
4519
4709
|
commit_sha?: string;
|
|
@@ -4523,10 +4713,10 @@ interface components {
|
|
|
4523
4713
|
* @example 2026-01-15T09:30:00Z
|
|
4524
4714
|
*/
|
|
4525
4715
|
finished_at?: string;
|
|
4526
|
-
/** @description
|
|
4716
|
+
/** @description Identifiers of the security checks requested for this scan. */
|
|
4527
4717
|
requested_scanners: string[] | null;
|
|
4528
4718
|
/**
|
|
4529
|
-
* @description Unique
|
|
4719
|
+
* @description Unique ID for this security scan.
|
|
4530
4720
|
* @example a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
4531
4721
|
*/
|
|
4532
4722
|
scan_id: string;
|
|
@@ -4537,27 +4727,29 @@ interface components {
|
|
|
4537
4727
|
*/
|
|
4538
4728
|
started_at: string;
|
|
4539
4729
|
/**
|
|
4540
|
-
* @description
|
|
4730
|
+
* @description Overall scan state. Finishing a scan does not mean that no security issues were found. More values may be added; clients must tolerate unknown values.
|
|
4541
4731
|
* @example completed
|
|
4732
|
+
* @enum {string}
|
|
4542
4733
|
*/
|
|
4543
|
-
status:
|
|
4734
|
+
status: "running" | "completed" | "failed";
|
|
4544
4735
|
/**
|
|
4545
|
-
* @description
|
|
4736
|
+
* @description How the scan was initiated. More values may be added; clients must tolerate unknown values.
|
|
4546
4737
|
* @example workflow
|
|
4738
|
+
* @enum {string}
|
|
4547
4739
|
*/
|
|
4548
|
-
trigger_source:
|
|
4740
|
+
trigger_source: "workflow" | "user" | "ui_auto" | "aikido_import" | "manage_findings" | "app_mcp_deep_auto" | "hvt_scheduled" | "workspace_scheduled" | "enterprise_batch" | "gitsync_pull";
|
|
4549
4741
|
/** @description Actor that triggered the scan. */
|
|
4550
|
-
triggered_by: components["schemas"]["
|
|
4742
|
+
triggered_by: components["schemas"]["SecurityScanActor"];
|
|
4551
4743
|
};
|
|
4552
|
-
|
|
4744
|
+
SecurityScannerRun: {
|
|
4553
4745
|
/**
|
|
4554
|
-
* @description
|
|
4746
|
+
* @description Git commit SHA checked by this scanner. May be older than scan.commit_sha when results from an earlier scan are reused.
|
|
4555
4747
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
4556
4748
|
*/
|
|
4557
4749
|
commit_sha?: string;
|
|
4558
4750
|
/**
|
|
4559
|
-
* @description
|
|
4560
|
-
* @example
|
|
4751
|
+
* @description User-facing retry guidance when the scanner failed. Omitted for other statuses.
|
|
4752
|
+
* @example The scanner failed to complete. Try running the security scan again.
|
|
4561
4753
|
*/
|
|
4562
4754
|
error_message?: string;
|
|
4563
4755
|
/**
|
|
@@ -4567,12 +4759,12 @@ interface components {
|
|
|
4567
4759
|
*/
|
|
4568
4760
|
finished_at?: string;
|
|
4569
4761
|
/**
|
|
4570
|
-
* @description
|
|
4762
|
+
* @description Identifier of the security check.
|
|
4571
4763
|
* @example agent_security
|
|
4572
4764
|
*/
|
|
4573
4765
|
scanner_name: string;
|
|
4574
4766
|
/**
|
|
4575
|
-
* @description Version of the
|
|
4767
|
+
* @description Version of the security check, when available.
|
|
4576
4768
|
* @example 1.4.2
|
|
4577
4769
|
*/
|
|
4578
4770
|
scanner_version?: string;
|
|
@@ -4583,10 +4775,11 @@ interface components {
|
|
|
4583
4775
|
*/
|
|
4584
4776
|
started_at: string;
|
|
4585
4777
|
/**
|
|
4586
|
-
* @description
|
|
4778
|
+
* @description Execution outcome for this check. Success does not mean that no security issues were found. More values may be added; clients must tolerate unknown values.
|
|
4587
4779
|
* @example failed
|
|
4780
|
+
* @enum {string}
|
|
4588
4781
|
*/
|
|
4589
|
-
status:
|
|
4782
|
+
status: "succeeded" | "failed" | "skipped";
|
|
4590
4783
|
};
|
|
4591
4784
|
V1SelectedLibrary: {
|
|
4592
4785
|
/**
|
|
@@ -4666,22 +4859,23 @@ interface components {
|
|
|
4666
4859
|
/** @description Project ID */
|
|
4667
4860
|
project_id: string;
|
|
4668
4861
|
};
|
|
4669
|
-
|
|
4862
|
+
TriggerSecurityScanResponse: {
|
|
4670
4863
|
/**
|
|
4671
4864
|
* @description Human-readable status message
|
|
4672
4865
|
* @example Security scan started.
|
|
4673
4866
|
*/
|
|
4674
4867
|
message?: string;
|
|
4675
4868
|
/**
|
|
4676
|
-
* @description
|
|
4869
|
+
* @description ID of the new or reused scan. Poll GET /v1/projects/{project_id}/security-scans/{scan_id} for status and findings.
|
|
4677
4870
|
* @example a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
4678
4871
|
*/
|
|
4679
4872
|
scan_id: string;
|
|
4680
4873
|
/**
|
|
4681
|
-
* @description
|
|
4874
|
+
* @description Whether a new scan began or an existing scan covers this request. In-progress scans are reused for the same commit and scanner set; finished scans are reused for the current commit. More values may be added; clients must tolerate unknown values.
|
|
4682
4875
|
* @example started
|
|
4876
|
+
* @enum {string}
|
|
4683
4877
|
*/
|
|
4684
|
-
status:
|
|
4878
|
+
status: "started" | "running" | "completed";
|
|
4685
4879
|
};
|
|
4686
4880
|
V1UnscopedFile: {
|
|
4687
4881
|
/**
|
|
@@ -4718,17 +4912,17 @@ interface components {
|
|
|
4718
4912
|
V1UpdateWorkspaceSettingsInputBody: {
|
|
4719
4913
|
/**
|
|
4720
4914
|
* Format: double
|
|
4721
|
-
* @description Default monthly credit
|
|
4915
|
+
* @description Default monthly build-credit limit for members without an explicit per-member limit. Send a nonnegative number of Lovable credits, or null to clear the default. Explicit member limits and active higher temporary limits still apply. This field is required for an update.
|
|
4722
4916
|
* @example 500
|
|
4723
4917
|
*/
|
|
4724
4918
|
default_monthly_member_credit_limit?: number | null;
|
|
4725
4919
|
/** @description Workspace ID. */
|
|
4726
4920
|
workspace_id: string;
|
|
4727
4921
|
};
|
|
4728
|
-
|
|
4922
|
+
UpdateWorkspaceSettingsRequest: {
|
|
4729
4923
|
/**
|
|
4730
4924
|
* Format: double
|
|
4731
|
-
* @description Default monthly credit
|
|
4925
|
+
* @description Default monthly build-credit limit for members without an explicit per-member limit. Send a nonnegative number of Lovable credits, or null to clear the default. Explicit member limits and active higher temporary limits still apply. This field is required for an update.
|
|
4732
4926
|
* @example 500
|
|
4733
4927
|
*/
|
|
4734
4928
|
default_monthly_member_credit_limit?: number | null;
|
|
@@ -4831,32 +5025,32 @@ interface components {
|
|
|
4831
5025
|
V1WorkspaceAuditLogsBody: {
|
|
4832
5026
|
/** @description Items in this page. */
|
|
4833
5027
|
data: components["schemas"]["V1WorkspaceAuditLogEntry"][] | null;
|
|
4834
|
-
/** @description
|
|
5028
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
4835
5029
|
pagination: components["schemas"]["Pagination"];
|
|
4836
5030
|
};
|
|
4837
|
-
|
|
5031
|
+
CreditHistoryPage: {
|
|
4838
5032
|
/** @description Items in this page. */
|
|
4839
|
-
data: components["schemas"]["
|
|
4840
|
-
/** @description
|
|
5033
|
+
data: components["schemas"]["CreditHistoryEntry"][] | null;
|
|
5034
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
4841
5035
|
pagination: components["schemas"]["Pagination"];
|
|
4842
5036
|
/**
|
|
4843
5037
|
* Format: int64
|
|
4844
|
-
* @description
|
|
5038
|
+
* @description Number of matching entries in the past 365 days, up to 500. Present only on the first page. Check total_is_capped before treating this as an exact count.
|
|
4845
5039
|
* @example 42
|
|
4846
5040
|
*/
|
|
4847
5041
|
total?: number;
|
|
4848
5042
|
/**
|
|
4849
|
-
* @description
|
|
5043
|
+
* @description Whether more than 500 matching entries exist. When true, total is 500 and is a lower bound. Present only on the first page.
|
|
4850
5044
|
* @example false
|
|
4851
5045
|
*/
|
|
4852
5046
|
total_is_capped?: boolean;
|
|
4853
5047
|
};
|
|
4854
|
-
|
|
5048
|
+
CreditBalance: {
|
|
4855
5049
|
/** @description The workspace billing cycle that total_billing_period_used covers. */
|
|
4856
|
-
billing_period: components["schemas"]["
|
|
5050
|
+
billing_period: components["schemas"]["BillingPeriod"];
|
|
4857
5051
|
/**
|
|
4858
5052
|
* Format: double
|
|
4859
|
-
* @description
|
|
5053
|
+
* @description Total credits allocated by active daily grants, before usage. This is a daily allowance, not a cap on spending other credits.
|
|
4860
5054
|
* @example 500
|
|
4861
5055
|
*/
|
|
4862
5056
|
daily_limit: number;
|
|
@@ -4866,10 +5060,10 @@ interface components {
|
|
|
4866
5060
|
* @example 300
|
|
4867
5061
|
*/
|
|
4868
5062
|
daily_remaining: number;
|
|
4869
|
-
/** @description
|
|
4870
|
-
expiring_grants: components["schemas"]["
|
|
4871
|
-
/** @description
|
|
4872
|
-
grant_type_balances: components["schemas"]["
|
|
5063
|
+
/** @description Remaining general-purpose and build credits with expiry dates, grouped by source, eligible usage, and expiry time. Ordered by earliest expiry first. Excludes daily credits. */
|
|
5064
|
+
expiring_grants: components["schemas"]["ExpiringCreditGrant"][] | null;
|
|
5065
|
+
/** @description General-purpose and build-credit balances grouped by source or allocation category. */
|
|
5066
|
+
grant_type_balances: components["schemas"]["CreditGrantTypeBalance"][] | null;
|
|
4873
5067
|
/**
|
|
4874
5068
|
* Format: double
|
|
4875
5069
|
* @description Credits used in the current billing period (see billing_period for the exact window).
|
|
@@ -4878,23 +5072,24 @@ interface components {
|
|
|
4878
5072
|
total_billing_period_used: number;
|
|
4879
5073
|
/**
|
|
4880
5074
|
* Format: double
|
|
4881
|
-
* @description
|
|
5075
|
+
* @description Original amount granted for the active general-purpose and build-credit grants, including amounts already used. This is not a lifetime total.
|
|
4882
5076
|
* @example 2000
|
|
4883
5077
|
*/
|
|
4884
5078
|
total_granted: number;
|
|
4885
5079
|
/**
|
|
4886
5080
|
* Format: double
|
|
4887
|
-
* @description
|
|
5081
|
+
* @description Remaining general-purpose and build credits, including daily credits. Excludes separate Cloud and AI allowances.
|
|
4888
5082
|
* @example 1500
|
|
4889
5083
|
*/
|
|
4890
5084
|
total_remaining: number;
|
|
4891
5085
|
};
|
|
4892
|
-
|
|
5086
|
+
ExpiringCreditGrant: {
|
|
4893
5087
|
/**
|
|
4894
|
-
* @description
|
|
5088
|
+
* @description Usage categories that can consume this grant. Omitted when unspecified. More values may be added; clients must tolerate unknown values.
|
|
4895
5089
|
* @example build_time
|
|
5090
|
+
* @enum {string}
|
|
4896
5091
|
*/
|
|
4897
|
-
applicability?:
|
|
5092
|
+
applicability?: "generic" | "build_time" | "build_mode" | "plan_mode";
|
|
4898
5093
|
/**
|
|
4899
5094
|
* Format: double
|
|
4900
5095
|
* @description Total credits expiring at this date.
|
|
@@ -4908,17 +5103,19 @@ interface components {
|
|
|
4908
5103
|
*/
|
|
4909
5104
|
expires_at: string;
|
|
4910
5105
|
/**
|
|
4911
|
-
* @description
|
|
5106
|
+
* @description Source or allocation category of the credits. More values may be added; clients must tolerate unknown values.
|
|
4912
5107
|
* @example billing
|
|
5108
|
+
* @enum {string}
|
|
4913
5109
|
*/
|
|
4914
|
-
grant_type:
|
|
5110
|
+
grant_type: "billing" | "rollover" | "topup" | "commitment" | "cashback" | "granted" | "overage" | "unlimited" | "allowance";
|
|
4915
5111
|
};
|
|
4916
|
-
|
|
5112
|
+
CreditGrantTypeBalance: {
|
|
4917
5113
|
/**
|
|
4918
|
-
* @description
|
|
5114
|
+
* @description Source or allocation category of the credits. More values may be added; clients must tolerate unknown values.
|
|
4919
5115
|
* @example billing
|
|
5116
|
+
* @enum {string}
|
|
4920
5117
|
*/
|
|
4921
|
-
grant_type:
|
|
5118
|
+
grant_type: "billing" | "daily" | "rollover" | "topup" | "commitment" | "cashback" | "granted" | "overage" | "unlimited" | "allowance";
|
|
4922
5119
|
/**
|
|
4923
5120
|
* Format: double
|
|
4924
5121
|
* @description Total credits granted for this type.
|
|
@@ -4932,7 +5129,7 @@ interface components {
|
|
|
4932
5129
|
*/
|
|
4933
5130
|
remaining: number;
|
|
4934
5131
|
};
|
|
4935
|
-
|
|
5132
|
+
WorkspaceGroup: {
|
|
4936
5133
|
/**
|
|
4937
5134
|
* Format: date-time
|
|
4938
5135
|
* @description When the group was created.
|
|
@@ -4977,86 +5174,89 @@ interface components {
|
|
|
4977
5174
|
*/
|
|
4978
5175
|
workspace_id: string;
|
|
4979
5176
|
};
|
|
4980
|
-
|
|
5177
|
+
WorkspaceInsightsActivityFreshness: {
|
|
4981
5178
|
/**
|
|
4982
5179
|
* Format: date-time
|
|
4983
|
-
* @description
|
|
5180
|
+
* @description Latest data timestamp used by the stored edit counts on this page. Omitted when unavailable.
|
|
4984
5181
|
* @example 2026-01-15T09:30:00Z
|
|
4985
5182
|
*/
|
|
4986
5183
|
edits_as_of?: string;
|
|
4987
5184
|
/**
|
|
4988
5185
|
* Format: date-time
|
|
4989
|
-
* @description
|
|
5186
|
+
* @description Latest data timestamp used by stored visitor counts on this page. Omitted when counts are retrieved live or no timestamp is available.
|
|
4990
5187
|
* @example 2026-01-15T09:30:00Z
|
|
4991
5188
|
*/
|
|
4992
5189
|
visitors_as_of?: string;
|
|
4993
5190
|
};
|
|
4994
|
-
|
|
5191
|
+
WorkspaceInsights: {
|
|
4995
5192
|
/**
|
|
4996
5193
|
* Format: date-time
|
|
4997
|
-
* @description
|
|
5194
|
+
* @description Timestamp indicating the freshness of workspace review-priority data. Individual projects may have newer results. Omitted when unavailable. This is not a security scan completion time.
|
|
4998
5195
|
* @example 2026-01-15T09:30:00Z
|
|
4999
5196
|
*/
|
|
5000
5197
|
as_of?: string;
|
|
5001
|
-
/** @description Finding
|
|
5002
|
-
findings: components["schemas"]["
|
|
5003
|
-
/** @description
|
|
5004
|
-
summary: components["schemas"]["
|
|
5198
|
+
/** @description Finding types and their matching project counts, including types with zero matches, ordered by higher review priority first. Related conditions may be combined under a more specific finding. A project can appear under multiple finding types. Types requiring personal data detection access are omitted when that feature is unavailable. Returns an empty array when no types are included. */
|
|
5199
|
+
findings: components["schemas"]["WorkspaceInsightsFinding"][];
|
|
5200
|
+
/** @description Workspace project counts, membership counts, and project review priorities. */
|
|
5201
|
+
summary: components["schemas"]["WorkspaceInsightsSummary"];
|
|
5005
5202
|
};
|
|
5006
|
-
|
|
5203
|
+
WorkspaceInsightsEdgeFunction: {
|
|
5007
5204
|
/**
|
|
5008
|
-
* @description
|
|
5205
|
+
* @description Name of a backend function deployed for this project.
|
|
5009
5206
|
* @example send-welcome-email
|
|
5010
5207
|
*/
|
|
5011
5208
|
name: string;
|
|
5012
5209
|
};
|
|
5013
|
-
|
|
5210
|
+
WorkspaceInsightsFinding: {
|
|
5014
5211
|
/**
|
|
5015
|
-
* @description Finding category
|
|
5016
|
-
* @example
|
|
5212
|
+
* @description Finding category. More values may be added; clients must tolerate unknown values.
|
|
5213
|
+
* @example exposure
|
|
5214
|
+
* @enum {string}
|
|
5017
5215
|
*/
|
|
5018
|
-
category:
|
|
5216
|
+
category: "security" | "data" | "exposure" | "credentials" | "access" | "integrations" | "runtime";
|
|
5019
5217
|
/**
|
|
5020
|
-
* @description
|
|
5021
|
-
* @example
|
|
5218
|
+
* @description Explanation of the condition represented by this finding type.
|
|
5219
|
+
* @example Publicly published projects with error-level security findings.
|
|
5022
5220
|
*/
|
|
5023
5221
|
description: string;
|
|
5024
5222
|
/**
|
|
5025
|
-
* @description Stable finding-
|
|
5026
|
-
* @example
|
|
5223
|
+
* @description Stable identifier for the finding type. Use as finding_id on GET /v1/workspaces/{workspace_id}/security-center/insights/projects to list matching projects; that endpoint requires Enterprise.
|
|
5224
|
+
* @example public_security_exposure
|
|
5027
5225
|
*/
|
|
5028
5226
|
id: string;
|
|
5029
5227
|
/**
|
|
5030
5228
|
* Format: int64
|
|
5031
|
-
* @description
|
|
5229
|
+
* @description Number of distinct projects represented by this finding type. Counts across finding types can overlap and must not be summed to obtain a unique project total.
|
|
5032
5230
|
* @example 12
|
|
5033
5231
|
*/
|
|
5034
5232
|
project_count: number;
|
|
5035
5233
|
/**
|
|
5036
|
-
* @description Review priority
|
|
5234
|
+
* @description Review priority assigned to this finding type. May differ from an individual scan finding's severity, its UI badge, or a project's overall review priority. More values may be added; clients must tolerate unknown values.
|
|
5037
5235
|
* @example needs_review
|
|
5236
|
+
* @enum {string}
|
|
5038
5237
|
*/
|
|
5039
|
-
severity:
|
|
5238
|
+
severity: "needs_review" | "review_recommended" | "no_review_needed";
|
|
5040
5239
|
/**
|
|
5041
|
-
* @description
|
|
5042
|
-
* @example
|
|
5240
|
+
* @description Short display name for the finding type. Use id for programmatic matching.
|
|
5241
|
+
* @example Public app with security errors
|
|
5043
5242
|
*/
|
|
5044
5243
|
title: string;
|
|
5045
5244
|
};
|
|
5046
|
-
|
|
5245
|
+
WorkspaceInsightsOwner: {
|
|
5047
5246
|
/**
|
|
5048
5247
|
* @description Project owner's display name.
|
|
5049
5248
|
* @example Jane Cooper
|
|
5050
5249
|
*/
|
|
5051
5250
|
display_name?: string;
|
|
5052
5251
|
};
|
|
5053
|
-
|
|
5252
|
+
WorkspaceInsightsProject: {
|
|
5054
5253
|
/**
|
|
5055
|
-
* @description
|
|
5056
|
-
* @example
|
|
5254
|
+
* @description Last-edit recency, using 14-day and 60-day boundaries. More values may be added; clients must tolerate unknown values.
|
|
5255
|
+
* @example last_14_days
|
|
5256
|
+
* @enum {string}
|
|
5057
5257
|
*/
|
|
5058
|
-
activity_group?:
|
|
5059
|
-
/** @description
|
|
5258
|
+
activity_group?: "last_14_days" | "last_60_days" | "older";
|
|
5259
|
+
/** @description Names of services connected to the project. */
|
|
5060
5260
|
connectors?: string[] | null;
|
|
5061
5261
|
/**
|
|
5062
5262
|
* @description User-provided project description.
|
|
@@ -5068,8 +5268,8 @@ interface components {
|
|
|
5068
5268
|
* @example Acme Landing Page
|
|
5069
5269
|
*/
|
|
5070
5270
|
display_name?: string;
|
|
5071
|
-
/** @description
|
|
5072
|
-
edge_functions?: components["schemas"]["
|
|
5271
|
+
/** @description Backend functions deployed for the project. */
|
|
5272
|
+
edge_functions?: components["schemas"]["WorkspaceInsightsEdgeFunction"][] | null;
|
|
5073
5273
|
/**
|
|
5074
5274
|
* Format: int64
|
|
5075
5275
|
* @description Total edits over the project's lifetime.
|
|
@@ -5117,15 +5317,15 @@ interface components {
|
|
|
5117
5317
|
last_edited_at?: string;
|
|
5118
5318
|
/**
|
|
5119
5319
|
* Format: date-time
|
|
5120
|
-
* @description
|
|
5320
|
+
* @description Completion time of the latest completed security scan. Omitted if no completed scan is available.
|
|
5121
5321
|
* @example 2026-01-15T09:30:00Z
|
|
5122
5322
|
*/
|
|
5123
5323
|
last_security_scan_at?: string;
|
|
5124
|
-
/** @description
|
|
5125
|
-
matched_reason?: components["schemas"]["
|
|
5324
|
+
/** @description Condition matching the finding_id filter when exactly one finding type is selected. May be absent from review_priority_explanation when a more specific condition is displayed there. */
|
|
5325
|
+
matched_reason?: components["schemas"]["WorkspaceInsightsReason"];
|
|
5126
5326
|
/**
|
|
5127
5327
|
* Format: int64
|
|
5128
|
-
* @description
|
|
5328
|
+
* @description Agent message usage recorded for this project during the current UTC calendar month, excluding usage covered by unlimited plans.
|
|
5129
5329
|
* @example 56
|
|
5130
5330
|
*/
|
|
5131
5331
|
message_count: number;
|
|
@@ -5139,32 +5339,35 @@ interface components {
|
|
|
5139
5339
|
* @example https://lovable.dev/cdn/projects/acme-landing-page/og.png
|
|
5140
5340
|
*/
|
|
5141
5341
|
og_image_url?: string;
|
|
5142
|
-
/** @description Project owner
|
|
5143
|
-
owner?: components["schemas"]["
|
|
5342
|
+
/** @description Project owner's display name, when available. */
|
|
5343
|
+
owner?: components["schemas"]["WorkspaceInsightsOwner"];
|
|
5144
5344
|
/**
|
|
5145
|
-
* @description
|
|
5146
|
-
* @example
|
|
5345
|
+
* @description Who can access the published site. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
|
|
5346
|
+
* @example public
|
|
5347
|
+
* @enum {string}
|
|
5147
5348
|
*/
|
|
5148
|
-
publish_visibility?:
|
|
5349
|
+
publish_visibility?: "public" | "private" | "workspace_only";
|
|
5149
5350
|
/**
|
|
5150
|
-
* @description
|
|
5351
|
+
* @description Security Center review priority, or an indication that the project has not yet been scored. A lower priority does not guarantee the absence of security issues. More values may be added; clients must tolerate unknown values.
|
|
5151
5352
|
* @example needs_review
|
|
5353
|
+
* @enum {string}
|
|
5152
5354
|
*/
|
|
5153
|
-
review_priority?:
|
|
5154
|
-
/** @description
|
|
5155
|
-
review_priority_explanation: components["schemas"]["
|
|
5355
|
+
review_priority?: "needs_review" | "review_recommended" | "no_review_needed" | "unscored";
|
|
5356
|
+
/** @description Conditions contributing to the project's review priority. Not every scoring input is listed, and related conditions may be combined under a more specific explanation. */
|
|
5357
|
+
review_priority_explanation: components["schemas"]["WorkspaceInsightsReason"][] | null;
|
|
5156
5358
|
/** @description Per-project security and activity signals. */
|
|
5157
|
-
signals: components["schemas"]["
|
|
5359
|
+
signals: components["schemas"]["WorkspaceInsightsSignals"];
|
|
5158
5360
|
/**
|
|
5159
|
-
* @description
|
|
5361
|
+
* @description Configured site URL, when available. Unpublishing clears it, but later renames or URL changes can set it while the app is offline; check is_published before using it.
|
|
5160
5362
|
* @example https://acme-landing-page.lovable.app
|
|
5161
5363
|
*/
|
|
5162
5364
|
url?: string;
|
|
5163
5365
|
/**
|
|
5164
|
-
* @description
|
|
5366
|
+
* @description Who can access the project in the Lovable editor. Separate from published site access. More values may be added; clients must tolerate unknown values.
|
|
5165
5367
|
* @example public
|
|
5368
|
+
* @enum {string}
|
|
5166
5369
|
*/
|
|
5167
|
-
visibility?:
|
|
5370
|
+
visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
5168
5371
|
/**
|
|
5169
5372
|
* Format: int64
|
|
5170
5373
|
* @description Unique visitors in the last 24 hours.
|
|
@@ -5184,20 +5387,20 @@ interface components {
|
|
|
5184
5387
|
*/
|
|
5185
5388
|
visitors_7d: number;
|
|
5186
5389
|
};
|
|
5187
|
-
|
|
5188
|
-
/** @description
|
|
5189
|
-
activity_as_of?: components["schemas"]["
|
|
5190
|
-
/** @description
|
|
5191
|
-
applied_finding?: components["schemas"]["
|
|
5390
|
+
WorkspaceInsightsProjectPage: {
|
|
5391
|
+
/** @description Available data timestamps for the edit and visitor counts on this page. */
|
|
5392
|
+
activity_as_of?: components["schemas"]["WorkspaceInsightsActivityFreshness"];
|
|
5393
|
+
/** @description Finding type used as a filter when exactly one finding_id is selected. project_count equals the total matching projects after all filters are applied. */
|
|
5394
|
+
applied_finding?: components["schemas"]["WorkspaceInsightsFinding"];
|
|
5192
5395
|
/**
|
|
5193
5396
|
* Format: date-time
|
|
5194
|
-
* @description
|
|
5397
|
+
* @description Timestamp indicating the freshness of workspace review-priority data. Individual projects may have newer results. Omitted when unavailable; not a security scan completion time.
|
|
5195
5398
|
* @example 2026-01-15T09:30:00Z
|
|
5196
5399
|
*/
|
|
5197
5400
|
as_of?: string;
|
|
5198
5401
|
/** @description Items in this page. */
|
|
5199
|
-
data: components["schemas"]["
|
|
5200
|
-
/** @description
|
|
5402
|
+
data: components["schemas"]["WorkspaceInsightsProject"][] | null;
|
|
5403
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
5201
5404
|
pagination: components["schemas"]["Pagination"];
|
|
5202
5405
|
/**
|
|
5203
5406
|
* Format: int64
|
|
@@ -5206,36 +5409,38 @@ interface components {
|
|
|
5206
5409
|
*/
|
|
5207
5410
|
total: number;
|
|
5208
5411
|
};
|
|
5209
|
-
|
|
5412
|
+
WorkspaceInsightsReason: {
|
|
5210
5413
|
/**
|
|
5211
|
-
* @description
|
|
5414
|
+
* @description Topic of the condition contributing to the review priority. More values may be added; clients must tolerate unknown values.
|
|
5212
5415
|
* @example data
|
|
5416
|
+
* @enum {string}
|
|
5213
5417
|
*/
|
|
5214
|
-
category:
|
|
5418
|
+
category: "security" | "data" | "exposure" | "credentials" | "access" | "integrations" | "runtime";
|
|
5215
5419
|
/**
|
|
5216
|
-
* @description
|
|
5420
|
+
* @description Explanation of how this condition contributes to the project's review priority.
|
|
5217
5421
|
* @example A public table exposes personal data to anonymous callers.
|
|
5218
5422
|
*/
|
|
5219
5423
|
detail: string;
|
|
5220
5424
|
/**
|
|
5221
|
-
* @description Stable
|
|
5425
|
+
* @description Stable identifier for the condition contributing to this project's review priority.
|
|
5222
5426
|
* @example public_pii_exposure
|
|
5223
5427
|
*/
|
|
5224
5428
|
id: string;
|
|
5225
5429
|
/**
|
|
5226
|
-
* @description
|
|
5430
|
+
* @description Short display name for this condition. Use id for programmatic matching.
|
|
5227
5431
|
* @example Public PII exposure
|
|
5228
5432
|
*/
|
|
5229
5433
|
label: string;
|
|
5230
5434
|
/**
|
|
5231
|
-
* @description Review priority
|
|
5435
|
+
* @description Review priority assigned to this condition. May differ from the project's overall priority. More values may be added; clients must tolerate unknown values.
|
|
5232
5436
|
* @example needs_review
|
|
5437
|
+
* @enum {string}
|
|
5233
5438
|
*/
|
|
5234
|
-
severity:
|
|
5235
|
-
/** @description
|
|
5236
|
-
values?: components["schemas"]["
|
|
5439
|
+
severity: "needs_review" | "review_recommended" | "no_review_needed";
|
|
5440
|
+
/** @description Counts relevant to this condition. Only applicable fields are populated. */
|
|
5441
|
+
values?: components["schemas"]["WorkspaceInsightsReasonValues"];
|
|
5237
5442
|
};
|
|
5238
|
-
|
|
5443
|
+
WorkspaceInsightsReasonValues: {
|
|
5239
5444
|
/**
|
|
5240
5445
|
* Format: int64
|
|
5241
5446
|
* @description Number of configured connectors.
|
|
@@ -5285,27 +5490,27 @@ interface components {
|
|
|
5285
5490
|
*/
|
|
5286
5491
|
warning_count?: number;
|
|
5287
5492
|
};
|
|
5288
|
-
|
|
5493
|
+
WorkspaceInsightsReviewPriority: {
|
|
5289
5494
|
/**
|
|
5290
5495
|
* Format: int64
|
|
5291
|
-
* @description Projects
|
|
5496
|
+
* @description Projects assigned high review priority, shown as "High" in Security Center.
|
|
5292
5497
|
* @example 3
|
|
5293
5498
|
*/
|
|
5294
5499
|
needs_review: number;
|
|
5295
5500
|
/**
|
|
5296
5501
|
* Format: int64
|
|
5297
|
-
* @description Projects
|
|
5502
|
+
* @description Projects assigned low review priority, shown as "Low" in Security Center. This classification does not guarantee that a project has no security issues.
|
|
5298
5503
|
* @example 12
|
|
5299
5504
|
*/
|
|
5300
5505
|
no_review_needed: number;
|
|
5301
5506
|
/**
|
|
5302
5507
|
* Format: int64
|
|
5303
|
-
* @description Projects
|
|
5508
|
+
* @description Projects assigned medium review priority, shown as "Medium" in Security Center.
|
|
5304
5509
|
* @example 5
|
|
5305
5510
|
*/
|
|
5306
5511
|
review_recommended: number;
|
|
5307
5512
|
};
|
|
5308
|
-
|
|
5513
|
+
WorkspaceInsightsSignals: {
|
|
5309
5514
|
/**
|
|
5310
5515
|
* Format: int64
|
|
5311
5516
|
* @description Number of chat attachments.
|
|
@@ -5341,12 +5546,12 @@ interface components {
|
|
|
5341
5546
|
*/
|
|
5342
5547
|
has_chat_attachment: boolean;
|
|
5343
5548
|
/**
|
|
5344
|
-
* @description Whether the project has collaborators outside the workspace.
|
|
5549
|
+
* @description Whether the project has collaborators outside the workspace. Interpret only when external_collaborators_known is true.
|
|
5345
5550
|
* @example true
|
|
5346
5551
|
*/
|
|
5347
5552
|
has_external_collaborators: boolean;
|
|
5348
5553
|
/**
|
|
5349
|
-
* @description Whether the project
|
|
5554
|
+
* @description Whether the project is flagged as containing personally identifiable information (PII). False when personal data detection is unavailable.
|
|
5350
5555
|
* @example true
|
|
5351
5556
|
*/
|
|
5352
5557
|
has_pii: boolean;
|
|
@@ -5382,7 +5587,7 @@ interface components {
|
|
|
5382
5587
|
*/
|
|
5383
5588
|
is_published: boolean;
|
|
5384
5589
|
/**
|
|
5385
|
-
* @description Whether
|
|
5590
|
+
* @description Whether the project uses Lovable Cloud for its backend.
|
|
5386
5591
|
* @example true
|
|
5387
5592
|
*/
|
|
5388
5593
|
lovable_cloud_enabled: boolean;
|
|
@@ -5393,7 +5598,7 @@ interface components {
|
|
|
5393
5598
|
*/
|
|
5394
5599
|
open_pii_finding_count: number;
|
|
5395
5600
|
/**
|
|
5396
|
-
* @description Whether the project is shared
|
|
5601
|
+
* @description Whether the project is shared with at least 10 users.
|
|
5397
5602
|
* @example false
|
|
5398
5603
|
*/
|
|
5399
5604
|
overshared: boolean;
|
|
@@ -5443,19 +5648,19 @@ interface components {
|
|
|
5443
5648
|
supabase_table_count?: number;
|
|
5444
5649
|
/**
|
|
5445
5650
|
* Format: int64
|
|
5446
|
-
* @description Number of error-level
|
|
5651
|
+
* @description Number of error-level findings in project dependencies.
|
|
5447
5652
|
* @example 1
|
|
5448
5653
|
*/
|
|
5449
5654
|
supply_chain_error_count: number;
|
|
5450
5655
|
/**
|
|
5451
5656
|
* Format: int64
|
|
5452
|
-
* @description Number of
|
|
5657
|
+
* @description Number of informational findings in project dependencies.
|
|
5453
5658
|
* @example 4
|
|
5454
5659
|
*/
|
|
5455
5660
|
supply_chain_info_count: number;
|
|
5456
5661
|
/**
|
|
5457
5662
|
* Format: int64
|
|
5458
|
-
* @description Number of warning-level
|
|
5663
|
+
* @description Number of warning-level findings in project dependencies.
|
|
5459
5664
|
* @example 3
|
|
5460
5665
|
*/
|
|
5461
5666
|
supply_chain_warning_count: number;
|
|
@@ -5466,48 +5671,48 @@ interface components {
|
|
|
5466
5671
|
*/
|
|
5467
5672
|
warning_count: number;
|
|
5468
5673
|
};
|
|
5469
|
-
|
|
5674
|
+
WorkspaceInsightsStat: {
|
|
5470
5675
|
/**
|
|
5471
5676
|
* Format: int64
|
|
5472
|
-
* @description
|
|
5677
|
+
* @description Number of items in the current count that were created or joined within the last 30 days, as defined by the metric. This is not a net change from the count 30 days ago.
|
|
5473
5678
|
* @example 3
|
|
5474
5679
|
*/
|
|
5475
5680
|
delta_30d: number;
|
|
5476
5681
|
/**
|
|
5477
|
-
* @description
|
|
5682
|
+
* @description Display label for the reporting period used by delta_30d. Currently "30 days".
|
|
5478
5683
|
* @example 30 days
|
|
5479
5684
|
*/
|
|
5480
5685
|
delta_window: string;
|
|
5481
5686
|
/**
|
|
5482
5687
|
* Format: int64
|
|
5483
|
-
* @description Current count.
|
|
5688
|
+
* @description Current count for this metric.
|
|
5484
5689
|
* @example 42
|
|
5485
5690
|
*/
|
|
5486
5691
|
value: number;
|
|
5487
5692
|
};
|
|
5488
|
-
|
|
5489
|
-
/** @description Projects published
|
|
5490
|
-
externally_published: components["schemas"]["
|
|
5491
|
-
/** @description
|
|
5492
|
-
risk: components["schemas"]["
|
|
5493
|
-
/** @description
|
|
5494
|
-
total_projects: components["schemas"]["
|
|
5495
|
-
/** @description
|
|
5496
|
-
workspace_members: components["schemas"]["
|
|
5693
|
+
WorkspaceInsightsSummary: {
|
|
5694
|
+
/** @description Projects currently published for public access. Excludes privately published projects shared with selected external viewers. delta_30d counts currently public projects created within the last 30 days, not publication events. */
|
|
5695
|
+
externally_published: components["schemas"]["WorkspaceInsightsStat"];
|
|
5696
|
+
/** @description Project counts grouped by review priority. Projects without a calculated priority are excluded, so these counts may total less than total_projects.value. */
|
|
5697
|
+
risk: components["schemas"]["WorkspaceInsightsReviewPriority"];
|
|
5698
|
+
/** @description Projects currently in the workspace, excluding deleted projects. delta_30d counts those created within the last 30 days. */
|
|
5699
|
+
total_projects: components["schemas"]["WorkspaceInsightsStat"];
|
|
5700
|
+
/** @description Current active workspace members, excluding pending invitations. delta_30d counts current members who joined within the last 30 days; members who subsequently left are excluded. */
|
|
5701
|
+
workspace_members: components["schemas"]["WorkspaceInsightsStat"];
|
|
5497
5702
|
};
|
|
5498
|
-
|
|
5703
|
+
WorkspaceMember: {
|
|
5499
5704
|
/**
|
|
5500
|
-
* @description
|
|
5705
|
+
* @description Member display name in this workspace. Omitted when unavailable.
|
|
5501
5706
|
* @example Jane Cooper
|
|
5502
5707
|
*/
|
|
5503
5708
|
display_name?: string;
|
|
5504
5709
|
/**
|
|
5505
|
-
* @description Member email
|
|
5710
|
+
* @description Member email address in this workspace. For pending invitations, this is the invited address. Omitted when unavailable.
|
|
5506
5711
|
* @example jane.cooper@acme.com
|
|
5507
5712
|
*/
|
|
5508
5713
|
email?: string;
|
|
5509
5714
|
/** @description Groups the member belongs to, sorted by group name. Never truncated: a member in many groups returns all of them, so response size scales with group membership. Present whenever the request asks for include=groups, empty for a member in no groups; absent otherwise. */
|
|
5510
|
-
groups?: components["schemas"]["
|
|
5715
|
+
groups?: components["schemas"]["WorkspaceMemberGroup"][];
|
|
5511
5716
|
/**
|
|
5512
5717
|
* Format: date-time
|
|
5513
5718
|
* @description When the user was invited.
|
|
@@ -5522,17 +5727,18 @@ interface components {
|
|
|
5522
5727
|
joined_at?: string;
|
|
5523
5728
|
/**
|
|
5524
5729
|
* Format: double
|
|
5525
|
-
* @description Explicit monthly credit
|
|
5730
|
+
* @description Explicit monthly build-credit limit for this member. When unset, the workspace default applies. Omitted when unset or when the caller lacks permission to view this member's limit. Your own limit is visible to you.
|
|
5526
5731
|
* @example 500
|
|
5527
5732
|
*/
|
|
5528
5733
|
monthly_credit_limit?: number;
|
|
5529
5734
|
/**
|
|
5530
|
-
* @description Workspace role.
|
|
5735
|
+
* @description Workspace role. More values may be added; clients must tolerate unknown values.
|
|
5531
5736
|
* @example admin
|
|
5737
|
+
* @enum {string}
|
|
5532
5738
|
*/
|
|
5533
|
-
role:
|
|
5739
|
+
role: "owner" | "admin" | "member" | "viewer" | "collaborator";
|
|
5534
5740
|
/**
|
|
5535
|
-
* @description
|
|
5741
|
+
* @description Opaque identifier for this member or invitation. For active members it is the user ID. For pending invitations it identifies the invitation and cannot be used to update a member credit limit.
|
|
5536
5742
|
* @example Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5
|
|
5537
5743
|
*/
|
|
5538
5744
|
user_id: string;
|
|
@@ -5542,7 +5748,7 @@ interface components {
|
|
|
5542
5748
|
*/
|
|
5543
5749
|
workspace_id: string;
|
|
5544
5750
|
};
|
|
5545
|
-
|
|
5751
|
+
WorkspaceMemberGroup: {
|
|
5546
5752
|
/**
|
|
5547
5753
|
* @description Group ID, as returned by GET /v1/workspaces/{workspace_id}/groups.
|
|
5548
5754
|
* @example engineering_workspace_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
@@ -5554,37 +5760,38 @@ interface components {
|
|
|
5554
5760
|
*/
|
|
5555
5761
|
name: string;
|
|
5556
5762
|
};
|
|
5557
|
-
|
|
5763
|
+
WorkspaceSettings: {
|
|
5558
5764
|
/**
|
|
5559
5765
|
* Format: date-time
|
|
5560
|
-
* @description
|
|
5766
|
+
* @description Exclusive end of the current billing period. Omitted when no billing period is recorded or when the caller lacks permission to view workspace usage.
|
|
5561
5767
|
* @example 2026-02-01T00:00:00Z
|
|
5562
5768
|
*/
|
|
5563
5769
|
billing_period_end_date?: string;
|
|
5564
5770
|
/**
|
|
5565
5771
|
* Format: date-time
|
|
5566
|
-
* @description
|
|
5772
|
+
* @description Inclusive start of the current billing period. Omitted when no billing period is recorded or when the caller lacks permission to view workspace usage.
|
|
5567
5773
|
* @example 2026-01-01T00:00:00Z
|
|
5568
5774
|
*/
|
|
5569
5775
|
billing_period_start_date?: string;
|
|
5570
5776
|
/**
|
|
5571
5777
|
* Format: double
|
|
5572
|
-
* @description Default monthly credit
|
|
5778
|
+
* @description Default monthly build-credit limit for members without an explicit per-member limit. Omitted when unset or when the caller lacks permission to view workspace usage. Active higher temporary limits can override it.
|
|
5573
5779
|
* @example 500
|
|
5574
5780
|
*/
|
|
5575
5781
|
default_monthly_member_credit_limit?: number;
|
|
5576
5782
|
/**
|
|
5577
|
-
* @description Default
|
|
5783
|
+
* @description Default editor sharing for new projects, separate from published app access. New projects follow workspace roles unless the setting restricts access to project and workspace owners and explicit sharing grants, and the plan supports that restriction. Unsupported or omitted settings fall back to workspace roles. More values may be added; clients must tolerate unknown values.
|
|
5578
5784
|
* @example private
|
|
5785
|
+
* @enum {string}
|
|
5579
5786
|
*/
|
|
5580
|
-
default_project_visibility?:
|
|
5787
|
+
default_project_visibility?: "draft" | "private" | "workspace_view" | "public";
|
|
5581
5788
|
/**
|
|
5582
|
-
* @description Whether PII
|
|
5789
|
+
* @description Whether scanning for personally identifiable information (PII), such as names and email addresses, is enabled for workspace projects.
|
|
5583
5790
|
* @example true
|
|
5584
5791
|
*/
|
|
5585
5792
|
enable_pii: boolean;
|
|
5586
5793
|
/**
|
|
5587
|
-
* @description Whether
|
|
5794
|
+
* @description Whether workspace members are required to sign in through single sign-on (SSO).
|
|
5588
5795
|
* @example true
|
|
5589
5796
|
*/
|
|
5590
5797
|
enforce_sso: boolean;
|
|
@@ -5600,20 +5807,22 @@ interface components {
|
|
|
5600
5807
|
name: string;
|
|
5601
5808
|
/**
|
|
5602
5809
|
* Format: int64
|
|
5603
|
-
* @description
|
|
5810
|
+
* @description Configured maximum number of workspace seats. Omitted when no positive workspace-specific seat limit is configured or when the caller lacks permission to view workspace usage.
|
|
5604
5811
|
* @example 25
|
|
5605
5812
|
*/
|
|
5606
5813
|
num_seats?: number;
|
|
5607
5814
|
/**
|
|
5608
|
-
* @description Plan tier.
|
|
5815
|
+
* @description Plan tier. More values may be added; clients must tolerate unknown values.
|
|
5609
5816
|
* @example enterprise
|
|
5817
|
+
* @enum {string}
|
|
5610
5818
|
*/
|
|
5611
|
-
plan:
|
|
5819
|
+
plan: "free" | "pro" | "business" | "enterprise";
|
|
5612
5820
|
/**
|
|
5613
|
-
* @description
|
|
5821
|
+
* @description Policy limiting who can view published apps or preventing publishing altogether. Omitted when no audience restriction is configured. More values may be added; clients must tolerate unknown values.
|
|
5614
5822
|
* @example workspace_only
|
|
5823
|
+
* @enum {string}
|
|
5615
5824
|
*/
|
|
5616
|
-
publishing_policy?:
|
|
5825
|
+
publishing_policy?: "org_only" | "workspace_only" | "disabled";
|
|
5617
5826
|
};
|
|
5618
5827
|
V1WorkspaceSkillDTO: {
|
|
5619
5828
|
/** @description Short description from SKILL.md frontmatter */
|
|
@@ -5631,7 +5840,7 @@ interface components {
|
|
|
5631
5840
|
};
|
|
5632
5841
|
V1WorkspaceUsageBreakdownBody: {
|
|
5633
5842
|
/** @description The calendar month that each row's total_credits_used_in_billing_period covers. */
|
|
5634
|
-
billing_period: components["schemas"]["
|
|
5843
|
+
billing_period: components["schemas"]["BillingPeriod"];
|
|
5635
5844
|
/** @description Items in this page. */
|
|
5636
5845
|
data: components["schemas"]["V1WorkspaceUsageBreakdownEntry"][] | null;
|
|
5637
5846
|
/**
|
|
@@ -5639,7 +5848,7 @@ interface components {
|
|
|
5639
5848
|
* @description Total matching members across all pages.
|
|
5640
5849
|
*/
|
|
5641
5850
|
member_count: number;
|
|
5642
|
-
/** @description
|
|
5851
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
5643
5852
|
pagination: components["schemas"]["Pagination"];
|
|
5644
5853
|
};
|
|
5645
5854
|
V1WorkspaceUsageBreakdownEntry: {
|
|
@@ -5667,7 +5876,7 @@ interface components {
|
|
|
5667
5876
|
/** @description User ID, or pending-invite ID for unaccepted invitations. */
|
|
5668
5877
|
user_id: string;
|
|
5669
5878
|
};
|
|
5670
|
-
|
|
5879
|
+
ConnectorUsage: {
|
|
5671
5880
|
/**
|
|
5672
5881
|
* Format: double
|
|
5673
5882
|
* @description Credits attributed to this connector in the bucket.
|
|
@@ -5678,7 +5887,7 @@ interface components {
|
|
|
5678
5887
|
/** @description Display label for the connector. */
|
|
5679
5888
|
label: string;
|
|
5680
5889
|
};
|
|
5681
|
-
|
|
5890
|
+
DatabaseUsage: {
|
|
5682
5891
|
/**
|
|
5683
5892
|
* Format: double
|
|
5684
5893
|
* @description Credits attributed to this database subcategory in the bucket.
|
|
@@ -5697,7 +5906,7 @@ interface components {
|
|
|
5697
5906
|
*/
|
|
5698
5907
|
label: string;
|
|
5699
5908
|
};
|
|
5700
|
-
|
|
5909
|
+
GatewayModelUsage: {
|
|
5701
5910
|
/**
|
|
5702
5911
|
* Format: double
|
|
5703
5912
|
* @description Credits attributed to this model in the bucket.
|
|
@@ -5789,7 +5998,7 @@ interface components {
|
|
|
5789
5998
|
* @description Number of projects with usage in the window.
|
|
5790
5999
|
*/
|
|
5791
6000
|
entity_count: number;
|
|
5792
|
-
/** @description
|
|
6001
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
5793
6002
|
pagination: components["schemas"]["Pagination"];
|
|
5794
6003
|
/** @description The resolved window these rows cover, echoed so callers can see the dates the server applied. */
|
|
5795
6004
|
period: components["schemas"]["V1UsagePeriod"];
|
|
@@ -5802,7 +6011,7 @@ interface components {
|
|
|
5802
6011
|
V1WorkspaceUsageTimeseriesBody: {
|
|
5803
6012
|
/** @description Items in this page. */
|
|
5804
6013
|
data: components["schemas"]["V1WorkspaceUsageTimeseriesBucket"][] | null;
|
|
5805
|
-
/** @description
|
|
6014
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
5806
6015
|
pagination: components["schemas"]["Pagination"];
|
|
5807
6016
|
/** @description The resolved window these buckets cover, echoed so callers can see the dates and granularity the server applied. */
|
|
5808
6017
|
period: components["schemas"]["V1UsagePeriod"];
|
|
@@ -5824,14 +6033,14 @@ interface components {
|
|
|
5824
6033
|
*/
|
|
5825
6034
|
connectors: number;
|
|
5826
6035
|
/** @description Per-connector breakdown for the bucket. */
|
|
5827
|
-
connectors_breakdown: components["schemas"]["
|
|
6036
|
+
connectors_breakdown: components["schemas"]["ConnectorUsage"][] | null;
|
|
5828
6037
|
/**
|
|
5829
6038
|
* Format: double
|
|
5830
6039
|
* @description Database credits.
|
|
5831
6040
|
*/
|
|
5832
6041
|
database: number;
|
|
5833
6042
|
/** @description Database server/storage breakdown for the bucket. */
|
|
5834
|
-
database_breakdown: components["schemas"]["
|
|
6043
|
+
database_breakdown: components["schemas"]["DatabaseUsage"][] | null;
|
|
5835
6044
|
/**
|
|
5836
6045
|
* Format: double
|
|
5837
6046
|
* @description Compute credits from functions and workers.
|
|
@@ -5843,7 +6052,7 @@ interface components {
|
|
|
5843
6052
|
*/
|
|
5844
6053
|
gateway: number;
|
|
5845
6054
|
/** @description Per-model AI Gateway breakdown for the bucket. */
|
|
5846
|
-
gateway_models: components["schemas"]["
|
|
6055
|
+
gateway_models: components["schemas"]["GatewayModelUsage"][] | null;
|
|
5847
6056
|
/**
|
|
5848
6057
|
* Format: double
|
|
5849
6058
|
* @description Network data-transfer credits.
|
|
@@ -5895,8 +6104,8 @@ interface components {
|
|
|
5895
6104
|
previous_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
5896
6105
|
project_id: string;
|
|
5897
6106
|
};
|
|
5898
|
-
|
|
5899
|
-
/** @description
|
|
6107
|
+
WorkspaceAnalytics: {
|
|
6108
|
+
/** @description Website traffic metrics for the workspace, including historical traffic from projects that have since been deleted. */
|
|
5900
6109
|
timeSeries: components["schemas"]["TimeSeriesGroup"];
|
|
5901
6110
|
};
|
|
5902
6111
|
};
|
|
@@ -5963,7 +6172,7 @@ interface operations {
|
|
|
5963
6172
|
[name: string]: unknown;
|
|
5964
6173
|
};
|
|
5965
6174
|
content: {
|
|
5966
|
-
"application/json": components["schemas"]["
|
|
6175
|
+
"application/json": components["schemas"]["AnalyticsTrend"];
|
|
5967
6176
|
};
|
|
5968
6177
|
};
|
|
5969
6178
|
/** @description Error */
|
|
@@ -5982,9 +6191,9 @@ interface operations {
|
|
|
5982
6191
|
query: {
|
|
5983
6192
|
/** @description Workspace ID */
|
|
5984
6193
|
workspace_id: string;
|
|
5985
|
-
/** @description Maximum
|
|
6194
|
+
/** @description Maximum number of items to return per page. */
|
|
5986
6195
|
limit?: number;
|
|
5987
|
-
/** @description
|
|
6196
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
5988
6197
|
cursor?: string;
|
|
5989
6198
|
/** @description Comma-separated audit-log action filter (exact match, e.g. workspace.member.added). */
|
|
5990
6199
|
actions?: string;
|
|
@@ -5994,9 +6203,9 @@ interface operations {
|
|
|
5994
6203
|
target_ids?: string;
|
|
5995
6204
|
/** @description Token-based search on target_id and target_display_name. Minimum 3 characters. */
|
|
5996
6205
|
search?: string;
|
|
5997
|
-
/** @description RFC3339 inclusive start of the time range. Defaults to 30 days ago. When paginating with cursor, pass an explicit start_date so the default lower bound does not drift between pages. */
|
|
6206
|
+
/** @description RFC3339 inclusive start of the time range. Defaults to 30 days ago. Entries are retained for 13 weeks; on /v1beta/workspaces/{workspace_id}/audit-logs an older start_date is clamped to 13 weeks ago when end_date is omitted. When paginating with cursor, pass an explicit start_date so the default lower bound does not drift between pages. */
|
|
5998
6207
|
start_date?: string;
|
|
5999
|
-
/** @description RFC3339 inclusive end of the time range. Defaults to now. */
|
|
6208
|
+
/** @description RFC3339 inclusive end of the time range. Defaults to now. On /v1beta/workspaces/{workspace_id}/audit-logs an explicit end_date must be at most 13 weeks after start_date. */
|
|
6000
6209
|
end_date?: string;
|
|
6001
6210
|
};
|
|
6002
6211
|
header?: never;
|
|
@@ -6030,9 +6239,9 @@ interface operations {
|
|
|
6030
6239
|
query: {
|
|
6031
6240
|
/** @description Project ID */
|
|
6032
6241
|
project_id: string;
|
|
6033
|
-
/** @description Maximum number of items to return */
|
|
6242
|
+
/** @description Maximum number of items to return per page. */
|
|
6034
6243
|
limit?: number;
|
|
6035
|
-
/** @description
|
|
6244
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6036
6245
|
cursor?: string;
|
|
6037
6246
|
};
|
|
6038
6247
|
header?: never;
|
|
@@ -6047,7 +6256,7 @@ interface operations {
|
|
|
6047
6256
|
[name: string]: unknown;
|
|
6048
6257
|
};
|
|
6049
6258
|
content: {
|
|
6050
|
-
"application/json": components["schemas"]["
|
|
6259
|
+
"application/json": components["schemas"]["ProjectCollaboratorPage"];
|
|
6051
6260
|
};
|
|
6052
6261
|
};
|
|
6053
6262
|
/** @description Error */
|
|
@@ -6070,9 +6279,9 @@ interface operations {
|
|
|
6070
6279
|
type?: string;
|
|
6071
6280
|
/** @description Optional status filter. For seamless and app-user connectors, connected matches workspace-enabled connectors. */
|
|
6072
6281
|
status?: "connected";
|
|
6073
|
-
/** @description Maximum number of items to return */
|
|
6282
|
+
/** @description Maximum number of items to return per page. */
|
|
6074
6283
|
limit?: number;
|
|
6075
|
-
/** @description
|
|
6284
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6076
6285
|
cursor?: string;
|
|
6077
6286
|
};
|
|
6078
6287
|
header?: never;
|
|
@@ -6108,9 +6317,9 @@ interface operations {
|
|
|
6108
6317
|
workspace_id: string;
|
|
6109
6318
|
/** @description Filter to one or more event types. Repeat to include multiple; omit for all. */
|
|
6110
6319
|
event_type?: ("granted" | "expired" | "adjustment" | "converted")[] | null;
|
|
6111
|
-
/** @description Maximum number of items to return */
|
|
6320
|
+
/** @description Maximum number of items to return per page. */
|
|
6112
6321
|
limit?: number;
|
|
6113
|
-
/** @description
|
|
6322
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6114
6323
|
cursor?: string;
|
|
6115
6324
|
};
|
|
6116
6325
|
header?: never;
|
|
@@ -6125,7 +6334,7 @@ interface operations {
|
|
|
6125
6334
|
[name: string]: unknown;
|
|
6126
6335
|
};
|
|
6127
6336
|
content: {
|
|
6128
|
-
"application/json": components["schemas"]["
|
|
6337
|
+
"application/json": components["schemas"]["CreditHistoryPage"];
|
|
6129
6338
|
};
|
|
6130
6339
|
};
|
|
6131
6340
|
/** @description Error */
|
|
@@ -6157,7 +6366,7 @@ interface operations {
|
|
|
6157
6366
|
[name: string]: unknown;
|
|
6158
6367
|
};
|
|
6159
6368
|
content: {
|
|
6160
|
-
"application/json": components["schemas"]["
|
|
6369
|
+
"application/json": components["schemas"]["CreditBalance"];
|
|
6161
6370
|
};
|
|
6162
6371
|
};
|
|
6163
6372
|
/** @description Error */
|
|
@@ -6383,9 +6592,9 @@ interface operations {
|
|
|
6383
6592
|
project_id: string;
|
|
6384
6593
|
/** @description Git ref (commit SHA, branch, or tag). Defaults to the latest ref. */
|
|
6385
6594
|
ref?: string;
|
|
6386
|
-
/** @description Maximum number of items to return */
|
|
6595
|
+
/** @description Maximum number of items to return per page. */
|
|
6387
6596
|
limit?: number;
|
|
6388
|
-
/** @description
|
|
6597
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6389
6598
|
cursor?: string;
|
|
6390
6599
|
};
|
|
6391
6600
|
header?: never;
|
|
@@ -6517,7 +6726,7 @@ interface operations {
|
|
|
6517
6726
|
};
|
|
6518
6727
|
};
|
|
6519
6728
|
};
|
|
6520
|
-
|
|
6729
|
+
getMe: {
|
|
6521
6730
|
parameters: {
|
|
6522
6731
|
query?: never;
|
|
6523
6732
|
header?: never;
|
|
@@ -6532,7 +6741,7 @@ interface operations {
|
|
|
6532
6741
|
[name: string]: unknown;
|
|
6533
6742
|
};
|
|
6534
6743
|
content: {
|
|
6535
|
-
"application/json": components["schemas"]["
|
|
6744
|
+
"application/json": components["schemas"]["CurrentUser"];
|
|
6536
6745
|
};
|
|
6537
6746
|
};
|
|
6538
6747
|
/** @description Error */
|
|
@@ -6551,23 +6760,23 @@ interface operations {
|
|
|
6551
6760
|
query: {
|
|
6552
6761
|
/** @description Workspace ID */
|
|
6553
6762
|
workspace_id: string;
|
|
6554
|
-
/** @description Maximum
|
|
6763
|
+
/** @description Maximum number of items to return per page. */
|
|
6555
6764
|
limit?: number;
|
|
6556
|
-
/** @description
|
|
6765
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6557
6766
|
cursor?: string;
|
|
6558
|
-
/** @description
|
|
6767
|
+
/** @description Search by display name, username, or email. Each search term of at least 3 characters must match at least one of these fields; shorter terms are ignored. */
|
|
6559
6768
|
query?: string;
|
|
6560
|
-
/** @description Comma-separated role filter.
|
|
6769
|
+
/** @description Comma-separated workspace role filter. Omit to include every role. Unknown roles return 400. */
|
|
6561
6770
|
roles?: string;
|
|
6562
|
-
/** @description Filter by membership status.
|
|
6771
|
+
/** @description Filter by membership status. Pending invites are excluded by default. */
|
|
6563
6772
|
status?: "all" | "active" | "pending";
|
|
6564
|
-
/** @description Sort field.
|
|
6773
|
+
/** @description Sort field. With a search query, results default to best matches first. Otherwise, members are ordered by role precedence, then most recently joined or invited. */
|
|
6565
6774
|
sort_by?: "name" | "joined_at" | "role" | "relevance";
|
|
6566
|
-
/** @description
|
|
6775
|
+
/** @description Direction for an explicit sort field. Defaults to descending. Ignored for the default order and relevance sorting. */
|
|
6567
6776
|
sort_order?: "asc" | "desc";
|
|
6568
|
-
/** @description Filter by
|
|
6777
|
+
/** @description Filter by identity-provider provisioning through SCIM (System for Cross-domain Identity Management). Omit to include members regardless of provisioning method. */
|
|
6569
6778
|
scim_managed?: "managed" | "unmanaged";
|
|
6570
|
-
/** @description
|
|
6779
|
+
/** @description Optional additional member details. Set include=groups to include group memberships; otherwise groups is omitted. Unknown values return 400. Unrecognized query parameter names on any endpoint are ignored and listed in the X-Lovable-Unknown-Query-Params response header. */
|
|
6571
6780
|
include?: string;
|
|
6572
6781
|
};
|
|
6573
6782
|
header?: never;
|
|
@@ -6582,7 +6791,7 @@ interface operations {
|
|
|
6582
6791
|
[name: string]: unknown;
|
|
6583
6792
|
};
|
|
6584
6793
|
content: {
|
|
6585
|
-
"application/json": components["schemas"]["
|
|
6794
|
+
"application/json": components["schemas"]["WorkspaceMemberPage"];
|
|
6586
6795
|
};
|
|
6587
6796
|
};
|
|
6588
6797
|
/** @description Error */
|
|
@@ -6615,7 +6824,7 @@ interface operations {
|
|
|
6615
6824
|
[name: string]: unknown;
|
|
6616
6825
|
};
|
|
6617
6826
|
content: {
|
|
6618
|
-
"application/json": components["schemas"]["
|
|
6827
|
+
"application/json": components["schemas"]["SetMemberCreditLimitsResponse"];
|
|
6619
6828
|
};
|
|
6620
6829
|
};
|
|
6621
6830
|
/** @description Error */
|
|
@@ -6651,7 +6860,7 @@ interface operations {
|
|
|
6651
6860
|
[name: string]: unknown;
|
|
6652
6861
|
};
|
|
6653
6862
|
content: {
|
|
6654
|
-
"application/json": components["schemas"]["
|
|
6863
|
+
"application/json": components["schemas"]["WorkspaceMember"];
|
|
6655
6864
|
};
|
|
6656
6865
|
};
|
|
6657
6866
|
/** @description Error */
|
|
@@ -6831,9 +7040,9 @@ interface operations {
|
|
|
6831
7040
|
query: {
|
|
6832
7041
|
/** @description Project ID */
|
|
6833
7042
|
project_id: string;
|
|
6834
|
-
/** @description
|
|
7043
|
+
/** @description Maximum number of items to return per page. */
|
|
6835
7044
|
limit?: number;
|
|
6836
|
-
/** @description
|
|
7045
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6837
7046
|
cursor?: string;
|
|
6838
7047
|
};
|
|
6839
7048
|
header?: never;
|
|
@@ -6895,32 +7104,32 @@ interface operations {
|
|
|
6895
7104
|
};
|
|
6896
7105
|
};
|
|
6897
7106
|
};
|
|
6898
|
-
|
|
7107
|
+
listProjects: {
|
|
6899
7108
|
parameters: {
|
|
6900
7109
|
query: {
|
|
6901
7110
|
/** @description Workspace ID */
|
|
6902
7111
|
workspace_id: string;
|
|
6903
|
-
/** @description Filter by project
|
|
7112
|
+
/** @description Filter by project owner user ID */
|
|
6904
7113
|
user_id?: string;
|
|
6905
|
-
/** @description Filter by
|
|
7114
|
+
/** @description Filter projects by editor-sharing scope. Omit to include every scope you can access. */
|
|
6906
7115
|
visibility?: "personal" | "workspace" | "public" | "all";
|
|
6907
|
-
/** @description Filter by
|
|
7116
|
+
/** @description Filter by publication state and audience. Audience-specific filters require an explicit app-access setting; projects without one remain in the broader publication-state results. Omit to include every state. */
|
|
6908
7117
|
publish_status?: "any" | "published" | "internal" | "external" | "not_published";
|
|
6909
7118
|
/** @description Filter by folder ID */
|
|
6910
7119
|
folder_id?: string;
|
|
6911
7120
|
/** @description Filter by multiple folder IDs (comma-separated, takes precedence over folder_id) */
|
|
6912
7121
|
folder_ids?: string;
|
|
6913
|
-
/** @description Filter by project type.
|
|
7122
|
+
/** @description Filter by project type. Design-system libraries and reusable templates exclude personal drafts unless the sharing filter selects them. Omit to include every type. */
|
|
6914
7123
|
type?: "" | "project" | "library" | "template" | "all";
|
|
6915
|
-
/** @description Search
|
|
7124
|
+
/** @description Search project names, generated descriptions, and owner names or email addresses. Terms shorter than 3 characters are ignored. Use search_fields to restrict searching to project names. */
|
|
6916
7125
|
query?: string;
|
|
6917
|
-
/** @description Maximum number of
|
|
7126
|
+
/** @description Maximum number of items to return per page. */
|
|
6918
7127
|
limit?: number;
|
|
6919
|
-
/** @description
|
|
7128
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
6920
7129
|
cursor?: string;
|
|
6921
7130
|
/** @description Only return projects viewed by the current user */
|
|
6922
7131
|
viewed_by_me?: boolean;
|
|
6923
|
-
/** @description
|
|
7132
|
+
/** @description Limit searching to project names. Omit to also search generated descriptions and owner names or email addresses. */
|
|
6924
7133
|
search_fields?: "" | "name";
|
|
6925
7134
|
};
|
|
6926
7135
|
header?: never;
|
|
@@ -6935,7 +7144,7 @@ interface operations {
|
|
|
6935
7144
|
[name: string]: unknown;
|
|
6936
7145
|
};
|
|
6937
7146
|
content: {
|
|
6938
|
-
"application/json": components["schemas"]["
|
|
7147
|
+
"application/json": components["schemas"]["ProjectSummaryPage"];
|
|
6939
7148
|
};
|
|
6940
7149
|
};
|
|
6941
7150
|
/** @description Error */
|
|
@@ -6962,7 +7171,7 @@ interface operations {
|
|
|
6962
7171
|
};
|
|
6963
7172
|
};
|
|
6964
7173
|
responses: {
|
|
6965
|
-
/** @description
|
|
7174
|
+
/** @description Not returned by current servers; retained from an earlier published contract. Treat like 201. */
|
|
6966
7175
|
200: {
|
|
6967
7176
|
headers: {
|
|
6968
7177
|
[name: string]: unknown;
|
|
@@ -6971,7 +7180,7 @@ interface operations {
|
|
|
6971
7180
|
"application/json": components["schemas"]["PublicV1CreateProjectResponse"];
|
|
6972
7181
|
};
|
|
6973
7182
|
};
|
|
6974
|
-
/** @description
|
|
7183
|
+
/** @description Project created. The body is the new project; message_id is present when initial_message was given. Location points at the project. */
|
|
6975
7184
|
201: {
|
|
6976
7185
|
headers: {
|
|
6977
7186
|
Location?: string;
|
|
@@ -6981,7 +7190,7 @@ interface operations {
|
|
|
6981
7190
|
"application/json": components["schemas"]["PublicV1CreateProjectResponse"];
|
|
6982
7191
|
};
|
|
6983
7192
|
};
|
|
6984
|
-
/** @description
|
|
7193
|
+
/** @description Remix accepted. The body carries job_id only; poll GET /v1/remix-jobs/{job_id} (the Location header) for progress. */
|
|
6985
7194
|
202: {
|
|
6986
7195
|
headers: {
|
|
6987
7196
|
Location?: string;
|
|
@@ -7002,7 +7211,7 @@ interface operations {
|
|
|
7002
7211
|
};
|
|
7003
7212
|
};
|
|
7004
7213
|
};
|
|
7005
|
-
|
|
7214
|
+
getProject: {
|
|
7006
7215
|
parameters: {
|
|
7007
7216
|
query?: never;
|
|
7008
7217
|
header?: never;
|
|
@@ -7020,7 +7229,7 @@ interface operations {
|
|
|
7020
7229
|
[name: string]: unknown;
|
|
7021
7230
|
};
|
|
7022
7231
|
content: {
|
|
7023
|
-
"application/json": components["schemas"]["
|
|
7232
|
+
"application/json": components["schemas"]["Project"];
|
|
7024
7233
|
};
|
|
7025
7234
|
};
|
|
7026
7235
|
/** @description Error */
|
|
@@ -7034,7 +7243,7 @@ interface operations {
|
|
|
7034
7243
|
};
|
|
7035
7244
|
};
|
|
7036
7245
|
};
|
|
7037
|
-
|
|
7246
|
+
deleteProject: {
|
|
7038
7247
|
parameters: {
|
|
7039
7248
|
query?: never;
|
|
7040
7249
|
header?: never;
|
|
@@ -7064,7 +7273,7 @@ interface operations {
|
|
|
7064
7273
|
};
|
|
7065
7274
|
};
|
|
7066
7275
|
};
|
|
7067
|
-
|
|
7276
|
+
updateProject: {
|
|
7068
7277
|
parameters: {
|
|
7069
7278
|
query?: never;
|
|
7070
7279
|
header?: never;
|
|
@@ -7076,7 +7285,7 @@ interface operations {
|
|
|
7076
7285
|
};
|
|
7077
7286
|
requestBody: {
|
|
7078
7287
|
content: {
|
|
7079
|
-
"application/json": components["schemas"]["
|
|
7288
|
+
"application/json": components["schemas"]["UpdateProjectRequest"];
|
|
7080
7289
|
};
|
|
7081
7290
|
};
|
|
7082
7291
|
responses: {
|
|
@@ -7086,7 +7295,7 @@ interface operations {
|
|
|
7086
7295
|
[name: string]: unknown;
|
|
7087
7296
|
};
|
|
7088
7297
|
content: {
|
|
7089
|
-
"application/json": components["schemas"]["
|
|
7298
|
+
"application/json": components["schemas"]["Project"];
|
|
7090
7299
|
};
|
|
7091
7300
|
};
|
|
7092
7301
|
/** @description Error */
|
|
@@ -7100,16 +7309,16 @@ interface operations {
|
|
|
7100
7309
|
};
|
|
7101
7310
|
};
|
|
7102
7311
|
};
|
|
7103
|
-
|
|
7312
|
+
getProjectAnalytics: {
|
|
7104
7313
|
parameters: {
|
|
7105
7314
|
query?: {
|
|
7106
|
-
/** @description
|
|
7315
|
+
/** @description Select date-range analytics or the real-time visitor series for the last 30 minutes. */
|
|
7107
7316
|
series?: "historical" | "trend";
|
|
7108
|
-
/** @description Start date in RFC 3339 format (e.g. 2026-04-01T00:00:00Z). Required when series=historical. */
|
|
7317
|
+
/** @description Start of the date range in RFC 3339 format using UTC timestamps ending in Z (e.g. 2026-04-01T00:00:00Z). Required when series=historical (the default); ignored when series=trend. */
|
|
7109
7318
|
start_date?: string;
|
|
7110
|
-
/** @description End date in RFC 3339 format (e.g. 2026-04-08T00:00:00Z). Required when series=historical. */
|
|
7319
|
+
/** @description End of the date range in RFC 3339 format using UTC timestamps ending in Z (e.g. 2026-04-08T00:00:00Z). Required when series=historical (the default); ignored when series=trend. */
|
|
7111
7320
|
end_date?: string;
|
|
7112
|
-
/** @description Time
|
|
7321
|
+
/** @description Time-bucket size for date-range analytics. Daily buckets include complete calendar dates from start_date through end_date; hourly buckets use the supplied times inclusively and support at most 31 days. Defaults to daily buckets. Ignored for real-time visitor data. */
|
|
7113
7322
|
granularity?: string;
|
|
7114
7323
|
};
|
|
7115
7324
|
header?: never;
|
|
@@ -7127,7 +7336,7 @@ interface operations {
|
|
|
7127
7336
|
[name: string]: unknown;
|
|
7128
7337
|
};
|
|
7129
7338
|
content: {
|
|
7130
|
-
"application/json": components["schemas"]["
|
|
7339
|
+
"application/json": components["schemas"]["ProjectAnalytics"];
|
|
7131
7340
|
};
|
|
7132
7341
|
};
|
|
7133
7342
|
/** @description Error */
|
|
@@ -7159,7 +7368,7 @@ interface operations {
|
|
|
7159
7368
|
[name: string]: unknown;
|
|
7160
7369
|
};
|
|
7161
7370
|
content: {
|
|
7162
|
-
"application/json": components["schemas"]["
|
|
7371
|
+
"application/json": components["schemas"]["AnalyticsTrend"];
|
|
7163
7372
|
};
|
|
7164
7373
|
};
|
|
7165
7374
|
/** @description Error */
|
|
@@ -7173,12 +7382,12 @@ interface operations {
|
|
|
7173
7382
|
};
|
|
7174
7383
|
};
|
|
7175
7384
|
};
|
|
7176
|
-
|
|
7385
|
+
listProjectCollaborators: {
|
|
7177
7386
|
parameters: {
|
|
7178
7387
|
query?: {
|
|
7179
|
-
/** @description Maximum number of items to return */
|
|
7388
|
+
/** @description Maximum number of items to return per page. */
|
|
7180
7389
|
limit?: number;
|
|
7181
|
-
/** @description
|
|
7390
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
7182
7391
|
cursor?: string;
|
|
7183
7392
|
};
|
|
7184
7393
|
header?: never;
|
|
@@ -7196,7 +7405,7 @@ interface operations {
|
|
|
7196
7405
|
[name: string]: unknown;
|
|
7197
7406
|
};
|
|
7198
7407
|
content: {
|
|
7199
|
-
"application/json": components["schemas"]["
|
|
7408
|
+
"application/json": components["schemas"]["ProjectCollaboratorPage"];
|
|
7200
7409
|
};
|
|
7201
7410
|
};
|
|
7202
7411
|
/** @description Error */
|
|
@@ -7347,7 +7556,7 @@ interface operations {
|
|
|
7347
7556
|
};
|
|
7348
7557
|
};
|
|
7349
7558
|
};
|
|
7350
|
-
|
|
7559
|
+
createEmbedUrl: {
|
|
7351
7560
|
parameters: {
|
|
7352
7561
|
query?: never;
|
|
7353
7562
|
header?: never;
|
|
@@ -7359,17 +7568,17 @@ interface operations {
|
|
|
7359
7568
|
};
|
|
7360
7569
|
requestBody: {
|
|
7361
7570
|
content: {
|
|
7362
|
-
"application/json": components["schemas"]["
|
|
7571
|
+
"application/json": components["schemas"]["CreateEmbedURLRequest"];
|
|
7363
7572
|
};
|
|
7364
7573
|
};
|
|
7365
7574
|
responses: {
|
|
7366
|
-
/** @description
|
|
7575
|
+
/** @description Embed URL created. The token expires after one hour. */
|
|
7367
7576
|
200: {
|
|
7368
7577
|
headers: {
|
|
7369
7578
|
[name: string]: unknown;
|
|
7370
7579
|
};
|
|
7371
7580
|
content: {
|
|
7372
|
-
"application/json": components["schemas"]["
|
|
7581
|
+
"application/json": components["schemas"]["CreateEmbedURLResponse"];
|
|
7373
7582
|
};
|
|
7374
7583
|
};
|
|
7375
7584
|
/** @description Error */
|
|
@@ -7715,12 +7924,12 @@ interface operations {
|
|
|
7715
7924
|
};
|
|
7716
7925
|
};
|
|
7717
7926
|
};
|
|
7718
|
-
|
|
7927
|
+
listPiiLabels: {
|
|
7719
7928
|
parameters: {
|
|
7720
7929
|
query?: {
|
|
7721
|
-
/** @description
|
|
7930
|
+
/** @description Maximum number of items to return per page. */
|
|
7722
7931
|
limit?: number;
|
|
7723
|
-
/** @description
|
|
7932
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
7724
7933
|
cursor?: string;
|
|
7725
7934
|
};
|
|
7726
7935
|
header?: never;
|
|
@@ -7738,7 +7947,7 @@ interface operations {
|
|
|
7738
7947
|
[name: string]: unknown;
|
|
7739
7948
|
};
|
|
7740
7949
|
content: {
|
|
7741
|
-
"application/json": components["schemas"]["
|
|
7950
|
+
"application/json": components["schemas"]["PiiLabelPage"];
|
|
7742
7951
|
};
|
|
7743
7952
|
};
|
|
7744
7953
|
/** @description Error */
|
|
@@ -7752,7 +7961,7 @@ interface operations {
|
|
|
7752
7961
|
};
|
|
7753
7962
|
};
|
|
7754
7963
|
};
|
|
7755
|
-
|
|
7964
|
+
publishProject: {
|
|
7756
7965
|
parameters: {
|
|
7757
7966
|
query?: never;
|
|
7758
7967
|
header?: never;
|
|
@@ -7764,26 +7973,18 @@ interface operations {
|
|
|
7764
7973
|
};
|
|
7765
7974
|
requestBody: {
|
|
7766
7975
|
content: {
|
|
7767
|
-
"application/json": components["schemas"]["
|
|
7976
|
+
"application/json": components["schemas"]["PublishProjectRequest"];
|
|
7768
7977
|
};
|
|
7769
7978
|
};
|
|
7770
7979
|
responses: {
|
|
7771
|
-
/** @description
|
|
7772
|
-
200: {
|
|
7773
|
-
headers: {
|
|
7774
|
-
[name: string]: unknown;
|
|
7775
|
-
};
|
|
7776
|
-
content: {
|
|
7777
|
-
"application/json": components["schemas"]["PublicV1PublishProjectResponse"];
|
|
7778
|
-
};
|
|
7779
|
-
};
|
|
7780
|
-
/** @description Accepted */
|
|
7980
|
+
/** @description Deployment started. Poll GET /v1/projects/{project_id}/publish/{deployment_id} (the Location header) with the returned deployment_id until deployment finishes. */
|
|
7781
7981
|
202: {
|
|
7782
7982
|
headers: {
|
|
7983
|
+
Location?: string;
|
|
7783
7984
|
[name: string]: unknown;
|
|
7784
7985
|
};
|
|
7785
7986
|
content: {
|
|
7786
|
-
"application/json": components["schemas"]["
|
|
7987
|
+
"application/json": components["schemas"]["PublishProjectResponse"];
|
|
7787
7988
|
};
|
|
7788
7989
|
};
|
|
7789
7990
|
/** @description Error */
|
|
@@ -7797,7 +7998,7 @@ interface operations {
|
|
|
7797
7998
|
};
|
|
7798
7999
|
};
|
|
7799
8000
|
};
|
|
7800
|
-
|
|
8001
|
+
updatePublishSettings: {
|
|
7801
8002
|
parameters: {
|
|
7802
8003
|
query?: never;
|
|
7803
8004
|
header?: never;
|
|
@@ -7809,7 +8010,7 @@ interface operations {
|
|
|
7809
8010
|
};
|
|
7810
8011
|
requestBody: {
|
|
7811
8012
|
content: {
|
|
7812
|
-
"application/json": components["schemas"]["
|
|
8013
|
+
"application/json": components["schemas"]["UpdatePublishSettingsRequest"];
|
|
7813
8014
|
};
|
|
7814
8015
|
};
|
|
7815
8016
|
responses: {
|
|
@@ -7819,7 +8020,7 @@ interface operations {
|
|
|
7819
8020
|
[name: string]: unknown;
|
|
7820
8021
|
};
|
|
7821
8022
|
content: {
|
|
7822
|
-
"application/json": components["schemas"]["
|
|
8023
|
+
"application/json": components["schemas"]["PublishSettings"];
|
|
7823
8024
|
};
|
|
7824
8025
|
};
|
|
7825
8026
|
/** @description Error */
|
|
@@ -7833,7 +8034,7 @@ interface operations {
|
|
|
7833
8034
|
};
|
|
7834
8035
|
};
|
|
7835
8036
|
};
|
|
7836
|
-
|
|
8037
|
+
getDeployment: {
|
|
7837
8038
|
parameters: {
|
|
7838
8039
|
query?: never;
|
|
7839
8040
|
header?: never;
|
|
@@ -7853,7 +8054,7 @@ interface operations {
|
|
|
7853
8054
|
[name: string]: unknown;
|
|
7854
8055
|
};
|
|
7855
8056
|
content: {
|
|
7856
|
-
"application/json": components["schemas"]["
|
|
8057
|
+
"application/json": components["schemas"]["Deployment"];
|
|
7857
8058
|
};
|
|
7858
8059
|
};
|
|
7859
8060
|
/** @description Error */
|
|
@@ -7938,12 +8139,12 @@ interface operations {
|
|
|
7938
8139
|
};
|
|
7939
8140
|
};
|
|
7940
8141
|
};
|
|
7941
|
-
|
|
8142
|
+
listSecurityScans: {
|
|
7942
8143
|
parameters: {
|
|
7943
8144
|
query?: {
|
|
7944
|
-
/** @description
|
|
8145
|
+
/** @description Maximum number of items to return per page. */
|
|
7945
8146
|
limit?: number;
|
|
7946
|
-
/** @description
|
|
8147
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
7947
8148
|
cursor?: string;
|
|
7948
8149
|
};
|
|
7949
8150
|
header?: never;
|
|
@@ -7961,7 +8162,7 @@ interface operations {
|
|
|
7961
8162
|
[name: string]: unknown;
|
|
7962
8163
|
};
|
|
7963
8164
|
content: {
|
|
7964
|
-
"application/json": components["schemas"]["
|
|
8165
|
+
"application/json": components["schemas"]["SecurityScanPage"];
|
|
7965
8166
|
};
|
|
7966
8167
|
};
|
|
7967
8168
|
/** @description Error */
|
|
@@ -7975,7 +8176,7 @@ interface operations {
|
|
|
7975
8176
|
};
|
|
7976
8177
|
};
|
|
7977
8178
|
};
|
|
7978
|
-
|
|
8179
|
+
triggerSecurityScan: {
|
|
7979
8180
|
parameters: {
|
|
7980
8181
|
query?: never;
|
|
7981
8182
|
header?: never;
|
|
@@ -7987,13 +8188,14 @@ interface operations {
|
|
|
7987
8188
|
};
|
|
7988
8189
|
requestBody?: never;
|
|
7989
8190
|
responses: {
|
|
7990
|
-
/** @description
|
|
7991
|
-
|
|
8191
|
+
/** @description Scan request accepted. scan_id identifies the new scan, or the reused in-progress or completed scan (see status). Poll GET /v1/projects/{project_id}/security-scans/{scan_id} (the Location header) for results. */
|
|
8192
|
+
202: {
|
|
7992
8193
|
headers: {
|
|
8194
|
+
Location?: string;
|
|
7993
8195
|
[name: string]: unknown;
|
|
7994
8196
|
};
|
|
7995
8197
|
content: {
|
|
7996
|
-
"application/json": components["schemas"]["
|
|
8198
|
+
"application/json": components["schemas"]["TriggerSecurityScanResponse"];
|
|
7997
8199
|
};
|
|
7998
8200
|
};
|
|
7999
8201
|
/** @description Error */
|
|
@@ -8007,14 +8209,14 @@ interface operations {
|
|
|
8007
8209
|
};
|
|
8008
8210
|
};
|
|
8009
8211
|
};
|
|
8010
|
-
|
|
8212
|
+
getSecurityScan: {
|
|
8011
8213
|
parameters: {
|
|
8012
8214
|
query?: never;
|
|
8013
8215
|
header?: never;
|
|
8014
8216
|
path: {
|
|
8015
8217
|
/** @description Project ID */
|
|
8016
8218
|
project_id: string;
|
|
8017
|
-
/** @description
|
|
8219
|
+
/** @description Security scan ID returned by the list or trigger endpoint. */
|
|
8018
8220
|
scan_id: string;
|
|
8019
8221
|
};
|
|
8020
8222
|
cookie?: never;
|
|
@@ -8027,7 +8229,7 @@ interface operations {
|
|
|
8027
8229
|
[name: string]: unknown;
|
|
8028
8230
|
};
|
|
8029
8231
|
content: {
|
|
8030
|
-
"application/json": components["schemas"]["
|
|
8232
|
+
"application/json": components["schemas"]["SecurityScanDetail"];
|
|
8031
8233
|
};
|
|
8032
8234
|
};
|
|
8033
8235
|
/** @description Error */
|
|
@@ -8188,7 +8390,7 @@ interface operations {
|
|
|
8188
8390
|
};
|
|
8189
8391
|
};
|
|
8190
8392
|
};
|
|
8191
|
-
|
|
8393
|
+
getRemixJob: {
|
|
8192
8394
|
parameters: {
|
|
8193
8395
|
query?: never;
|
|
8194
8396
|
header?: never;
|
|
@@ -8206,7 +8408,7 @@ interface operations {
|
|
|
8206
8408
|
[name: string]: unknown;
|
|
8207
8409
|
};
|
|
8208
8410
|
content: {
|
|
8209
|
-
"application/json": components["schemas"]["
|
|
8411
|
+
"application/json": components["schemas"]["RemixJob"];
|
|
8210
8412
|
};
|
|
8211
8413
|
};
|
|
8212
8414
|
/** @description Error */
|
|
@@ -8225,9 +8427,9 @@ interface operations {
|
|
|
8225
8427
|
query: {
|
|
8226
8428
|
/** @description Project ID */
|
|
8227
8429
|
project_id: string;
|
|
8228
|
-
/** @description
|
|
8430
|
+
/** @description Maximum number of items to return per page. */
|
|
8229
8431
|
limit?: number;
|
|
8230
|
-
/** @description
|
|
8432
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8231
8433
|
cursor?: string;
|
|
8232
8434
|
};
|
|
8233
8435
|
header?: never;
|
|
@@ -8242,7 +8444,7 @@ interface operations {
|
|
|
8242
8444
|
[name: string]: unknown;
|
|
8243
8445
|
};
|
|
8244
8446
|
content: {
|
|
8245
|
-
"application/json": components["schemas"]["
|
|
8447
|
+
"application/json": components["schemas"]["SecurityScanPage"];
|
|
8246
8448
|
};
|
|
8247
8449
|
};
|
|
8248
8450
|
/** @description Error */
|
|
@@ -8272,10 +8474,11 @@ interface operations {
|
|
|
8272
8474
|
/** @description OK */
|
|
8273
8475
|
200: {
|
|
8274
8476
|
headers: {
|
|
8477
|
+
Location?: string;
|
|
8275
8478
|
[name: string]: unknown;
|
|
8276
8479
|
};
|
|
8277
8480
|
content: {
|
|
8278
|
-
"application/json": components["schemas"]["
|
|
8481
|
+
"application/json": components["schemas"]["TriggerSecurityScanResponse"];
|
|
8279
8482
|
};
|
|
8280
8483
|
};
|
|
8281
8484
|
/** @description Error */
|
|
@@ -8297,7 +8500,7 @@ interface operations {
|
|
|
8297
8500
|
};
|
|
8298
8501
|
header?: never;
|
|
8299
8502
|
path: {
|
|
8300
|
-
/** @description
|
|
8503
|
+
/** @description Security scan ID returned by the list or trigger endpoint. */
|
|
8301
8504
|
scan_id: string;
|
|
8302
8505
|
};
|
|
8303
8506
|
cookie?: never;
|
|
@@ -8310,7 +8513,7 @@ interface operations {
|
|
|
8310
8513
|
[name: string]: unknown;
|
|
8311
8514
|
};
|
|
8312
8515
|
content: {
|
|
8313
|
-
"application/json": components["schemas"]["
|
|
8516
|
+
"application/json": components["schemas"]["SecurityScanDetail"];
|
|
8314
8517
|
};
|
|
8315
8518
|
};
|
|
8316
8519
|
/** @description Error */
|
|
@@ -8342,7 +8545,7 @@ interface operations {
|
|
|
8342
8545
|
[name: string]: unknown;
|
|
8343
8546
|
};
|
|
8344
8547
|
content: {
|
|
8345
|
-
"application/json": components["schemas"]["
|
|
8548
|
+
"application/json": components["schemas"]["WorkspaceSettings"];
|
|
8346
8549
|
};
|
|
8347
8550
|
};
|
|
8348
8551
|
/** @description Error */
|
|
@@ -8375,7 +8578,7 @@ interface operations {
|
|
|
8375
8578
|
[name: string]: unknown;
|
|
8376
8579
|
};
|
|
8377
8580
|
content: {
|
|
8378
|
-
"application/json": components["schemas"]["
|
|
8581
|
+
"application/json": components["schemas"]["WorkspaceSettings"];
|
|
8379
8582
|
};
|
|
8380
8583
|
};
|
|
8381
8584
|
/** @description Error */
|
|
@@ -8394,9 +8597,9 @@ interface operations {
|
|
|
8394
8597
|
query: {
|
|
8395
8598
|
/** @description Project ID */
|
|
8396
8599
|
project_id: string;
|
|
8397
|
-
/** @description Maximum number of items to return */
|
|
8600
|
+
/** @description Maximum number of items to return per page. */
|
|
8398
8601
|
limit?: number;
|
|
8399
|
-
/** @description
|
|
8602
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8400
8603
|
cursor?: string;
|
|
8401
8604
|
};
|
|
8402
8605
|
header?: never;
|
|
@@ -8472,9 +8675,9 @@ interface operations {
|
|
|
8472
8675
|
sort_order?: "asc" | "desc";
|
|
8473
8676
|
/** @description Membership status filter. Default excludes pending invites since they have no usage yet. */
|
|
8474
8677
|
status?: "active" | "pending" | "all";
|
|
8475
|
-
/** @description Maximum number of items to return */
|
|
8678
|
+
/** @description Maximum number of items to return per page. */
|
|
8476
8679
|
limit?: number;
|
|
8477
|
-
/** @description
|
|
8680
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8478
8681
|
cursor?: string;
|
|
8479
8682
|
};
|
|
8480
8683
|
header?: never;
|
|
@@ -8546,9 +8749,9 @@ interface operations {
|
|
|
8546
8749
|
end_date?: string;
|
|
8547
8750
|
/** @description Filter credits to All, Build, or Run. */
|
|
8548
8751
|
category?: "all" | "build" | "run";
|
|
8549
|
-
/** @description Maximum number of items to return */
|
|
8752
|
+
/** @description Maximum number of items to return per page. */
|
|
8550
8753
|
limit?: number;
|
|
8551
|
-
/** @description
|
|
8754
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8552
8755
|
cursor?: string;
|
|
8553
8756
|
};
|
|
8554
8757
|
header?: never;
|
|
@@ -8594,9 +8797,9 @@ interface operations {
|
|
|
8594
8797
|
project_id?: string;
|
|
8595
8798
|
/** @description Optional: restrict the series to a single member's usage. */
|
|
8596
8799
|
user_id?: string;
|
|
8597
|
-
/** @description Maximum number of items to return */
|
|
8800
|
+
/** @description Maximum number of items to return per page. */
|
|
8598
8801
|
limit?: number;
|
|
8599
|
-
/** @description
|
|
8802
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8600
8803
|
cursor?: string;
|
|
8601
8804
|
};
|
|
8602
8805
|
header?: never;
|
|
@@ -8625,12 +8828,12 @@ interface operations {
|
|
|
8625
8828
|
};
|
|
8626
8829
|
};
|
|
8627
8830
|
};
|
|
8628
|
-
|
|
8831
|
+
listWorkspaces: {
|
|
8629
8832
|
parameters: {
|
|
8630
8833
|
query?: {
|
|
8631
|
-
/** @description Maximum number of items to return */
|
|
8834
|
+
/** @description Maximum number of items to return per page. */
|
|
8632
8835
|
limit?: number;
|
|
8633
|
-
/** @description
|
|
8836
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8634
8837
|
cursor?: string;
|
|
8635
8838
|
};
|
|
8636
8839
|
header?: never;
|
|
@@ -8645,7 +8848,7 @@ interface operations {
|
|
|
8645
8848
|
[name: string]: unknown;
|
|
8646
8849
|
};
|
|
8647
8850
|
content: {
|
|
8648
|
-
"application/json": components["schemas"]["
|
|
8851
|
+
"application/json": components["schemas"]["WorkspacePage"];
|
|
8649
8852
|
};
|
|
8650
8853
|
};
|
|
8651
8854
|
/** @description Error */
|
|
@@ -8659,7 +8862,7 @@ interface operations {
|
|
|
8659
8862
|
};
|
|
8660
8863
|
};
|
|
8661
8864
|
};
|
|
8662
|
-
|
|
8865
|
+
getWorkspace: {
|
|
8663
8866
|
parameters: {
|
|
8664
8867
|
query?: never;
|
|
8665
8868
|
header?: never;
|
|
@@ -8677,7 +8880,7 @@ interface operations {
|
|
|
8677
8880
|
[name: string]: unknown;
|
|
8678
8881
|
};
|
|
8679
8882
|
content: {
|
|
8680
|
-
"application/json": components["schemas"]["
|
|
8883
|
+
"application/json": components["schemas"]["GetWorkspaceResponse"];
|
|
8681
8884
|
};
|
|
8682
8885
|
};
|
|
8683
8886
|
/** @description Error */
|
|
@@ -8691,14 +8894,20 @@ interface operations {
|
|
|
8691
8894
|
};
|
|
8692
8895
|
};
|
|
8693
8896
|
};
|
|
8694
|
-
|
|
8897
|
+
getWorkspaceAnalytics: {
|
|
8695
8898
|
parameters: {
|
|
8696
|
-
query
|
|
8697
|
-
/**
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8899
|
+
query: {
|
|
8900
|
+
/**
|
|
8901
|
+
* @description Required start of the date range in RFC 3339 format. Use a UTC timestamp ending in Z, such as 2026-07-01T00:00:00Z.
|
|
8902
|
+
* @example 2026-07-01T00:00:00Z
|
|
8903
|
+
*/
|
|
8904
|
+
start_date: string;
|
|
8905
|
+
/**
|
|
8906
|
+
* @description Required end of the date range in RFC 3339 format. Use a UTC timestamp ending in Z, such as 2026-07-08T00:00:00Z.
|
|
8907
|
+
* @example 2026-07-08T00:00:00Z
|
|
8908
|
+
*/
|
|
8909
|
+
end_date: string;
|
|
8910
|
+
/** @description Time-bucket size. Whole-date buckets include start_date and end_date; sub-day buckets use the supplied times inclusively and support at most 31 days. */
|
|
8702
8911
|
granularity?: "hourly" | "daily";
|
|
8703
8912
|
};
|
|
8704
8913
|
header?: never;
|
|
@@ -8716,7 +8925,7 @@ interface operations {
|
|
|
8716
8925
|
[name: string]: unknown;
|
|
8717
8926
|
};
|
|
8718
8927
|
content: {
|
|
8719
|
-
"application/json": components["schemas"]["
|
|
8928
|
+
"application/json": components["schemas"]["WorkspaceAnalytics"];
|
|
8720
8929
|
};
|
|
8721
8930
|
};
|
|
8722
8931
|
/** @description Error */
|
|
@@ -8841,7 +9050,7 @@ interface operations {
|
|
|
8841
9050
|
};
|
|
8842
9051
|
};
|
|
8843
9052
|
};
|
|
8844
|
-
|
|
9053
|
+
getCreditBalance: {
|
|
8845
9054
|
parameters: {
|
|
8846
9055
|
query?: never;
|
|
8847
9056
|
header?: never;
|
|
@@ -8859,7 +9068,7 @@ interface operations {
|
|
|
8859
9068
|
[name: string]: unknown;
|
|
8860
9069
|
};
|
|
8861
9070
|
content: {
|
|
8862
|
-
"application/json": components["schemas"]["
|
|
9071
|
+
"application/json": components["schemas"]["CreditBalance"];
|
|
8863
9072
|
};
|
|
8864
9073
|
};
|
|
8865
9074
|
/** @description Error */
|
|
@@ -8873,14 +9082,14 @@ interface operations {
|
|
|
8873
9082
|
};
|
|
8874
9083
|
};
|
|
8875
9084
|
};
|
|
8876
|
-
|
|
9085
|
+
listCreditHistory: {
|
|
8877
9086
|
parameters: {
|
|
8878
9087
|
query?: {
|
|
8879
9088
|
/** @description Filter to one or more event types. Repeat to include multiple; omit for all. */
|
|
8880
9089
|
event_type?: ("granted" | "expired" | "adjustment" | "converted")[] | null;
|
|
8881
|
-
/** @description Maximum number of items to return */
|
|
9090
|
+
/** @description Maximum number of items to return per page. */
|
|
8882
9091
|
limit?: number;
|
|
8883
|
-
/** @description
|
|
9092
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8884
9093
|
cursor?: string;
|
|
8885
9094
|
};
|
|
8886
9095
|
header?: never;
|
|
@@ -8898,7 +9107,7 @@ interface operations {
|
|
|
8898
9107
|
[name: string]: unknown;
|
|
8899
9108
|
};
|
|
8900
9109
|
content: {
|
|
8901
|
-
"application/json": components["schemas"]["
|
|
9110
|
+
"application/json": components["schemas"]["CreditHistoryPage"];
|
|
8902
9111
|
};
|
|
8903
9112
|
};
|
|
8904
9113
|
/** @description Error */
|
|
@@ -8912,12 +9121,12 @@ interface operations {
|
|
|
8912
9121
|
};
|
|
8913
9122
|
};
|
|
8914
9123
|
};
|
|
8915
|
-
|
|
9124
|
+
listCreditLimits: {
|
|
8916
9125
|
parameters: {
|
|
8917
9126
|
query?: {
|
|
8918
|
-
/** @description Maximum
|
|
9127
|
+
/** @description Maximum number of items to return per page. */
|
|
8919
9128
|
limit?: number;
|
|
8920
|
-
/** @description
|
|
9129
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
8921
9130
|
cursor?: string;
|
|
8922
9131
|
};
|
|
8923
9132
|
header?: never;
|
|
@@ -8935,7 +9144,7 @@ interface operations {
|
|
|
8935
9144
|
[name: string]: unknown;
|
|
8936
9145
|
};
|
|
8937
9146
|
content: {
|
|
8938
|
-
"application/json": components["schemas"]["
|
|
9147
|
+
"application/json": components["schemas"]["CreditLimitPage"];
|
|
8939
9148
|
};
|
|
8940
9149
|
};
|
|
8941
9150
|
/** @description Error */
|
|
@@ -8949,7 +9158,7 @@ interface operations {
|
|
|
8949
9158
|
};
|
|
8950
9159
|
};
|
|
8951
9160
|
};
|
|
8952
|
-
|
|
9161
|
+
setCreditLimits: {
|
|
8953
9162
|
parameters: {
|
|
8954
9163
|
query?: never;
|
|
8955
9164
|
header?: never;
|
|
@@ -8961,7 +9170,7 @@ interface operations {
|
|
|
8961
9170
|
};
|
|
8962
9171
|
requestBody: {
|
|
8963
9172
|
content: {
|
|
8964
|
-
"application/json": components["schemas"]["
|
|
9173
|
+
"application/json": components["schemas"]["SetMemberCreditLimitsRequest"];
|
|
8965
9174
|
};
|
|
8966
9175
|
};
|
|
8967
9176
|
responses: {
|
|
@@ -8971,7 +9180,7 @@ interface operations {
|
|
|
8971
9180
|
[name: string]: unknown;
|
|
8972
9181
|
};
|
|
8973
9182
|
content: {
|
|
8974
|
-
"application/json": components["schemas"]["
|
|
9183
|
+
"application/json": components["schemas"]["SetMemberCreditLimitsResponse"];
|
|
8975
9184
|
};
|
|
8976
9185
|
};
|
|
8977
9186
|
/** @description Every member failed; same per-member response body as 200 */
|
|
@@ -8980,7 +9189,7 @@ interface operations {
|
|
|
8980
9189
|
[name: string]: unknown;
|
|
8981
9190
|
};
|
|
8982
9191
|
content: {
|
|
8983
|
-
"application/json": components["schemas"]["
|
|
9192
|
+
"application/json": components["schemas"]["SetMemberCreditLimitsResponse"];
|
|
8984
9193
|
};
|
|
8985
9194
|
};
|
|
8986
9195
|
/** @description Error */
|
|
@@ -8994,26 +9203,26 @@ interface operations {
|
|
|
8994
9203
|
};
|
|
8995
9204
|
};
|
|
8996
9205
|
};
|
|
8997
|
-
|
|
9206
|
+
getCreditUsage: {
|
|
8998
9207
|
parameters: {
|
|
8999
9208
|
query: {
|
|
9000
|
-
/** @description Group
|
|
9209
|
+
/** @description Group usage over the requested window. Omit both group_by and interval for one aggregate row. Cannot be combined with interval. */
|
|
9001
9210
|
group_by?: "member" | "project";
|
|
9002
|
-
/** @description
|
|
9211
|
+
/** @description Time-bucket size in UTC. Weeks start Monday and months follow the calendar. Maximum windows are 400 days for daily buckets, 1100 days for weekly buckets, and 3660 days for monthly buckets. Cannot be combined with group_by. */
|
|
9003
9212
|
interval?: "day" | "week" | "month";
|
|
9004
9213
|
/** @description Required inclusive start (UTC day). */
|
|
9005
9214
|
start_date: string;
|
|
9006
9215
|
/** @description Inclusive end (UTC day). Defaults to today (UTC). */
|
|
9007
9216
|
end_date?: string;
|
|
9008
|
-
/** @description Filter
|
|
9217
|
+
/** @description Filter usage by spend category. App-creation usage covers creating and editing apps in Lovable; deployed-app usage covers services such as AI, compute, storage, and databases. Omit to include both. */
|
|
9009
9218
|
category?: "all" | "build" | "run";
|
|
9010
9219
|
/** @description Optional: restrict to a single project's usage. */
|
|
9011
9220
|
project_id?: string;
|
|
9012
9221
|
/** @description Optional: restrict to a single member's usage. Pass 'me' for the calling user; queries not restricted to the caller require workspace admin permission. */
|
|
9013
9222
|
user_id?: string;
|
|
9014
|
-
/** @description Maximum number of items to return */
|
|
9223
|
+
/** @description Maximum number of items to return per page. */
|
|
9015
9224
|
limit?: number;
|
|
9016
|
-
/** @description
|
|
9225
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9017
9226
|
cursor?: string;
|
|
9018
9227
|
};
|
|
9019
9228
|
header?: never;
|
|
@@ -9031,7 +9240,7 @@ interface operations {
|
|
|
9031
9240
|
[name: string]: unknown;
|
|
9032
9241
|
};
|
|
9033
9242
|
content: {
|
|
9034
|
-
"application/json": components["schemas"]["
|
|
9243
|
+
"application/json": components["schemas"]["CreditUsagePage"];
|
|
9035
9244
|
};
|
|
9036
9245
|
};
|
|
9037
9246
|
/** @description Error */
|
|
@@ -9063,7 +9272,7 @@ interface operations {
|
|
|
9063
9272
|
[name: string]: unknown;
|
|
9064
9273
|
};
|
|
9065
9274
|
content: {
|
|
9066
|
-
"application/json": components["schemas"]["
|
|
9275
|
+
"application/json": components["schemas"]["CreditBalance"];
|
|
9067
9276
|
};
|
|
9068
9277
|
};
|
|
9069
9278
|
/** @description Error */
|
|
@@ -9080,23 +9289,23 @@ interface operations {
|
|
|
9080
9289
|
"get-v1-workspaces-workspace_id-billing-usage": {
|
|
9081
9290
|
parameters: {
|
|
9082
9291
|
query: {
|
|
9083
|
-
/** @description Group
|
|
9292
|
+
/** @description Group usage over the requested window. Omit both group_by and interval for one aggregate row. Cannot be combined with interval. */
|
|
9084
9293
|
group_by?: "member" | "project";
|
|
9085
|
-
/** @description
|
|
9294
|
+
/** @description Time-bucket size in UTC. Weeks start Monday and months follow the calendar. Maximum windows are 400 days for daily buckets, 1100 days for weekly buckets, and 3660 days for monthly buckets. Cannot be combined with group_by. */
|
|
9086
9295
|
interval?: "day" | "week" | "month";
|
|
9087
9296
|
/** @description Required inclusive start (UTC day). */
|
|
9088
9297
|
start_date: string;
|
|
9089
9298
|
/** @description Inclusive end (UTC day). Defaults to today (UTC). */
|
|
9090
9299
|
end_date?: string;
|
|
9091
|
-
/** @description Filter
|
|
9300
|
+
/** @description Filter usage by spend category. App-creation usage covers creating and editing apps in Lovable; deployed-app usage covers services such as AI, compute, storage, and databases. Omit to include both. */
|
|
9092
9301
|
category?: "all" | "build" | "run";
|
|
9093
9302
|
/** @description Optional: restrict to a single project's usage. */
|
|
9094
9303
|
project_id?: string;
|
|
9095
9304
|
/** @description Optional: restrict to a single member's usage. Pass 'me' for the calling user; queries not restricted to the caller require workspace admin permission. */
|
|
9096
9305
|
user_id?: string;
|
|
9097
|
-
/** @description Maximum number of items to return */
|
|
9306
|
+
/** @description Maximum number of items to return per page. */
|
|
9098
9307
|
limit?: number;
|
|
9099
|
-
/** @description
|
|
9308
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9100
9309
|
cursor?: string;
|
|
9101
9310
|
};
|
|
9102
9311
|
header?: never;
|
|
@@ -9114,7 +9323,7 @@ interface operations {
|
|
|
9114
9323
|
[name: string]: unknown;
|
|
9115
9324
|
};
|
|
9116
9325
|
content: {
|
|
9117
|
-
"application/json": components["schemas"]["
|
|
9326
|
+
"application/json": components["schemas"]["CreditUsagePage"];
|
|
9118
9327
|
};
|
|
9119
9328
|
};
|
|
9120
9329
|
/** @description Error */
|
|
@@ -9498,12 +9707,12 @@ interface operations {
|
|
|
9498
9707
|
};
|
|
9499
9708
|
};
|
|
9500
9709
|
};
|
|
9501
|
-
|
|
9710
|
+
listWorkspaceGroups: {
|
|
9502
9711
|
parameters: {
|
|
9503
9712
|
query?: {
|
|
9504
|
-
/** @description Maximum number of items to return */
|
|
9713
|
+
/** @description Maximum number of items to return per page. */
|
|
9505
9714
|
limit?: number;
|
|
9506
|
-
/** @description
|
|
9715
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9507
9716
|
cursor?: string;
|
|
9508
9717
|
};
|
|
9509
9718
|
header?: never;
|
|
@@ -9521,7 +9730,7 @@ interface operations {
|
|
|
9521
9730
|
[name: string]: unknown;
|
|
9522
9731
|
};
|
|
9523
9732
|
content: {
|
|
9524
|
-
"application/json": components["schemas"]["
|
|
9733
|
+
"application/json": components["schemas"]["WorkspaceGroupPage"];
|
|
9525
9734
|
};
|
|
9526
9735
|
};
|
|
9527
9736
|
/** @description Error */
|
|
@@ -9603,26 +9812,26 @@ interface operations {
|
|
|
9603
9812
|
};
|
|
9604
9813
|
};
|
|
9605
9814
|
};
|
|
9606
|
-
|
|
9815
|
+
listWorkspaceMembers: {
|
|
9607
9816
|
parameters: {
|
|
9608
9817
|
query?: {
|
|
9609
|
-
/** @description Maximum
|
|
9818
|
+
/** @description Maximum number of items to return per page. */
|
|
9610
9819
|
limit?: number;
|
|
9611
|
-
/** @description
|
|
9820
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9612
9821
|
cursor?: string;
|
|
9613
|
-
/** @description
|
|
9822
|
+
/** @description Search by display name, username, or email. Each search term of at least 3 characters must match at least one of these fields; shorter terms are ignored. */
|
|
9614
9823
|
query?: string;
|
|
9615
|
-
/** @description Comma-separated role filter.
|
|
9824
|
+
/** @description Comma-separated workspace role filter. Omit to include every role. Unknown roles return 400. */
|
|
9616
9825
|
roles?: string;
|
|
9617
|
-
/** @description Filter by membership status.
|
|
9826
|
+
/** @description Filter by membership status. Pending invites are excluded by default. */
|
|
9618
9827
|
status?: "all" | "active" | "pending";
|
|
9619
|
-
/** @description Sort field.
|
|
9828
|
+
/** @description Sort field. With a search query, results default to best matches first. Otherwise, members are ordered by role precedence, then most recently joined or invited. */
|
|
9620
9829
|
sort_by?: "name" | "joined_at" | "role" | "relevance";
|
|
9621
|
-
/** @description
|
|
9830
|
+
/** @description Direction for an explicit sort field. Defaults to descending. Ignored for the default order and relevance sorting. */
|
|
9622
9831
|
sort_order?: "asc" | "desc";
|
|
9623
|
-
/** @description Filter by
|
|
9832
|
+
/** @description Filter by identity-provider provisioning through SCIM (System for Cross-domain Identity Management). Omit to include members regardless of provisioning method. */
|
|
9624
9833
|
scim_managed?: "managed" | "unmanaged";
|
|
9625
|
-
/** @description
|
|
9834
|
+
/** @description Optional additional member details. Set include=groups to include group memberships; otherwise groups is omitted. Unknown values return 400. Unrecognized query parameter names on any endpoint are ignored and listed in the X-Lovable-Unknown-Query-Params response header. */
|
|
9626
9835
|
include?: string;
|
|
9627
9836
|
};
|
|
9628
9837
|
header?: never;
|
|
@@ -9640,7 +9849,7 @@ interface operations {
|
|
|
9640
9849
|
[name: string]: unknown;
|
|
9641
9850
|
};
|
|
9642
9851
|
content: {
|
|
9643
|
-
"application/json": components["schemas"]["
|
|
9852
|
+
"application/json": components["schemas"]["WorkspaceMemberPage"];
|
|
9644
9853
|
};
|
|
9645
9854
|
};
|
|
9646
9855
|
/** @description Error */
|
|
@@ -9657,6 +9866,8 @@ interface operations {
|
|
|
9657
9866
|
"get-v1-workspaces-workspace_id-projects": {
|
|
9658
9867
|
parameters: {
|
|
9659
9868
|
query?: {
|
|
9869
|
+
/** @description Match visible project titles and order by relevance; acknowledged by title_search in the response */
|
|
9870
|
+
title_search?: boolean;
|
|
9660
9871
|
/** @description Include per-project risk rollup fields (risk_score, risk_level, signals, reasons). Honored only for workspaces with the risk read surface enabled; ignored otherwise. Off by default so the default project list avoids the risk-table joins. */
|
|
9661
9872
|
include_risk?: boolean;
|
|
9662
9873
|
/** @description Skip computing the total: total is returned as -1; has_more still reports whether more results exist. Use for list UIs that paginate on has_more. */
|
|
@@ -9755,17 +9966,15 @@ interface operations {
|
|
|
9755
9966
|
};
|
|
9756
9967
|
};
|
|
9757
9968
|
};
|
|
9758
|
-
|
|
9969
|
+
getSecurityInsights: {
|
|
9759
9970
|
parameters: {
|
|
9760
9971
|
query?: {
|
|
9761
|
-
/** @description Repeat to
|
|
9972
|
+
/** @description Filter finding types by review priority. Repeat to include any of the specified priorities; omit to include all. Only findings are filtered; summary counts remain workspace-wide. */
|
|
9762
9973
|
review_priority?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
|
|
9763
|
-
/** @description Deprecated (ENT-3348): alias for review_priority; values from both parameters are combined. */
|
|
9764
|
-
severity?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
|
|
9765
9974
|
};
|
|
9766
9975
|
header?: never;
|
|
9767
9976
|
path: {
|
|
9768
|
-
/** @description
|
|
9977
|
+
/** @description ID of the workspace to retrieve security insights for. */
|
|
9769
9978
|
workspace_id: string;
|
|
9770
9979
|
};
|
|
9771
9980
|
cookie?: never;
|
|
@@ -9778,7 +9987,7 @@ interface operations {
|
|
|
9778
9987
|
[name: string]: unknown;
|
|
9779
9988
|
};
|
|
9780
9989
|
content: {
|
|
9781
|
-
"application/json": components["schemas"]["
|
|
9990
|
+
"application/json": components["schemas"]["WorkspaceInsights"];
|
|
9782
9991
|
};
|
|
9783
9992
|
};
|
|
9784
9993
|
/** @description Error */
|
|
@@ -9792,32 +10001,32 @@ interface operations {
|
|
|
9792
10001
|
};
|
|
9793
10002
|
};
|
|
9794
10003
|
};
|
|
9795
|
-
|
|
10004
|
+
listSecurityInsightProjects: {
|
|
9796
10005
|
parameters: {
|
|
9797
10006
|
query?: {
|
|
9798
|
-
/** @description
|
|
10007
|
+
/** @description Maximum number of items to return per page. */
|
|
9799
10008
|
limit?: number;
|
|
9800
|
-
/** @description
|
|
10009
|
+
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9801
10010
|
cursor?: string;
|
|
9802
10011
|
/** @description Free-text search across project name and owner. */
|
|
9803
10012
|
query?: string;
|
|
9804
|
-
/** @description Sort
|
|
10013
|
+
/** @description Sort order. Defaults to most recently edited, or best matches first when query is set. Priority sorting puts the most urgent projects first; scan-time sorting uses the latest finished scan. */
|
|
9805
10014
|
sort_by?: "review_priority_desc" | "name_asc" | "name_desc" | "published_status_asc" | "published_status_desc" | "last_edited_asc" | "last_edited_desc" | "risk_factors_asc" | "risk_factors_desc" | "pii_findings_asc" | "pii_findings_desc" | "external_access_asc" | "external_access_desc" | "most_edited_24h" | "most_edited_7d" | "most_edited_30d" | "most_visitors_24h" | "most_visitors_7d" | "most_visitors_30d" | "last_scan_desc" | "last_scan_asc";
|
|
9806
|
-
/** @description
|
|
10015
|
+
/** @description Filter by time since the last edit, or last update for projects never edited. Uses 14-day and 60-day boundaries. */
|
|
9807
10016
|
activity?: "active" | "inactive" | "dead";
|
|
9808
10017
|
/** @description Filter by publishing status. Omit for no filter. */
|
|
9809
10018
|
is_published?: "true" | "false";
|
|
9810
|
-
/** @description Filter by project
|
|
10019
|
+
/** @description Filter by who can access the project in the editor. Separate from the published site access controlled by publish_status. */
|
|
9811
10020
|
visibility?: "public" | "private" | "draft";
|
|
9812
|
-
/** @description
|
|
10021
|
+
/** @description Set true to include only projects flagged with personally identifiable information (PII). False or omitted applies no filter. Ignored when personal data detection is unavailable. */
|
|
9813
10022
|
contains_pii?: boolean;
|
|
9814
|
-
/** @description
|
|
10023
|
+
/** @description Set true to include only projects with a connected service. False or omitted applies no filter. */
|
|
9815
10024
|
has_connectors?: boolean;
|
|
9816
|
-
/** @description Repeat to
|
|
10025
|
+
/** @description Filter by published site access. Restricted sites may also have selected external viewers. Repeat to match any selected status; omit for no filter. */
|
|
9817
10026
|
publish_status?: ("external" | "workspace" | "not_published")[] | null;
|
|
9818
|
-
/** @description
|
|
10027
|
+
/** @description Filter projects by Security Center review priority. Repeat to match any selected priority. Omit to include every project, including those not yet scored. */
|
|
9819
10028
|
review_priority?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
|
|
9820
|
-
/** @description
|
|
10029
|
+
/** @description Finding type IDs returned by GET /v1/workspaces/{workspace_id}/security-center/insights. Repeat to match any selected type. Unknown IDs return 400. Types requiring personal data detection are ignored when that feature is unavailable. */
|
|
9821
10030
|
finding_id?: string[] | null;
|
|
9822
10031
|
};
|
|
9823
10032
|
header?: never;
|
|
@@ -9835,7 +10044,7 @@ interface operations {
|
|
|
9835
10044
|
[name: string]: unknown;
|
|
9836
10045
|
};
|
|
9837
10046
|
content: {
|
|
9838
|
-
"application/json": components["schemas"]["
|
|
10047
|
+
"application/json": components["schemas"]["WorkspaceInsightsProjectPage"];
|
|
9839
10048
|
};
|
|
9840
10049
|
};
|
|
9841
10050
|
/** @description Error */
|
|
@@ -9849,7 +10058,7 @@ interface operations {
|
|
|
9849
10058
|
};
|
|
9850
10059
|
};
|
|
9851
10060
|
};
|
|
9852
|
-
|
|
10061
|
+
getWorkspaceSettings: {
|
|
9853
10062
|
parameters: {
|
|
9854
10063
|
query?: never;
|
|
9855
10064
|
header?: never;
|
|
@@ -9867,7 +10076,7 @@ interface operations {
|
|
|
9867
10076
|
[name: string]: unknown;
|
|
9868
10077
|
};
|
|
9869
10078
|
content: {
|
|
9870
|
-
"application/json": components["schemas"]["
|
|
10079
|
+
"application/json": components["schemas"]["WorkspaceSettings"];
|
|
9871
10080
|
};
|
|
9872
10081
|
};
|
|
9873
10082
|
/** @description Error */
|
|
@@ -9881,7 +10090,7 @@ interface operations {
|
|
|
9881
10090
|
};
|
|
9882
10091
|
};
|
|
9883
10092
|
};
|
|
9884
|
-
|
|
10093
|
+
updateWorkspaceSettings: {
|
|
9885
10094
|
parameters: {
|
|
9886
10095
|
query?: never;
|
|
9887
10096
|
header?: never;
|
|
@@ -9893,7 +10102,7 @@ interface operations {
|
|
|
9893
10102
|
};
|
|
9894
10103
|
requestBody: {
|
|
9895
10104
|
content: {
|
|
9896
|
-
"application/json": components["schemas"]["
|
|
10105
|
+
"application/json": components["schemas"]["UpdateWorkspaceSettingsRequest"];
|
|
9897
10106
|
};
|
|
9898
10107
|
};
|
|
9899
10108
|
responses: {
|
|
@@ -9903,7 +10112,7 @@ interface operations {
|
|
|
9903
10112
|
[name: string]: unknown;
|
|
9904
10113
|
};
|
|
9905
10114
|
content: {
|
|
9906
|
-
"application/json": components["schemas"]["
|
|
10115
|
+
"application/json": components["schemas"]["WorkspaceSettings"];
|
|
9907
10116
|
};
|
|
9908
10117
|
};
|
|
9909
10118
|
/** @description Error */
|
|
@@ -10106,23 +10315,23 @@ interface operations {
|
|
|
10106
10315
|
type Schemas = components["schemas"];
|
|
10107
10316
|
type ListProjectsQuery = NonNullable<paths["/v1/projects"]["get"]["parameters"]["query"]>;
|
|
10108
10317
|
type ListConnectorsQuery = NonNullable<paths["/v1/connectors"]["get"]["parameters"]["query"]>;
|
|
10109
|
-
type MeWorkspace = Schemas["
|
|
10110
|
-
type MeResponse = Schemas["
|
|
10111
|
-
type WorkspaceMembership = Schemas["
|
|
10112
|
-
type WorkspaceWithMembership = Schemas["
|
|
10113
|
-
type GetWorkspacesResponse = Schemas["
|
|
10318
|
+
type MeWorkspace = Schemas["CurrentUserWorkspace"];
|
|
10319
|
+
type MeResponse = Schemas["CurrentUser"];
|
|
10320
|
+
type WorkspaceMembership = Schemas["WorkspaceMembership"];
|
|
10321
|
+
type WorkspaceWithMembership = Schemas["WorkspaceWithMembership"];
|
|
10322
|
+
type GetWorkspacesResponse = Schemas["WorkspacePage"] & {
|
|
10114
10323
|
workspaces: WorkspaceWithMembership[];
|
|
10115
10324
|
};
|
|
10116
10325
|
type MemberRole = WorkspaceMembership["role"];
|
|
10117
|
-
type ProjectResponse = Schemas["
|
|
10326
|
+
type ProjectResponse = Schemas["Project"];
|
|
10118
10327
|
type CreateProjectResponse = Schemas["PublicV1CreateProjectResponse"] & {
|
|
10119
10328
|
id: string;
|
|
10120
10329
|
};
|
|
10121
10330
|
type CreateProjectBody = Omit<Schemas["PublicV1ProjectCreateInputBody"], "workspace_id">;
|
|
10122
|
-
type UpdateProjectOptions = Schemas["
|
|
10123
|
-
type EmbedURLResponse = Schemas["
|
|
10124
|
-
type ListProjectItem = Schemas["
|
|
10125
|
-
type ListProjectsResponse = Schemas["
|
|
10331
|
+
type UpdateProjectOptions = Schemas["UpdateProjectRequest"];
|
|
10332
|
+
type EmbedURLResponse = Schemas["CreateEmbedURLResponse"];
|
|
10333
|
+
type ListProjectItem = Schemas["ProjectSummary"];
|
|
10334
|
+
type ListProjectsResponse = Schemas["ProjectSummaryPage"] & {
|
|
10126
10335
|
projects: ListProjectItem[] | null;
|
|
10127
10336
|
total?: number;
|
|
10128
10337
|
has_more?: boolean;
|
|
@@ -10133,6 +10342,7 @@ type ProjectPatchVisibility = NonNullable<UpdateProjectOptions["visibility"]>;
|
|
|
10133
10342
|
type SendMessageResponse = Schemas["V1SendMessageOutputBody"];
|
|
10134
10343
|
type GetMessageResponse = Schemas["V1MessageResponse"];
|
|
10135
10344
|
type MessageSummary = Schemas["V1MessageListItem"];
|
|
10345
|
+
type MessageCompletionReason = NonNullable<Schemas["V1MessageResponse"]["completion_reason"]>;
|
|
10136
10346
|
type AwaitingInputSummary = Partial<Schemas["V1AwaitingInputSummary"]>;
|
|
10137
10347
|
type ListMessagesResponse = Schemas["CursorListResponseV1MessageListItem"] & {
|
|
10138
10348
|
messages: MessageSummary[] | null;
|
|
@@ -10214,11 +10424,11 @@ type ListMCPConnectorsResponse = Omit<ListConnectorsResponse, "connectors"> & Pa
|
|
|
10214
10424
|
};
|
|
10215
10425
|
type TimeSeriesDataPoint = Schemas["TimeSeriesDataPoint"];
|
|
10216
10426
|
type TimeSeriesData = Schemas["TimeSeriesData"];
|
|
10217
|
-
type ListDataPoint = Schemas["
|
|
10218
|
-
type ListData = Schemas["
|
|
10427
|
+
type ListDataPoint = Schemas["AnalyticsBreakdownPoint"];
|
|
10428
|
+
type ListData = Schemas["AnalyticsBreakdown"];
|
|
10219
10429
|
type ProjectAnalyticsResponse = Schemas["ProjectAnalyticsResponse"];
|
|
10220
10430
|
type TrendDataPoint = Schemas["TrendDataPoint"];
|
|
10221
|
-
type ProjectAnalyticsTrendResponse = Schemas["
|
|
10431
|
+
type ProjectAnalyticsTrendResponse = Schemas["AnalyticsTrend"];
|
|
10222
10432
|
type RemixJobStepInfo = Schemas["RemixJobStepInfo"];
|
|
10223
10433
|
type RemixJobStatus = "unknown" | "preparing" | "running" | "completed" | "error";
|
|
10224
10434
|
type RemixJobStep = "starting" | "creating_new_project" | "restoring_supabase" | "copying_history" | "preparing_repository" | "remixing_integration" | "pushing_repository" | "finalizing" | "completed";
|
|
@@ -10368,6 +10578,8 @@ interface RemixWaitOptions {
|
|
|
10368
10578
|
}
|
|
10369
10579
|
interface MessageCompletionResult {
|
|
10370
10580
|
status: "completed" | "stopped" | "awaiting_input" | "timeout" | "error";
|
|
10581
|
+
/** How the turn ended; absent while running, on SDK-side timeout, and for turns that predate it. */
|
|
10582
|
+
completion_reason?: MessageCompletionReason;
|
|
10371
10583
|
message_id: string;
|
|
10372
10584
|
content: string;
|
|
10373
10585
|
awaiting_input?: AwaitingInputSummary;
|
|
@@ -10467,7 +10679,7 @@ declare class LovableClient {
|
|
|
10467
10679
|
image_url?: string;
|
|
10468
10680
|
name: string;
|
|
10469
10681
|
num_projects: number;
|
|
10470
|
-
plan:
|
|
10682
|
+
plan: "free" | "pro" | "business" | "enterprise";
|
|
10471
10683
|
updated_at?: string;
|
|
10472
10684
|
}>;
|
|
10473
10685
|
/**
|
|
@@ -10758,5 +10970,5 @@ declare class LovableClient {
|
|
|
10758
10970
|
waitForProjectPublished(projectId: string, options?: WaitOptions): Promise<ProjectResponse>;
|
|
10759
10971
|
}
|
|
10760
10972
|
//#endregion
|
|
10761
|
-
export { ApiError, type ChatMessageOptions, type ChatRequest, type ChatResponse, type ChatResponseOptions, type ConnectorItem, type ContinuationOverride, type CreateProjectBody, type CreateProjectOptions, type CreateProjectResponse, type CreateVariantOptions, type CreateVariantResponse, type CursorPaginationOptions, type DatabaseQueryResult, type DatabaseStatus, type DeploymentResponse, type DiffEntry, type DiffHunk, type DiffLine, type EditSummary, type EditsResponse, type EmbedURLResponse, type EnableDatabaseResult, type FileInput, type FileUploadUrlResponse, type GetMessageResponse, type GetWorkspacesResponse, type GitDiffResponse, type GitFileEntry, type GitFilesResponse, type KnowledgeResponse, type LibraryProjectResponse, type ListConnectorsOptions, type ListConnectorsResponse, type ListCursorPaginationOptions, type ListData, type ListDataPoint, type ListHybridPaginationOptions, type ListLibraryProjectsResponse, type ListMCPConnectorsResponse, type ListMessagesOptions, type ListMessagesResponse, type ListOffsetPaginationOptions, type ListPaginationOptions, type ListProjectItem, type ListProjectsOptions, type ListProjectsResponse, type ListSeamlessConnectorsResponse, type ListStandardConnectorsResponse, type ListTemplateProjectsResponse, LovableClient, type LovableClientOptions, type LovableError, type MCPConnectorItem, type MeResponse, type MeWorkspace, type MemberRole, type MessageCompletionOptions, type MessageCompletionResult, type MessageSummary, type ProjectAnalyticsResponse, type ProjectAnalyticsTrendResponse, type ProjectResponse, type ProjectStatus, type ProjectVisibility, type RateLimitInfo, type RemixJobStatus, type RemixJobStep, type RemixJobStepInfo, type RemixMode, type RemixProjectOptions, type RemixResult, type RemixWaitOptions, type SeamlessConnectorItem, type SendMessageResponse, type StandardConnectorItem, type TemplateProjectResponse, type TimeSeriesData, type TimeSeriesDataPoint, type TrendDataPoint, type UnscopedFile, type WaitOptions, type WorkspaceMembership, type WorkspaceWithMembership };
|
|
10973
|
+
export { ApiError, type ChatMessageOptions, type ChatRequest, type ChatResponse, type ChatResponseOptions, type ConnectorItem, type ContinuationOverride, type CreateProjectBody, type CreateProjectOptions, type CreateProjectResponse, type CreateVariantOptions, type CreateVariantResponse, type CursorPaginationOptions, type DatabaseQueryResult, type DatabaseStatus, type DeploymentResponse, type DiffEntry, type DiffHunk, type DiffLine, type EditSummary, type EditsResponse, type EmbedURLResponse, type EnableDatabaseResult, type FileInput, type FileUploadUrlResponse, type GetMessageResponse, type GetWorkspacesResponse, type GitDiffResponse, type GitFileEntry, type GitFilesResponse, type KnowledgeResponse, type LibraryProjectResponse, type ListConnectorsOptions, type ListConnectorsResponse, type ListCursorPaginationOptions, type ListData, type ListDataPoint, type ListHybridPaginationOptions, type ListLibraryProjectsResponse, type ListMCPConnectorsResponse, type ListMessagesOptions, type ListMessagesResponse, type ListOffsetPaginationOptions, type ListPaginationOptions, type ListProjectItem, type ListProjectsOptions, type ListProjectsResponse, type ListSeamlessConnectorsResponse, type ListStandardConnectorsResponse, type ListTemplateProjectsResponse, LovableClient, type LovableClientOptions, type LovableError, type MCPConnectorItem, type MeResponse, type MeWorkspace, type MemberRole, type MessageCompletionOptions, type MessageCompletionReason, type MessageCompletionResult, type MessageSummary, type ProjectAnalyticsResponse, type ProjectAnalyticsTrendResponse, type ProjectResponse, type ProjectStatus, type ProjectVisibility, type RateLimitInfo, type RemixJobStatus, type RemixJobStep, type RemixJobStepInfo, type RemixMode, type RemixProjectOptions, type RemixResult, type RemixWaitOptions, type SeamlessConnectorItem, type SendMessageResponse, type StandardConnectorItem, type TemplateProjectResponse, type TimeSeriesData, type TimeSeriesDataPoint, type TrendDataPoint, type UnscopedFile, type WaitOptions, type WorkspaceMembership, type WorkspaceWithMembership };
|
|
10762
10974
|
//# sourceMappingURL=index.d.ts.map
|