diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 7244076..6b0e666 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -1,30 +1,65 @@
.github/workflows/maven.yml
README.md
api/openapi.yaml
+docs/AccountsApi.md
docs/AddCollaboratorRequestBody.md
docs/AddOrganizationMemberRequestBody.md
docs/AddSpaceCollaboratorRequestBody.md
docs/AddTeamMemberRequestBody.md
docs/AttachSpaceToRecordRequestBody.md
+docs/BackwardCompatibleEndpointsApi.md
+docs/BatchDeleteBody.md
+docs/BatchDeleteResponse.md
+docs/BatchSyncLinksBody.md
+docs/BatchSyncResponse.md
+docs/BatchUpdateBody.md
+docs/Body.md
+docs/CacheApi.md
docs/CreateArtifactRequestBody.md
docs/CreateSpaceRequestBody.md
docs/CreateTeamRequestBody.md
docs/CreateTransformRequestBody.md
-docs/DbUrlRequest.md
-docs/DefaultApi.md
+docs/DbServerApi.md
docs/Dimension.md
+docs/ErrorDetail.md
+docs/ExecuteFunctionRequestBody.md
+docs/ExportRecordsRequestBody.md
docs/GetRecordRequestBody.md
docs/GetRecordsRequestBody.md
docs/GetValuesRequestBody.md
docs/GroupByRequestBody.md
docs/HTTPValidationError.md
+docs/HealthChecksApi.md
+docs/InstanceArtifactsApi.md
+docs/InstanceDbTokenApi.md
+docs/InstanceFeaturesApi.md
+docs/InstanceFileExplorerApi.md
+docs/InstanceFormsApi.md
+docs/InstanceFunctionsApi.md
+docs/InstanceLabelsApi.md
+docs/InstanceRecordsApi.md
+docs/InstanceSchemaApi.md
+docs/InstanceSearchApi.md
+docs/InstanceStatisticsApi.md
+docs/InstanceTransformsApi.md
+docs/InstancesApi.md
docs/Measure.md
+docs/NonEmptyTablesResponse.md
docs/OrderByColumn.md
+docs/OrganizationsApi.md
docs/RegisterDbServerBody.md
docs/RegisterFormRequest.md
+docs/Request.md
docs/Role.md
docs/Role1.md
docs/S3PermissionsRequest.md
+docs/SpacesApi.md
+docs/StatisticsResponse.md
+docs/StoragesApi.md
+docs/SyncInstruction.md
+docs/TeamsApi.md
+docs/TraversalParams.md
+docs/TraversalParamsValuesInner.md
docs/UpdateCollaboratorRequestBody.md
docs/UpdateOrganizationMemberRequestBody.md
docs/UpdateSpaceCollaboratorRequestBody.md
@@ -50,7 +85,28 @@ src/main/java/ai/lamin/lamin_api_client/ProgressResponseBody.java
src/main/java/ai/lamin/lamin_api_client/ServerConfiguration.java
src/main/java/ai/lamin/lamin_api_client/ServerVariable.java
src/main/java/ai/lamin/lamin_api_client/StringUtil.java
-src/main/java/ai/lamin/lamin_api_client/api/DefaultApi.java
+src/main/java/ai/lamin/lamin_api_client/api/AccountsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/BackwardCompatibleEndpointsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/CacheApi.java
+src/main/java/ai/lamin/lamin_api_client/api/DbServerApi.java
+src/main/java/ai/lamin/lamin_api_client/api/HealthChecksApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceArtifactsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceDbTokenApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceFeaturesApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceFileExplorerApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceFormsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceFunctionsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceLabelsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceRecordsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceSchemaApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceSearchApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceStatisticsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstanceTransformsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/InstancesApi.java
+src/main/java/ai/lamin/lamin_api_client/api/OrganizationsApi.java
+src/main/java/ai/lamin/lamin_api_client/api/SpacesApi.java
+src/main/java/ai/lamin/lamin_api_client/api/StoragesApi.java
+src/main/java/ai/lamin/lamin_api_client/api/TeamsApi.java
src/main/java/ai/lamin/lamin_api_client/auth/ApiKeyAuth.java
src/main/java/ai/lamin/lamin_api_client/auth/Authentication.java
src/main/java/ai/lamin/lamin_api_client/auth/HttpBasicAuth.java
@@ -61,24 +117,38 @@ src/main/java/ai/lamin/lamin_api_client/model/AddOrganizationMemberRequestBody.j
src/main/java/ai/lamin/lamin_api_client/model/AddSpaceCollaboratorRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/AddTeamMemberRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/AttachSpaceToRecordRequestBody.java
+src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteBody.java
+src/main/java/ai/lamin/lamin_api_client/model/BatchDeleteResponse.java
+src/main/java/ai/lamin/lamin_api_client/model/BatchSyncLinksBody.java
+src/main/java/ai/lamin/lamin_api_client/model/BatchSyncResponse.java
+src/main/java/ai/lamin/lamin_api_client/model/BatchUpdateBody.java
+src/main/java/ai/lamin/lamin_api_client/model/Body.java
src/main/java/ai/lamin/lamin_api_client/model/CreateArtifactRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/CreateSpaceRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/CreateTeamRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/CreateTransformRequestBody.java
-src/main/java/ai/lamin/lamin_api_client/model/DbUrlRequest.java
src/main/java/ai/lamin/lamin_api_client/model/Dimension.java
+src/main/java/ai/lamin/lamin_api_client/model/ErrorDetail.java
+src/main/java/ai/lamin/lamin_api_client/model/ExecuteFunctionRequestBody.java
+src/main/java/ai/lamin/lamin_api_client/model/ExportRecordsRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/GetRecordRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/GetRecordsRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/GetValuesRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/GroupByRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/HTTPValidationError.java
src/main/java/ai/lamin/lamin_api_client/model/Measure.java
+src/main/java/ai/lamin/lamin_api_client/model/NonEmptyTablesResponse.java
src/main/java/ai/lamin/lamin_api_client/model/OrderByColumn.java
src/main/java/ai/lamin/lamin_api_client/model/RegisterDbServerBody.java
src/main/java/ai/lamin/lamin_api_client/model/RegisterFormRequest.java
+src/main/java/ai/lamin/lamin_api_client/model/Request.java
src/main/java/ai/lamin/lamin_api_client/model/Role.java
src/main/java/ai/lamin/lamin_api_client/model/Role1.java
src/main/java/ai/lamin/lamin_api_client/model/S3PermissionsRequest.java
+src/main/java/ai/lamin/lamin_api_client/model/StatisticsResponse.java
+src/main/java/ai/lamin/lamin_api_client/model/SyncInstruction.java
+src/main/java/ai/lamin/lamin_api_client/model/TraversalParams.java
+src/main/java/ai/lamin/lamin_api_client/model/TraversalParamsValuesInner.java
src/main/java/ai/lamin/lamin_api_client/model/UpdateCollaboratorRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/UpdateOrganizationMemberRequestBody.java
src/main/java/ai/lamin/lamin_api_client/model/UpdateSpaceCollaboratorRequestBody.java
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..e72490f
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,5 @@
+{
+ "files.watcherExclude": {
+ "**/target": true
+ }
+}
\ No newline at end of file
diff --git a/README.md b/README.md
index 5a284fe..bf9d2b6 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
Lamin API
- API version: 0.1.0
- - Build date: 2025-06-17T13:08:14.011869776+02:00[Europe/Brussels]
+ - Build date: 2026-01-12T11:16:27.287169544+01:00[Europe/Brussels]
- Generator version: 7.12.0
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -44,7 +44,7 @@ Add this dependency to your project's POM:
ai.lamin
lamin-api-client
- 0.0.3
+ 0.0.4
compile
```
@@ -60,7 +60,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "ai.lamin:lamin-api-client:0.0.3"
+ implementation "ai.lamin:lamin-api-client:0.0.4"
}
```
@@ -74,7 +74,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/lamin-api-client-0.0.3.jar`
+* `target/lamin-api-client-0.0.4.jar`
* `target/lib/*.jar`
## Getting Started
@@ -88,22 +88,21 @@ import ai.lamin.lamin_api_client.ApiClient;
import ai.lamin.lamin_api_client.ApiException;
import ai.lamin.lamin_api_client.Configuration;
import ai.lamin.lamin_api_client.model.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
+import ai.lamin.lamin_api_client.api.AccountsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
- DefaultApi apiInstance = new DefaultApi(defaultClient);
+ AccountsApi apiInstance = new AccountsApi(defaultClient);
UUID instanceId = UUID.randomUUID(); // UUID |
- AddCollaboratorRequestBody addCollaboratorRequestBody = new AddCollaboratorRequestBody(); // AddCollaboratorRequestBody |
String authorization = "authorization_example"; // String |
try {
- Object result = apiInstance.addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut(instanceId, addCollaboratorRequestBody, authorization);
+ Object result = apiInstance.getCallerAccountAccountGet(instanceId, authorization);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut");
+ System.err.println("Exception when calling AccountsApi#getCallerAccountAccountGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -116,83 +115,84 @@ public class Example {
## Documentation for API Endpoints
-All URIs are relative to *https://aws.us-east-1.lamin.ai/api*
+All URIs are relative to *https://staging.laminhub.com/api*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
-*DefaultApi* | [**addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut**](docs/DefaultApi.md#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut) | **PUT** /access_v2/instances/{instance_id}/collaborators | Add Collaborator
-*DefaultApi* | [**addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut**](docs/DefaultApi.md#addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut) | **PUT** /instances/{instance_id}/collaborators/{account_id} | Add Collaborator
-*DefaultApi* | [**addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut**](docs/DefaultApi.md#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut) | **PUT** /access_v2/organizations/{organization_id}/members/{account_id} | Add Organization Member
-*DefaultApi* | [**addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut**](docs/DefaultApi.md#addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut) | **PUT** /access_v2/spaces/{space_id}/collaborators | Add Space Collaborator
-*DefaultApi* | [**addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut**](docs/DefaultApi.md#addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut) | **PUT** /access_v2/teams/{team_id}/members/{account_id} | Add Team Member
-*DefaultApi* | [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](docs/DefaultApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label
-*DefaultApi* | [**attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut**](docs/DefaultApi.md#attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut) | **PUT** /access_v2/spaces/{space_id}/instances/{instance_id} | Attach Space To Instance
-*DefaultApi* | [**checkCacheAccessDebugCacheAccessGet**](docs/DefaultApi.md#checkCacheAccessDebugCacheAccessGet) | **GET** /_debug/cache-access | Check Cache Access
-*DefaultApi* | [**checkDbAccessDebugDbAccessPost**](docs/DefaultApi.md#checkDbAccessDebugDbAccessPost) | **POST** /_debug/db-access | Check Db Access
-*DefaultApi* | [**checkDbServerAccessDbServerCheckAccessPost**](docs/DefaultApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access
-*DefaultApi* | [**checkLambdaAccessDebugLambdaAccessGet**](docs/DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access
-*DefaultApi* | [**createArtifactInstancesInstanceIdArtifactsCreatePost**](docs/DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact
-*DefaultApi* | [**createInstanceInstancesPut**](docs/DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance
-*DefaultApi* | [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](docs/DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records
-*DefaultApi* | [**createSpaceAccessV2SpacesPut**](docs/DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space
-*DefaultApi* | [**createTeamAccessV2TeamsPut**](docs/DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team
-*DefaultApi* | [**createTransformInstancesInstanceIdTransformsPost**](docs/DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform
-*DefaultApi* | [**deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete**](docs/DefaultApi.md#deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete) | **DELETE** /instances/{instance_id}/collaborators/{account_id} | Delete Collaborator
-*DefaultApi* | [**deleteInstanceInstancesInstanceIdDelete**](docs/DefaultApi.md#deleteInstanceInstancesInstanceIdDelete) | **DELETE** /instances/{instance_id} | Delete Instance
-*DefaultApi* | [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](docs/DefaultApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record
-*DefaultApi* | [**deleteSpaceAccessV2SpacesSpaceIdDelete**](docs/DefaultApi.md#deleteSpaceAccessV2SpacesSpaceIdDelete) | **DELETE** /access_v2/spaces/{space_id} | Delete Space
-*DefaultApi* | [**deleteTeamAccessV2TeamsTeamIdDelete**](docs/DefaultApi.md#deleteTeamAccessV2TeamsTeamIdDelete) | **DELETE** /access_v2/teams/{team_id} | Delete Team
-*DefaultApi* | [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](docs/DefaultApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label
-*DefaultApi* | [**detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete**](docs/DefaultApi.md#detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete) | **DELETE** /access_v2/spaces/{space_id}/instances/{instance_id} | Detach Space From Instance
-*DefaultApi* | [**getCallerAccountAccountGet**](docs/DefaultApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account
-*DefaultApi* | [**getDbTokenAccessV2InstancesInstanceIdDbTokenGet**](docs/DefaultApi.md#getDbTokenAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token
-*DefaultApi* | [**getInstanceStatisticsInstancesInstanceIdStatisticsGet**](docs/DefaultApi.md#getInstanceStatisticsInstancesInstanceIdStatisticsGet) | **GET** /instances/{instance_id}/statistics | Get Instance Statistics
-*DefaultApi* | [**getIpDebugIpGet**](docs/DefaultApi.md#getIpDebugIpGet) | **GET** /_debug/ip | Get Ip
-*DefaultApi* | [**getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**](docs/DefaultApi.md#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet) | **GET** /instances/{instance_id}/non_empty_tables | Get Non Empty Tables
-*DefaultApi* | [**getOrganizationAccessV2OrganizationsOrganizationIdGet**](docs/DefaultApi.md#getOrganizationAccessV2OrganizationsOrganizationIdGet) | **GET** /access_v2/organizations/{organization_id} | Get Organization
-*DefaultApi* | [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](docs/DefaultApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record
-*DefaultApi* | [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](docs/DefaultApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records
-*DefaultApi* | [**getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**](docs/DefaultApi.md#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet) | **GET** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts | Get Relation Counts
-*DefaultApi* | [**getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet**](docs/DefaultApi.md#getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet) | **GET** /instances/{instance_id}/schema/{module_name}/{model_name} | Get Relations
-*DefaultApi* | [**getSchemaInstancesInstanceIdSchemaGet**](docs/DefaultApi.md#getSchemaInstancesInstanceIdSchemaGet) | **GET** /instances/{instance_id}/schema | Get Schema
-*DefaultApi* | [**getSpaceAccessV2SpacesSpaceIdGet**](docs/DefaultApi.md#getSpaceAccessV2SpacesSpaceIdGet) | **GET** /access_v2/spaces/{space_id} | Get Space
-*DefaultApi* | [**getTeamAccessV2TeamsTeamIdGet**](docs/DefaultApi.md#getTeamAccessV2TeamsTeamIdGet) | **GET** /access_v2/teams/{team_id} | Get Team
-*DefaultApi* | [**getTreeInstancesInstanceIdTreeGet**](docs/DefaultApi.md#getTreeInstancesInstanceIdTreeGet) | **GET** /instances/{instance_id}/tree | Get Tree
-*DefaultApi* | [**getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost**](docs/DefaultApi.md#getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path} | Get Values
-*DefaultApi* | [**grantS3PermissionsStoragesS3BucketNamePermissionsPut**](docs/DefaultApi.md#grantS3PermissionsStoragesS3BucketNamePermissionsPut) | **PUT** /storages/s3/{bucket_name}/permissions | Grant S3 Permissions
-*DefaultApi* | [**groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost**](docs/DefaultApi.md#groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/group-by | Group By
-*DefaultApi* | [**listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet**](docs/DefaultApi.md#listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet) | **GET** /access_v2/instances/{instance_id}/collaborators | List Collaborators
-*DefaultApi* | [**listDirectoryInstancesInstanceIdEntityTypeGet**](docs/DefaultApi.md#listDirectoryInstancesInstanceIdEntityTypeGet) | **GET** /instances/{instance_id}/{entity_type} | List Directory
-*DefaultApi* | [**listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet**](docs/DefaultApi.md#listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet) | **GET** /access_v2/spaces/instances/{instance_id} | List Instance Spaces
-*DefaultApi* | [**listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet**](docs/DefaultApi.md#listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet) | **GET** /access_v2/spaces/{space_id}/instances | List Instances Using Space
-*DefaultApi* | [**listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet**](docs/DefaultApi.md#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet) | **GET** /access_v2/organizations/{organization_id}/members | List Organization Members
-*DefaultApi* | [**listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet**](docs/DefaultApi.md#listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet) | **GET** /access_v2/spaces/organizations/{organization_id} | List Organization Spaces
-*DefaultApi* | [**listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet**](docs/DefaultApi.md#listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet) | **GET** /access_v2/teams/organizations/{organization_id} | List Organization Teams
-*DefaultApi* | [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](docs/DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators
-*DefaultApi* | [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](docs/DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members
-*DefaultApi* | [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](docs/DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space
-*DefaultApi* | [**proxyS3S3PathGet**](docs/DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3
-*DefaultApi* | [**proxyS3S3PathGet_0**](docs/DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3
-*DefaultApi* | [**proxyS3S3PathGet_1**](docs/DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3
-*DefaultApi* | [**proxyS3S3PathGet_2**](docs/DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3
-*DefaultApi* | [**proxyS3S3PathGet_3**](docs/DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3
-*DefaultApi* | [**registerDbServerDbServerRegisterPost**](docs/DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server
-*DefaultApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form
-*DefaultApi* | [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](docs/DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator
-*DefaultApi* | [**removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete**](docs/DefaultApi.md#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete) | **DELETE** /access_v2/organizations/{organization_id}/members/{account_id} | Remove Organization Member
-*DefaultApi* | [**removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete**](docs/DefaultApi.md#removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete) | **DELETE** /access_v2/spaces/{space_id}/collaborators | Remove Space Collaborator
-*DefaultApi* | [**removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete**](docs/DefaultApi.md#removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete) | **DELETE** /access_v2/teams/{team_id}/members/{account_id} | Remove Team Member
-*DefaultApi* | [**transferOwnershipInstancesInstanceIdOwnerHandlePatch**](docs/DefaultApi.md#transferOwnershipInstancesInstanceIdOwnerHandlePatch) | **PATCH** /instances/{instance_id}/owner/{handle} | Transfer Ownership
-*DefaultApi* | [**updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch**](docs/DefaultApi.md#updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch) | **PATCH** /access_v2/instances/{instance_id}/collaborators | Update Collaborator
-*DefaultApi* | [**updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch**](docs/DefaultApi.md#updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch) | **PATCH** /instances/{instance_id}/collaborators/{account_id} | Update Collaborator
-*DefaultApi* | [**updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch**](docs/DefaultApi.md#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch) | **PATCH** /access_v2/organizations/{organization_id}/members/{account_id} | Update Organization Member
-*DefaultApi* | [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](docs/DefaultApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record
-*DefaultApi* | [**updateSpaceAccessV2SpacesSpaceIdPatch**](docs/DefaultApi.md#updateSpaceAccessV2SpacesSpaceIdPatch) | **PATCH** /access_v2/spaces/{space_id} | Update Space
-*DefaultApi* | [**updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch**](docs/DefaultApi.md#updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch) | **PATCH** /access_v2/spaces/{space_id}/collaborators | Update Space Collaborator
-*DefaultApi* | [**updateTeamAccessV2TeamsTeamIdPatch**](docs/DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team
-*DefaultApi* | [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](docs/DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member
-*DefaultApi* | [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](docs/DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact
-*DefaultApi* | [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](docs/DefaultApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert Records
+*AccountsApi* | [**getCallerAccountAccountGet**](docs/AccountsApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account
+*BackwardCompatibleEndpointsApi* | [**getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet**](docs/BackwardCompatibleEndpointsApi.md#getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token Backward Compatible
+*CacheApi* | [**getInstanceCacheCacheInstancesInstanceIdGet**](docs/CacheApi.md#getInstanceCacheCacheInstancesInstanceIdGet) | **GET** /cache/instances/{instance_id} | Get Instance Cache
+*CacheApi* | [**invalidateInstanceCacheCacheInstancesInstanceIdDelete**](docs/CacheApi.md#invalidateInstanceCacheCacheInstancesInstanceIdDelete) | **DELETE** /cache/instances/{instance_id} | Invalidate Instance Cache
+*DbServerApi* | [**checkDbServerAccessDbServerCheckAccessPost**](docs/DbServerApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access
+*DbServerApi* | [**registerDbServerDbServerRegisterPost**](docs/DbServerApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server
+*HealthChecksApi* | [**healthCheckHealthGet**](docs/HealthChecksApi.md#healthCheckHealthGet) | **GET** /health | Health Check
+*InstanceArtifactsApi* | [**createArtifactInstancesInstanceIdArtifactsCreatePost**](docs/InstanceArtifactsApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact
+*InstanceArtifactsApi* | [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](docs/InstanceArtifactsApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact
+*InstanceDbTokenApi* | [**getDbTokenInstancesInstanceIdDbTokenGet**](docs/InstanceDbTokenApi.md#getDbTokenInstancesInstanceIdDbTokenGet) | **GET** /instances/{instance_id}/db_token | Get Db Token
+*InstanceFeaturesApi* | [**queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost**](docs/InstanceFeaturesApi.md#queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/query_features | Query Linked Features
+*InstanceFileExplorerApi* | [**getTreeInstancesInstanceIdFilesTreeGet**](docs/InstanceFileExplorerApi.md#getTreeInstancesInstanceIdFilesTreeGet) | **GET** /instances/{instance_id}/files/tree | Get Tree
+*InstanceFileExplorerApi* | [**listDirectoryInstancesInstanceIdFilesEntityTypeGet**](docs/InstanceFileExplorerApi.md#listDirectoryInstancesInstanceIdFilesEntityTypeGet) | **GET** /instances/{instance_id}/files/{entity_type} | List Directory
+*InstanceFormsApi* | [**registerFormInstancesInstanceIdFormsPost**](docs/InstanceFormsApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form
+*InstanceFunctionsApi* | [**executeFunctionInstancesInstanceIdFunctionExecutePost**](docs/InstanceFunctionsApi.md#executeFunctionInstancesInstanceIdFunctionExecutePost) | **POST** /instances/{instance_id}/function/execute | Execute Function
+*InstanceLabelsApi* | [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](docs/InstanceLabelsApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label
+*InstanceLabelsApi* | [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](docs/InstanceLabelsApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label
+*InstanceRecordsApi* | [**batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost**](docs/InstanceRecordsApi.md#batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-delete | Batch Delete Records
+*InstanceRecordsApi* | [**batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut**](docs/InstanceRecordsApi.md#batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-sync-links | Synchronize sets of links for multiple scopes in a single call
+*InstanceRecordsApi* | [**batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch**](docs/InstanceRecordsApi.md#batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-update | Update one or more records in a batch
+*InstanceRecordsApi* | [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](docs/InstanceRecordsApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records
+*InstanceRecordsApi* | [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](docs/InstanceRecordsApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record
+*InstanceRecordsApi* | [**exportRecordsInstancesInstanceIdRecordsUidExportPost**](docs/InstanceRecordsApi.md#exportRecordsInstancesInstanceIdRecordsUidExportPost) | **POST** /instances/{instance_id}/records/{uid}/export | Export Records
+*InstanceRecordsApi* | [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](docs/InstanceRecordsApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record
+*InstanceRecordsApi* | [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](docs/InstanceRecordsApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records
+*InstanceRecordsApi* | [**getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost**](docs/InstanceRecordsApi.md#getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/relatives | Get and query hierarchical relatives of records
+*InstanceRecordsApi* | [**getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost**](docs/InstanceRecordsApi.md#getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path} | Get Values
+*InstanceRecordsApi* | [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](docs/InstanceRecordsApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record
+*InstanceRecordsApi* | [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](docs/InstanceRecordsApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert one or more records
+*InstanceSchemaApi* | [**getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet**](docs/InstanceSchemaApi.md#getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet) | **GET** /instances/{instance_id}/schema/{module_name}/{model_name} | Get Relations
+*InstanceSchemaApi* | [**getSchemaInstancesInstanceIdSchemaGet**](docs/InstanceSchemaApi.md#getSchemaInstancesInstanceIdSchemaGet) | **GET** /instances/{instance_id}/schema | Get Schema
+*InstanceSearchApi* | [**globalSearchInstancesInstanceIdSearchGet**](docs/InstanceSearchApi.md#globalSearchInstancesInstanceIdSearchGet) | **GET** /instances/{instance_id}/search | Global Search
+*InstanceStatisticsApi* | [**getInstanceStatisticsInstancesInstanceIdStatisticsGet**](docs/InstanceStatisticsApi.md#getInstanceStatisticsInstancesInstanceIdStatisticsGet) | **GET** /instances/{instance_id}/statistics | Get Approximate Table Row Counts and Artifact Size
+*InstanceStatisticsApi* | [**getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**](docs/InstanceStatisticsApi.md#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet) | **GET** /instances/{instance_id}/non_empty_tables | List Non-Empty Data Tables by Module
+*InstanceStatisticsApi* | [**getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**](docs/InstanceStatisticsApi.md#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet) | **GET** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts | Get Relation Counts
+*InstanceStatisticsApi* | [**groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost**](docs/InstanceStatisticsApi.md#groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/group-by | Group By
+*InstanceTransformsApi* | [**createTransformInstancesInstanceIdTransformsPost**](docs/InstanceTransformsApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform
+*InstancesApi* | [**addCollaboratorInstancesInstanceIdCollaboratorsPut**](docs/InstancesApi.md#addCollaboratorInstancesInstanceIdCollaboratorsPut) | **PUT** /instances/{instance_id}/collaborators | Add Collaborator
+*InstancesApi* | [**createInstanceInstancesPut**](docs/InstancesApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance
+*InstancesApi* | [**deleteInstanceInstancesInstanceIdDelete**](docs/InstancesApi.md#deleteInstanceInstancesInstanceIdDelete) | **DELETE** /instances/{instance_id} | Delete Instance
+*InstancesApi* | [**listCollaboratorsInstancesInstanceIdCollaboratorsGet**](docs/InstancesApi.md#listCollaboratorsInstancesInstanceIdCollaboratorsGet) | **GET** /instances/{instance_id}/collaborators | List Collaborators
+*InstancesApi* | [**migrateInstanceInstancesInstanceIdMigratePost**](docs/InstancesApi.md#migrateInstanceInstancesInstanceIdMigratePost) | **POST** /instances/{instance_id}/migrate | Migrate Instance
+*InstancesApi* | [**removeCollaboratorInstancesInstanceIdCollaboratorsDelete**](docs/InstancesApi.md#removeCollaboratorInstancesInstanceIdCollaboratorsDelete) | **DELETE** /instances/{instance_id}/collaborators | Remove Collaborator
+*InstancesApi* | [**transferOwnershipInstancesInstanceIdOwnerHandlePatch**](docs/InstancesApi.md#transferOwnershipInstancesInstanceIdOwnerHandlePatch) | **PATCH** /instances/{instance_id}/owner/{handle} | Transfer Ownership
+*InstancesApi* | [**updateCollaboratorInstancesInstanceIdCollaboratorsPatch**](docs/InstancesApi.md#updateCollaboratorInstancesInstanceIdCollaboratorsPatch) | **PATCH** /instances/{instance_id}/collaborators | Update Collaborator
+*OrganizationsApi* | [**addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPut**](docs/OrganizationsApi.md#addOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPut) | **PUT** /organizations/{organization_id}/members/{account_id} | Add Organization Member
+*OrganizationsApi* | [**getOrganizationOrganizationsOrganizationIdGet**](docs/OrganizationsApi.md#getOrganizationOrganizationsOrganizationIdGet) | **GET** /organizations/{organization_id} | Get Organization
+*OrganizationsApi* | [**listOrganizationMembersOrganizationsOrganizationIdMembersGet**](docs/OrganizationsApi.md#listOrganizationMembersOrganizationsOrganizationIdMembersGet) | **GET** /organizations/{organization_id}/members | List Organization Members
+*OrganizationsApi* | [**removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDelete**](docs/OrganizationsApi.md#removeOrganizationMemberOrganizationsOrganizationIdMembersAccountIdDelete) | **DELETE** /organizations/{organization_id}/members/{account_id} | Remove Organization Member
+*OrganizationsApi* | [**updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatch**](docs/OrganizationsApi.md#updateOrganizationMemberOrganizationsOrganizationIdMembersAccountIdPatch) | **PATCH** /organizations/{organization_id}/members/{account_id} | Update Organization Member
+*SpacesApi* | [**addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut**](docs/SpacesApi.md#addSpaceCollaboratorSpacesSpaceIdCollaboratorsPut) | **PUT** /spaces/{space_id}/collaborators | Add Space Collaborator
+*SpacesApi* | [**attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut**](docs/SpacesApi.md#attachSpaceToInstanceSpacesSpaceIdInstancesInstanceIdPut) | **PUT** /spaces/{space_id}/instances/{instance_id} | Attach Space To Instance
+*SpacesApi* | [**createSpaceSpacesPut**](docs/SpacesApi.md#createSpaceSpacesPut) | **PUT** /spaces | Create Space
+*SpacesApi* | [**deleteSpaceSpacesSpaceIdDelete**](docs/SpacesApi.md#deleteSpaceSpacesSpaceIdDelete) | **DELETE** /spaces/{space_id} | Delete Space
+*SpacesApi* | [**detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete**](docs/SpacesApi.md#detachSpaceFromInstanceSpacesSpaceIdInstancesInstanceIdDelete) | **DELETE** /spaces/{space_id}/instances/{instance_id} | Detach Space From Instance
+*SpacesApi* | [**getSpaceSpacesSpaceIdGet**](docs/SpacesApi.md#getSpaceSpacesSpaceIdGet) | **GET** /spaces/{space_id} | Get Space
+*SpacesApi* | [**listInstanceSpacesSpacesInstancesInstanceIdGet**](docs/SpacesApi.md#listInstanceSpacesSpacesInstancesInstanceIdGet) | **GET** /spaces/instances/{instance_id} | List Instance Spaces
+*SpacesApi* | [**listInstancesUsingSpaceSpacesSpaceIdInstancesGet**](docs/SpacesApi.md#listInstancesUsingSpaceSpacesSpaceIdInstancesGet) | **GET** /spaces/{space_id}/instances | List Instances Using Space
+*SpacesApi* | [**listOrganizationSpacesSpacesOrganizationsOrganizationIdGet**](docs/SpacesApi.md#listOrganizationSpacesSpacesOrganizationsOrganizationIdGet) | **GET** /spaces/organizations/{organization_id} | List Organization Spaces
+*SpacesApi* | [**listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet**](docs/SpacesApi.md#listSpaceCollaboratorsSpacesSpaceIdCollaboratorsGet) | **GET** /spaces/{space_id}/collaborators | List Space Collaborators
+*SpacesApi* | [**moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut**](docs/SpacesApi.md#moveRecordToSpaceSpacesSpaceIdRecordAttachmentsPut) | **PUT** /spaces/{space_id}/record-attachments | Move Record To Space
+*SpacesApi* | [**removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete**](docs/SpacesApi.md#removeSpaceCollaboratorSpacesSpaceIdCollaboratorsDelete) | **DELETE** /spaces/{space_id}/collaborators | Remove Space Collaborator
+*SpacesApi* | [**updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch**](docs/SpacesApi.md#updateSpaceCollaboratorSpacesSpaceIdCollaboratorsPatch) | **PATCH** /spaces/{space_id}/collaborators | Update Space Collaborator
+*SpacesApi* | [**updateSpaceSpacesSpaceIdPatch**](docs/SpacesApi.md#updateSpaceSpacesSpaceIdPatch) | **PATCH** /spaces/{space_id} | Update Space
+*StoragesApi* | [**grantS3PermissionsStoragesS3BucketNamePermissionsPut**](docs/StoragesApi.md#grantS3PermissionsStoragesS3BucketNamePermissionsPut) | **PUT** /storages/s3/{bucket_name}/permissions | Grant S3 Permissions
+*TeamsApi* | [**addTeamMemberTeamsTeamIdMembersAccountIdPut**](docs/TeamsApi.md#addTeamMemberTeamsTeamIdMembersAccountIdPut) | **PUT** /teams/{team_id}/members/{account_id} | Add Team Member
+*TeamsApi* | [**createTeamTeamsPut**](docs/TeamsApi.md#createTeamTeamsPut) | **PUT** /teams | Create Team
+*TeamsApi* | [**deleteTeamTeamsTeamIdDelete**](docs/TeamsApi.md#deleteTeamTeamsTeamIdDelete) | **DELETE** /teams/{team_id} | Delete Team
+*TeamsApi* | [**getTeamTeamsTeamIdGet**](docs/TeamsApi.md#getTeamTeamsTeamIdGet) | **GET** /teams/{team_id} | Get Team
+*TeamsApi* | [**listOrganizationTeamsTeamsOrganizationsOrganizationIdGet**](docs/TeamsApi.md#listOrganizationTeamsTeamsOrganizationsOrganizationIdGet) | **GET** /teams/organizations/{organization_id} | List Organization Teams
+*TeamsApi* | [**listTeamMembersTeamsTeamIdMembersGet**](docs/TeamsApi.md#listTeamMembersTeamsTeamIdMembersGet) | **GET** /teams/{team_id}/members | List Team Members
+*TeamsApi* | [**removeTeamMemberTeamsTeamIdMembersAccountIdDelete**](docs/TeamsApi.md#removeTeamMemberTeamsTeamIdMembersAccountIdDelete) | **DELETE** /teams/{team_id}/members/{account_id} | Remove Team Member
+*TeamsApi* | [**updateTeamMemberTeamsTeamIdMembersAccountIdPatch**](docs/TeamsApi.md#updateTeamMemberTeamsTeamIdMembersAccountIdPatch) | **PATCH** /teams/{team_id}/members/{account_id} | Update Team Member
+*TeamsApi* | [**updateTeamTeamsTeamIdPatch**](docs/TeamsApi.md#updateTeamTeamsTeamIdPatch) | **PATCH** /teams/{team_id} | Update Team
## Documentation for Models
@@ -202,24 +202,38 @@ Class | Method | HTTP request | Description
- [AddSpaceCollaboratorRequestBody](docs/AddSpaceCollaboratorRequestBody.md)
- [AddTeamMemberRequestBody](docs/AddTeamMemberRequestBody.md)
- [AttachSpaceToRecordRequestBody](docs/AttachSpaceToRecordRequestBody.md)
+ - [BatchDeleteBody](docs/BatchDeleteBody.md)
+ - [BatchDeleteResponse](docs/BatchDeleteResponse.md)
+ - [BatchSyncLinksBody](docs/BatchSyncLinksBody.md)
+ - [BatchSyncResponse](docs/BatchSyncResponse.md)
+ - [BatchUpdateBody](docs/BatchUpdateBody.md)
+ - [Body](docs/Body.md)
- [CreateArtifactRequestBody](docs/CreateArtifactRequestBody.md)
- [CreateSpaceRequestBody](docs/CreateSpaceRequestBody.md)
- [CreateTeamRequestBody](docs/CreateTeamRequestBody.md)
- [CreateTransformRequestBody](docs/CreateTransformRequestBody.md)
- - [DbUrlRequest](docs/DbUrlRequest.md)
- [Dimension](docs/Dimension.md)
+ - [ErrorDetail](docs/ErrorDetail.md)
+ - [ExecuteFunctionRequestBody](docs/ExecuteFunctionRequestBody.md)
+ - [ExportRecordsRequestBody](docs/ExportRecordsRequestBody.md)
- [GetRecordRequestBody](docs/GetRecordRequestBody.md)
- [GetRecordsRequestBody](docs/GetRecordsRequestBody.md)
- [GetValuesRequestBody](docs/GetValuesRequestBody.md)
- [GroupByRequestBody](docs/GroupByRequestBody.md)
- [HTTPValidationError](docs/HTTPValidationError.md)
- [Measure](docs/Measure.md)
+ - [NonEmptyTablesResponse](docs/NonEmptyTablesResponse.md)
- [OrderByColumn](docs/OrderByColumn.md)
- [RegisterDbServerBody](docs/RegisterDbServerBody.md)
- [RegisterFormRequest](docs/RegisterFormRequest.md)
+ - [Request](docs/Request.md)
- [Role](docs/Role.md)
- [Role1](docs/Role1.md)
- [S3PermissionsRequest](docs/S3PermissionsRequest.md)
+ - [StatisticsResponse](docs/StatisticsResponse.md)
+ - [SyncInstruction](docs/SyncInstruction.md)
+ - [TraversalParams](docs/TraversalParams.md)
+ - [TraversalParamsValuesInner](docs/TraversalParamsValuesInner.md)
- [UpdateCollaboratorRequestBody](docs/UpdateCollaboratorRequestBody.md)
- [UpdateOrganizationMemberRequestBody](docs/UpdateOrganizationMemberRequestBody.md)
- [UpdateSpaceCollaboratorRequestBody](docs/UpdateSpaceCollaboratorRequestBody.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 7621552..05a0064 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -3,50 +3,36 @@ info:
title: FastAPI
version: 0.1.0
servers:
-- url: https://aws.us-east-1.lamin.ai/api
+- url: https://staging.laminhub.com/api
paths:
- /instances:
- put:
- operationId: create_instance_instances_put
+ /organizations/{organization_id}:
+ get:
+ description: |-
+ Get details of a specific organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to retrieve
+
+ Returns:
+ - **200**: Organization details retrieved successfully
+ - **404**: Organization not found
+ operationId: get_organization_organizations__organization_id__get
parameters:
- - explode: true
- in: query
- name: name
+ - explode: false
+ in: path
+ name: organization_id
required: true
schema:
- title: Name
- type: string
- style: form
- - explode: true
- in: query
- name: storage
- required: false
- schema:
- default: create-s3
- title: Storage
- type: string
- style: form
- - explode: true
- in: query
- name: schema_str
- required: false
- schema:
- nullable: true
- type: string
- style: form
- - explode: true
- in: query
- name: db_server_key
- required: false
- schema:
- nullable: true
+ format: uuid
+ title: Organization Id
type: string
- style: form
+ style: simple
- explode: true
in: query
- name: storage_uid
+ name: instance_id
required: false
schema:
+ format: uuid
nullable: true
type: string
style: form
@@ -70,28 +56,39 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Create Instance
+ summary: Get Organization
+ tags:
+ - Organizations
x-accepts:
- application/json
- /instances/{instance_id}:
- delete:
- operationId: delete_instance_instances__instance_id__delete
+ /organizations/{organization_id}/members:
+ get:
+ description: |-
+ List all members of an organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to list members for
+
+ Returns:
+ - **200**: List of organization members retrieved successfully
+ operationId: list_organization_members_organizations__organization_id__members_get
parameters:
- explode: false
in: path
- name: instance_id
+ name: organization_id
required: true
schema:
format: uuid
- nullable: true
+ title: Organization Id
type: string
style: simple
- explode: true
in: query
- name: instance_name
- required: true
+ name: instance_id
+ required: false
schema:
- title: Instance Name
+ format: uuid
+ nullable: true
type: string
style: form
- explode: false
@@ -114,37 +111,46 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Delete Instance
+ summary: List Organization Members
+ tags:
+ - Organizations
x-accepts:
- application/json
- /instances/{instance_id}/statistics:
- get:
- operationId: get_instance_statistics_instances__instance_id__statistics_get
+ /organizations/{organization_id}/members/{account_id}:
+ delete:
+ description: |-
+ Remove a member from an organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to remove the member from
+ - **account_id**: UUID of the account to remove from the organization
+
+ Returns:
+ - **200**: Organization member removed successfully
+ - **404**: Member not found in organization
+ operationId: remove_organization_member_organizations__organization_id__members__account_id__delete
parameters:
- explode: false
in: path
- name: instance_id
+ name: organization_id
required: true
schema:
format: uuid
- nullable: true
+ title: Organization Id
type: string
style: simple
- - description: "In ${module}.${model} format (case-sensitive)"
- explode: true
- in: query
- name: q
- required: false
+ - explode: false
+ in: path
+ name: account_id
+ required: true
schema:
- items:
- nullable: true
- type: string
- nullable: true
- type: array
- style: form
+ format: uuid
+ title: Account Id
+ type: string
+ style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -171,25 +177,47 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Instance Statistics
+ summary: Remove Organization Member
+ tags:
+ - Organizations
x-accepts:
- application/json
- /instances/{instance_id}/non_empty_tables:
- get:
- operationId: get_non_empty_tables_instances__instance_id__non_empty_tables_get
+ patch:
+ description: |-
+ Update an organization member's details.
+
+ Parameters:
+ - **organization_id**: UUID of the organization the member belongs to
+ - **account_id**: UUID of the account to update
+ - **body**: Request body containing updated member details
+ - **role**: Role of the member in the organization
+
+ Returns:
+ - **200**: Organization member updated successfully
+ - **404**: Member not found in organization
+ operationId: update_organization_member_organizations__organization_id__members__account_id__patch
parameters:
- explode: false
in: path
- name: instance_id
+ name: organization_id
required: true
schema:
format: uuid
- nullable: true
+ title: Organization Id
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: account_id
+ required: true
+ schema:
+ format: uuid
+ title: Account Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -204,6 +232,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UpdateOrganizationMemberRequestBody'
+ required: true
responses:
"200":
content:
@@ -216,33 +250,47 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Non Empty Tables
+ summary: Update Organization Member
+ tags:
+ - Organizations
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/owner/{handle}:
- patch:
- operationId: transfer_ownership_instances__instance_id__owner__handle__patch
+ put:
+ description: |-
+ Add a member to an organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to add the member to
+ - **account_id**: UUID of the account to add as a member
+ - **body**: Request body containing member details
+ - **role**: Role of the member in the organization
+
+ Returns:
+ - **201**: Organization member added successfully
+ operationId: add_organization_member_organizations__organization_id__members__account_id__put
parameters:
- explode: false
in: path
- name: handle
+ name: organization_id
required: true
schema:
- title: Handle
+ format: uuid
+ title: Organization Id
type: string
style: simple
- explode: false
in: path
- name: instance_id
+ name: account_id
required: true
schema:
format: uuid
- nullable: true
+ title: Account Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -257,6 +305,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AddOrganizationMemberRequestBody'
+ required: true
responses:
"200":
content:
@@ -269,31 +323,25 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Transfer Ownership
+ summary: Add Organization Member
+ tags:
+ - Organizations
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/collaborators/{account_id}:
- delete:
- operationId: delete_collaborator_instances__instance_id__collaborators__account_id__delete
+ /account:
+ get:
+ operationId: get_caller_account_account_get
parameters:
- - explode: false
- in: path
+ - explode: true
+ in: query
name: instance_id
- required: true
+ required: false
schema:
format: uuid
nullable: true
type: string
- style: simple
- - explode: false
- in: path
- name: account_id
- required: true
- schema:
- format: uuid
- title: Account Id
- type: string
- style: simple
+ style: form
- explode: false
in: header
name: Authorization
@@ -314,41 +362,34 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Delete Collaborator
+ summary: Get Caller Account
+ tags:
+ - Accounts
x-accepts:
- application/json
- patch:
- operationId: update_collaborator_instances__instance_id__collaborators__account_id__patch
+ /spaces:
+ put:
+ description: |-
+ Create a new space.
+
+ Parameters:
+ - **body**: Request body containing space details
+ - **name**: Name of the space
+ - **organization_id**: UUID of the organization
+ - **description**: Optional description of the space
+
+ Returns:
+ - **201**: Space created successfully
+ operationId: create_space_spaces_put
parameters:
- - explode: false
- in: path
+ - explode: true
+ in: query
name: instance_id
- required: true
+ required: false
schema:
format: uuid
nullable: true
type: string
- style: simple
- - explode: false
- in: path
- name: account_id
- required: true
- schema:
- format: uuid
- title: Account Id
- type: string
- style: simple
- - explode: true
- in: query
- name: role
- required: true
- schema:
- enum:
- - admin
- - write
- - read
- title: Role
- type: string
style: form
- explode: false
in: header
@@ -358,6 +399,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CreateSpaceRequestBody'
+ required: true
responses:
"200":
content:
@@ -370,50 +417,96 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Collaborator
+ summary: Create Space
+ tags:
+ - Spaces
+ x-content-type: application/json
x-accepts:
- application/json
- put:
- operationId: add_collaborator_instances__instance_id__collaborators__account_id__put
+ /spaces/{space_id}:
+ delete:
+ description: |-
+ Delete a space and detach it from the instance.
+
+ Parameters:
+ - **space_id**: ID of the space to delete
+
+ Returns:
+ - **200**: Space deleted successfully
+ - **404**: Space not found
+ operationId: delete_space_spaces__space_id__delete
parameters:
- explode: false
in: path
- name: instance_id
+ name: space_id
required: true
schema:
format: uuid
- nullable: true
+ title: Space Id
type: string
style: simple
- - explode: false
- in: path
- name: account_id
- required: true
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
schema:
format: uuid
- title: Account Id
+ nullable: true
+ type: string
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
- - explode: true
- in: query
- name: schema_id
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: Delete Space
+ tags:
+ - Spaces
+ x-accepts:
+ - application/json
+ get:
+ description: |-
+ Get details of a specific space.
+
+ Parameters:
+ - **space_id**: ID of the space to retrieve
+
+ Returns:
+ - **200**: Space details retrieved successfully
+ - **404**: Space not found
+ operationId: get_space_spaces__space_id__get
+ parameters:
+ - explode: false
+ in: path
+ name: space_id
required: true
schema:
format: uuid
- title: Schema Id
+ title: Space Id
type: string
- style: form
+ style: simple
- explode: true
in: query
- name: role
+ name: instance_id
required: false
schema:
- default: read
- enum:
- - admin
- - write
- - read
- title: Role
+ format: uuid
+ nullable: true
type: string
style: form
- explode: false
@@ -436,37 +529,41 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Add Collaborator
+ summary: Get Space
+ tags:
+ - Spaces
x-accepts:
- application/json
- /storages/s3/{bucket_name}/permissions:
- put:
- operationId: grant_s3_permissions_storages_s3__bucket_name__permissions_put
+ patch:
+ description: |-
+ Update a space's details.
+
+ Parameters:
+ - **space_id**: ID of the space to update
+ - **body**: Request body containing updated space details
+ - **name**: Optional new name for the space
+ - **description**: Optional new description for the space
+
+ Returns:
+ - **200**: Space updated successfully
+ operationId: update_space_spaces__space_id__patch
parameters:
- explode: false
in: path
- name: bucket_name
+ name: space_id
required: true
schema:
- title: Bucket Name
+ format: uuid
+ title: Space Id
type: string
style: simple
- explode: true
in: query
- name: aws_account_id
- required: false
- schema:
- default: "767398070972"
- title: Aws Account Id
- type: string
- style: form
- - explode: true
- in: query
- name: aws_user_name
+ name: instance_id
required: false
schema:
- default: lamin-manager
- title: Aws User Name
+ format: uuid
+ nullable: true
type: string
style: form
- explode: false
@@ -481,7 +578,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/S3PermissionsRequest'
+ $ref: '#/components/schemas/UpdateSpaceRequestBody'
required: true
responses:
"200":
@@ -495,23 +592,49 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Grant S3 Permissions
+ summary: Update Space
+ tags:
+ - Spaces
x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/schema:
- get:
- operationId: get_schema_instances__instance_id__schema_get
+ /spaces/{space_id}/record-attachments:
+ put:
+ description: |-
+ Move a record to a specific space.
+
+ Parameters:
+ - **space_id**: ID of the space to move the record to
+ - **body**: Request body containing record details
+ - **module_name**: Module name of the record
+ - **model_name**: Model name of the record
+ - **record_id**: ID of the record to move in the space
+ - **instance_id**: UUID of the instance (from URL path)
+ - **schema_id**: UUID of the schema (from URL path)
+
+ Returns:
+ - **200**: Record moved to the space successfully
+
+ Requires admin access to the instance
+ operationId: move_record_to_space_spaces__space_id__record_attachments_put
parameters:
- - explode: false
- in: path
- name: instance_id
+ - explode: true
+ in: query
+ name: instance_db_space_id
required: true
+ schema:
+ title: Instance Db Space Id
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
schema:
format: uuid
nullable: true
type: string
- style: simple
+ style: form
- explode: false
in: header
name: Authorization
@@ -520,6 +643,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/AttachSpaceToRecordRequestBody'
+ required: true
responses:
"200":
content:
@@ -532,27 +661,34 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Schema
+ summary: Move Record To Space
+ tags:
+ - Spaces
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/schema/{module_name}/{model_name}:
- get:
- operationId: get_relations_instances__instance_id__schema__module_name___model_name__get
+ /spaces/{space_id}/instances/{instance_id}:
+ delete:
+ description: |-
+ Detach a space from a specific instance.
+
+ Parameters:
+ - **space_id**: ID of the space to detach
+ - **instance_id**: UUID of the instance to detach the space from (from URL path)
+
+ Returns:
+ - **200**: Space detached from instance successfully
+
+ Requires admin access to the instance
+ operationId: detach_space_from_instance_spaces__space_id__instances__instance_id__delete
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
+ name: space_id
required: true
schema:
- title: Model Name
+ format: uuid
+ title: Space Id
type: string
style: simple
- explode: false
@@ -584,77 +720,92 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Relations
+ summary: Detach Space From Instance
+ tags:
+ - Spaces
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}:
- post:
- operationId: get_records_instances__instance_id__modules__module_name___model_name__post
+ put:
+ description: |-
+ Attach a space to a specific instance.
+
+ Parameters:
+ - **space_id**: ID of the space to attach
+ - **instance_id**: UUID of the instance to attach the space to (from URL path)
+
+ Returns:
+ - **200**: Space attached to instance successfully
+
+ Requires admin access to the instance
+ operationId: attach_space_to_instance_spaces__space_id__instances__instance_id__put
parameters:
- explode: false
in: path
- name: module_name
+ name: space_id
required: true
schema:
- title: Module Name
+ format: uuid
+ title: Space Id
type: string
style: simple
- explode: false
in: path
- name: model_name
+ name: instance_id
required: true
schema:
- title: Model Name
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: Attach Space To Instance
+ tags:
+ - Spaces
+ x-accepts:
+ - application/json
+ /spaces/{space_id}/instances:
+ get:
+ description: |-
+ List all instances that have this space attached.
+
+ Parameters:
+ - **space_id**: ID of the space to check
+
+ Returns:
+ - **200**: List of instances using the space retrieved successfully
+ operationId: list_instances_using_space_spaces__space_id__instances_get
+ parameters:
- explode: false
in: path
- name: instance_id
+ name: space_id
required: true
schema:
format: uuid
- nullable: true
+ title: Space Id
type: string
style: simple
- explode: true
in: query
- name: limit
- required: false
- schema:
- default: 50
- title: Limit
- type: integer
- style: form
- - explode: true
- in: query
- name: offset
- required: false
- schema:
- default: 0
- title: Offset
- type: integer
- style: form
- - explode: true
- in: query
- name: limit_to_many
- required: false
- schema:
- default: 10
- title: Limit To Many
- type: integer
- style: form
- - explode: true
- in: query
- name: include_foreign_keys
- required: false
- schema:
- default: false
- title: Include Foreign Keys
- type: boolean
- style: form
- - explode: true
- in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -669,11 +820,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GetRecordsRequestBody'
responses:
"200":
content:
@@ -686,29 +832,23 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Records
- x-content-type: application/json
+ summary: List Instances Using Space
+ tags:
+ - Spaces
x-accepts:
- application/json
- put:
- operationId: create_records_instances__instance_id__modules__module_name___model_name__put
+ /spaces/instances/{instance_id}:
+ get:
+ description: |-
+ List all spaces attached to an instance.
+
+ Parameters:
+ - **instance_id**: UUID of the instance to list spaces for (from URL path)
+
+ Returns:
+ - **200**: List of spaces attached to the instance retrieved successfully
+ operationId: list_instance_spaces_spaces_instances__instance_id__get
parameters:
- - explode: false
- in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- explode: false
in: path
name: instance_id
@@ -718,15 +858,6 @@ paths:
nullable: true
type: string
style: simple
- - explode: true
- in: query
- name: schema_id
- required: false
- schema:
- format: uuid
- nullable: true
- type: string
- style: form
- explode: false
in: header
name: Authorization
@@ -735,11 +866,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema: {}
- required: true
responses:
"200":
content:
@@ -752,42 +878,56 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Create Records
- x-content-type: application/json
+ summary: List Instance Spaces
+ tags:
+ - Spaces
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/group-by:
- post:
- operationId: group_by_instances__instance_id__modules__module_name___model_name__group_by_post
+ /spaces/{space_id}/collaborators:
+ delete:
+ description: |-
+ Remove a collaborator (account or team) from a space.
+
+ Parameters:
+ - **space_id**: ID of the space to remove the collaborator from
+ - **account_id**: UUID of the account to remove (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to remove (mutually exclusive with account_id)
+
+ Returns:
+ - **200**: Collaborator removed from space successfully
+ - **400**: Invalid input (e.g., both account_id and team_id provided or neither provided)
+ operationId: remove_space_collaborator_spaces__space_id__collaborators_delete
parameters:
- explode: false
in: path
- name: module_name
+ name: space_id
required: true
schema:
- title: Module Name
+ format: uuid
+ title: Space Id
type: string
style: simple
- - explode: false
- in: path
- name: model_name
- required: true
+ - explode: true
+ in: query
+ name: account_id
+ required: false
schema:
- title: Model Name
+ format: uuid
+ nullable: true
type: string
- style: simple
- - explode: false
- in: path
- name: instance_id
- required: true
+ style: form
+ - explode: true
+ in: query
+ name: team_id
+ required: false
schema:
format: uuid
nullable: true
type: string
- style: simple
+ style: form
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -802,12 +942,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GroupByRequestBody'
- required: true
responses:
"200":
content:
@@ -820,68 +954,94 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Group By
- x-content-type: application/json
+ summary: Remove Space Collaborator
+ tags:
+ - Spaces
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path}:
- post:
- operationId: get_values_instances__instance_id__modules__module_name___model_name__fields__field_path__post
+ get:
+ description: |-
+ List all collaborators of a space.
+
+ Parameters:
+ - **space_id**: ID of the space to list collaborators for
+
+ Returns:
+ - **200**: List of space collaborators retrieved successfully
+ operationId: list_space_collaborators_spaces__space_id__collaborators_get
parameters:
- explode: false
in: path
- name: module_name
+ name: space_id
required: true
schema:
- title: Module Name
+ format: uuid
+ title: Space Id
type: string
style: simple
- - explode: false
- in: path
- name: model_name
- required: true
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
schema:
- title: Model Name
+ format: uuid
+ nullable: true
type: string
- style: simple
+ style: form
- explode: false
- in: path
- name: field_path
- required: true
+ in: header
+ name: Authorization
+ required: false
schema:
- title: Field Path
+ nullable: true
type: string
style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: List Space Collaborators
+ tags:
+ - Spaces
+ x-accepts:
+ - application/json
+ patch:
+ description: |-
+ Update a collaborator's permissions in a space.
+
+ Parameters:
+ - **space_id**: ID of the space to update the collaborator in
+ - **body**: Request body containing collaborator details
+ - **account_id**: UUID of the account to update (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to update (mutually exclusive with account_id)
+ - **role**: Role of the collaborator
+
+ Returns:
+ - **200**: Collaborator updated successfully
+ - **400**: Invalid input (e.g., both account_id and team_id provided)
+ - **404**: Collaborator not found in space
+ operationId: update_space_collaborator_spaces__space_id__collaborators_patch
+ parameters:
- explode: false
in: path
- name: instance_id
+ name: space_id
required: true
schema:
format: uuid
- nullable: true
+ title: Space Id
type: string
style: simple
- explode: true
in: query
- name: limit
- required: false
- schema:
- default: 50
- title: Limit
- type: integer
- style: form
- - explode: true
- in: query
- name: offset
- required: false
- schema:
- default: 0
- title: Offset
- type: integer
- style: form
- - explode: true
- in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -900,7 +1060,8 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GetValuesRequestBody'
+ $ref: '#/components/schemas/UpdateSpaceCollaboratorRequestBody'
+ required: true
responses:
"200":
content:
@@ -913,68 +1074,40 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Values
+ summary: Update Space Collaborator
+ tags:
+ - Spaces
x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid}:
- post:
- operationId: get_record_instances__instance_id__modules__module_name___model_name___id_or_uid__post
+ put:
+ description: |-
+ Add a collaborator (account or team) to a space.
+
+ Parameters:
+ - **space_id**: ID of the space to add the collaborator to
+ - **body**: Request body containing collaborator details
+ - **account_id**: UUID of the account to add (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to add (mutually exclusive with account_id)
+ - **role**: Role of the collaborator
+
+ Returns:
+ - **201**: Collaborator added to space successfully
+ - **400**: Invalid input (e.g., both account_id and team_id provided)
+ operationId: add_space_collaborator_spaces__space_id__collaborators_put
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: id_or_uid
- required: true
- schema:
- title: Id Or Uid
- type: string
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: space_id
required: true
schema:
format: uuid
- nullable: true
+ title: Space Id
type: string
style: simple
- explode: true
in: query
- name: limit_to_many
- required: false
- schema:
- default: 10
- title: Limit To Many
- type: integer
- style: form
- - explode: true
- in: query
- name: include_foreign_keys
- required: false
- schema:
- default: false
- title: Include Foreign Keys
- type: boolean
- style: form
- - explode: true
- in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -993,7 +1126,8 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GetRecordRequestBody'
+ $ref: '#/components/schemas/AddSpaceCollaboratorRequestBody'
+ required: true
responses:
"200":
content:
@@ -1006,70 +1140,36 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Record
+ summary: Add Space Collaborator
+ tags:
+ - Spaces
x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id}:
- delete:
- operationId: detach_label_instances__instance_id__modules__module_name___model_name___id___label_field___label_id__delete
+ /spaces/organizations/{organization_id}:
+ get:
+ description: |-
+ List all spaces in an organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to list spaces for
+
+ Returns:
+ - **200**: List of spaces retrieved successfully
+ operationId: list_organization_spaces_spaces_organizations__organization_id__get
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- enum:
- - artifact
- - transform
- - collection
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: id
- required: true
- schema:
- title: Id
- type: integer
- style: simple
- - explode: false
- in: path
- name: label_field
- required: true
- schema:
- title: Label Field
- type: string
- style: simple
- - explode: false
- in: path
- name: label_id
- required: true
- schema:
- title: Label Id
- type: integer
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: organization_id
required: true
schema:
format: uuid
- nullable: true
+ title: Organization Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1096,68 +1196,29 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Detach Label
+ summary: List Organization Spaces
+ tags:
+ - Spaces
x-accepts:
- application/json
+ /teams:
put:
- operationId: attach_label_instances__instance_id__modules__module_name___model_name___id___label_field___label_id__put
+ description: |-
+ Create a new team.
+
+ Parameters:
+ - **body**: Request body containing team details
+ - **name**: Name of the team
+ - **organization_id**: UUID of the organization
+ - **description**: Optional description of the team
+
+ Returns:
+ - **201**: Team created successfully
+ operationId: create_team_teams_put
parameters:
- - explode: false
- in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- enum:
- - artifact
- - transform
- - collection
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: id
- required: true
- schema:
- title: Id
- type: integer
- style: simple
- - explode: false
- in: path
- name: label_field
- required: true
- schema:
- title: Label Field
- type: string
- style: simple
- - explode: false
- in: path
- name: label_id
- required: true
- schema:
- title: Label Id
- type: integer
- style: simple
- - explode: false
- in: path
- name: instance_id
- required: true
- schema:
- format: uuid
- nullable: true
- type: string
- style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1172,6 +1233,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CreateTeamRequestBody'
+ required: true
responses:
"200":
content:
@@ -1184,51 +1251,36 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Attach Label
+ summary: Create Team
+ tags:
+ - Teams
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/upsert:
- put:
- operationId: upsert_records_instances__instance_id__modules__module_name___model_name__upsert_put
+ /teams/{team_id}:
+ delete:
+ description: |-
+ Delete a team.
+
+ Parameters:
+ - **team_id**: UUID of the team to delete
+
+ Returns:
+ - **200**: Team deleted successfully
+ operationId: delete_team_teams__team_id__delete
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
type: string
style: simple
- explode: true
in: query
- name: conflict_columns
- required: false
- schema:
- items:
- type: string
- nullable: true
- type: array
- style: form
- - explode: true
- in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1243,11 +1295,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema: {}
- required: true
responses:
"200":
content:
@@ -1260,50 +1307,35 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Upsert Records
- x-content-type: application/json
+ summary: Delete Team
+ tags:
+ - Teams
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/{uid}:
- delete:
- operationId: delete_record_instances__instance_id__modules__module_name___model_name___uid__delete
+ get:
+ description: |-
+ Get details of a specific team.
+
+ Parameters:
+ - **team_id**: UUID of the team to retrieve
+
+ Returns:
+ - **200**: Team details retrieved successfully
+ - **404**: Team not found
+ operationId: get_team_teams__team_id__get
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: uid
- required: true
- schema:
- title: Uid
- type: string
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1330,48 +1362,37 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Delete Record
+ summary: Get Team
+ tags:
+ - Teams
x-accepts:
- application/json
patch:
- operationId: update_record_instances__instance_id__modules__module_name___model_name___uid__patch
+ description: |-
+ Update a team's details.
+
+ Parameters:
+ - **team_id**: UUID of the team to update
+ - **body**: Request body containing updated team details
+ - **name**: Optional new name for the team
+ - **description**: Optional new description for the team
+
+ Returns:
+ - **200**: Team updated successfully
+ operationId: update_team_teams__team_id__patch
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: uid
- required: true
- schema:
- title: Uid
- type: string
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1389,7 +1410,8 @@ paths:
requestBody:
content:
application/json:
- schema: {}
+ schema:
+ $ref: '#/components/schemas/UpdateTeamRequestBody'
required: true
responses:
"200":
@@ -1403,50 +1425,36 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Record
+ summary: Update Team
+ tags:
+ - Teams
x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts:
+ /teams/{team_id}/members:
get:
- operationId: get_relation_counts_instances__instance_id__modules__module_name___model_name___id__counts_get
+ description: |-
+ List all members of a team.
+
+ Parameters:
+ - **team_id**: UUID of the team to list members for
+
+ Returns:
+ - **200**: List of team members retrieved successfully
+ operationId: list_team_members_teams__team_id__members_get
parameters:
- explode: false
in: path
- name: module_name
- required: true
- schema:
- title: Module Name
- type: string
- style: simple
- - explode: false
- in: path
- name: model_name
- required: true
- schema:
- title: Model Name
- type: string
- style: simple
- - explode: false
- in: path
- name: id
- required: true
- schema:
- title: Id
- type: integer
- style: simple
- - explode: false
- in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
type: string
style: simple
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -1473,22 +1481,52 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Relation Counts
+ summary: List Team Members
+ tags:
+ - Teams
x-accepts:
- application/json
- /instances/{instance_id}/artifacts/upload:
- post:
- operationId: upload_artifact_instances__instance_id__artifacts_upload_post
+ /teams/{team_id}/members/{account_id}:
+ delete:
+ description: |-
+ Remove a member from a team.
+
+ Parameters:
+ - **team_id**: UUID of the team to remove the member from
+ - **account_id**: UUID of the account to remove from the team
+
+ Returns:
+ - **200**: Team member removed successfully
+ - **404**: Member not found in team
+ operationId: remove_team_member_teams__team_id__members__account_id__delete
parameters:
- explode: false
in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: account_id
+ required: true
+ schema:
+ format: uuid
+ title: Account Id
type: string
style: simple
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
- explode: false
in: header
name: Authorization
@@ -1497,12 +1535,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- multipart/form-data:
- schema:
- $ref: '#/components/schemas/Body_upload_artifact_instances__instance_id__artifacts_upload_post'
- required: true
responses:
"200":
content:
@@ -1515,23 +1547,53 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Upload Artifact
- x-content-type: multipart/form-data
+ summary: Remove Team Member
+ tags:
+ - Teams
x-accepts:
- application/json
- /instances/{instance_id}/artifacts/create:
- post:
- operationId: create_artifact_instances__instance_id__artifacts_create_post
+ patch:
+ description: |-
+ Update a team member's details.
+
+ Parameters:
+ - **team_id**: UUID of the team the member belongs to
+ - **account_id**: UUID of the account to update
+ - **body**: Request body containing updated member details
+ - **role**: Role of the member in the team
+
+ Returns:
+ - **200**: Team member updated successfully
+ - **404**: Member not found in team
+ operationId: update_team_member_teams__team_id__members__account_id__patch
parameters:
- explode: false
in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: account_id
+ required: true
+ schema:
+ format: uuid
+ title: Account Id
type: string
style: simple
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
- explode: false
in: header
name: Authorization
@@ -1544,7 +1606,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CreateArtifactRequestBody'
+ $ref: '#/components/schemas/UpdateTeamMemberRequestBody'
required: true
responses:
"200":
@@ -1558,23 +1620,53 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Create Artifact
+ summary: Update Team Member
+ tags:
+ - Teams
x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/transforms:
- post:
- operationId: create_transform_instances__instance_id__transforms_post
+ put:
+ description: |-
+ Add a member to a team.
+
+ Parameters:
+ - **team_id**: UUID of the team to add the member to
+ - **account_id**: UUID of the account to add as a member
+ - **body**: Request body containing member details
+ - **role**: Role of the member in the team
+
+ Returns:
+ - **201**: Team member added successfully
+ operationId: add_team_member_teams__team_id__members__account_id__put
parameters:
- explode: false
in: path
- name: instance_id
+ name: team_id
required: true
schema:
format: uuid
- nullable: true
+ title: Team Id
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: account_id
+ required: true
+ schema:
+ format: uuid
+ title: Account Id
type: string
style: simple
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
- explode: false
in: header
name: Authorization
@@ -1587,7 +1679,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CreateTransformRequestBody'
+ $ref: '#/components/schemas/AddTeamMemberRequestBody'
required: true
responses:
"200":
@@ -1601,21 +1693,49 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Create Transform
+ summary: Add Team Member
+ tags:
+ - Teams
x-content-type: application/json
x-accepts:
- application/json
- /s3/{path}:
- delete:
- operationId: proxy_s3_s3__path__get
+ /teams/organizations/{organization_id}:
+ get:
+ description: |-
+ List all teams in an organization.
+
+ Parameters:
+ - **organization_id**: UUID of the organization to list teams for
+
+ Returns:
+ - **200**: List of teams retrieved successfully
+ operationId: list_organization_teams_teams_organizations__organization_id__get
parameters:
- explode: false
in: path
- name: path
+ name: organization_id
required: true
schema:
- title: Path
- type: string
+ format: uuid
+ title: Organization Id
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
+ type: string
style: simple
responses:
"200":
@@ -1629,20 +1749,88 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Proxy S3
+ summary: List Organization Teams
+ tags:
+ - Teams
x-accepts:
- application/json
- get:
- operationId: proxy_s3_s3__path__get
+ /instances:
+ put:
+ operationId: create_instance_instances_put
parameters:
- - explode: false
- in: path
- name: path
+ - explode: true
+ in: query
+ name: name
required: true
schema:
- title: Path
+ title: Name
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: storage
+ required: false
+ schema:
+ default: create-s3
+ title: Storage
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: schema_str
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: db_server_name
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: storage_uid
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: account_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ additionalProperties: {}
+ nullable: true
responses:
"200":
content:
@@ -1655,18 +1843,39 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Proxy S3
+ summary: Create Instance
+ tags:
+ - Instances
+ x-content-type: application/json
x-accepts:
- application/json
- head:
- operationId: proxy_s3_s3__path__get
+ /instances/{instance_id}:
+ delete:
+ operationId: delete_instance_instances__instance_id__delete
parameters:
- explode: false
in: path
- name: path
+ name: instance_id
required: true
schema:
- title: Path
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: instance_name
+ required: true
+ schema:
+ title: Instance Name
+ type: string
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
responses:
@@ -1681,18 +1890,38 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Proxy S3
+ summary: Delete Instance
+ tags:
+ - Instances
x-accepts:
- application/json
- post:
- operationId: proxy_s3_s3__path__get
+ /instances/{instance_id}/owner/{handle}:
+ patch:
+ operationId: transfer_ownership_instances__instance_id__owner__handle__patch
parameters:
- explode: false
in: path
- name: path
+ name: handle
required: true
schema:
- title: Path
+ title: Handle
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
responses:
@@ -1707,18 +1936,30 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Proxy S3
+ summary: Transfer Ownership
+ tags:
+ - Instances
x-accepts:
- application/json
- put:
- operationId: proxy_s3_s3__path__get
+ /instances/{instance_id}/migrate:
+ post:
+ operationId: migrate_instance_instances__instance_id__migrate_post
parameters:
- explode: false
in: path
- name: path
+ name: instance_id
required: true
schema:
- title: Path
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
type: string
style: simple
responses:
@@ -1733,25 +1974,26 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Proxy S3
+ summary: Migrate Instance
+ tags:
+ - Instances
x-accepts:
- application/json
- /access_v2/instances/{instance_id}/collaborators:
- delete:
+ /instances/{instance_id}/db_token:
+ get:
description: |-
- Remove a collaborator from an instance.
+ Get a database token for the specified instance.
+
+ This token can be used to authenticate with the instance's database.
Parameters:
- - **instance_id**: UUID of the instance (from URL path)
- - **account_id**: UUID of the account to remove (mutually exclusive with team_id)
- - **team_id**: UUID of the team to remove (mutually exclusive with account_id)
+ - **instance_id**: UUID of the instance to get the token for (from URL path)
Returns:
- - **200**: Collaborator removed successfully
- - **400**: Invalid input (e.g., both account_id and team_id provided)
-
- Requires admin access to the instance
- operationId: remove_collaborator_access_v2_instances__instance_id__collaborators_delete
+ - **200**: Database token retrieved successfully
+ - **token**: The database token
+ - **401**: Unauthorized
+ operationId: get_db_token_instances__instance_id__db_token_get
parameters:
- explode: false
in: path
@@ -1762,24 +2004,6 @@ paths:
nullable: true
type: string
style: simple
- - explode: true
- in: query
- name: account_id
- required: false
- schema:
- format: uuid
- nullable: true
- type: string
- style: form
- - explode: true
- in: query
- name: team_id
- required: false
- schema:
- format: uuid
- nullable: true
- type: string
- style: form
- explode: false
in: header
name: Authorization
@@ -1800,21 +2024,14 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Remove Collaborator
+ summary: Get Db Token
+ tags:
+ - Instance DB Token
x-accepts:
- application/json
+ /instances/{instance_id}/schema:
get:
- description: |-
- List all collaborators of an instance.
-
- Parameters:
- - **instance_id**: UUID of the instance to list collaborators for (from URL path)
-
- Returns:
- - **200**: List of instance collaborators retrieved successfully
-
- Requires read access to the instance
- operationId: list_collaborators_access_v2_instances__instance_id__collaborators_get
+ operationId: get_schema_instances__instance_id__schema_get
parameters:
- explode: false
in: path
@@ -1845,27 +2062,31 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Collaborators
+ summary: Get Schema
+ tags:
+ - Instance Schema
x-accepts:
- application/json
- patch:
- description: |-
- Update a collaborator's permissions on an instance.
-
- Parameters:
- - **instance_id**: UUID of the instance (from URL path)
- - **body**: Request body containing collaborator details
- - **account_id**: UUID of the account to update (mutually exclusive with team_id)
- - **team_id**: UUID of the team to update (mutually exclusive with account_id)
- - **role**: Role of the collaborator
-
- Returns:
- - **200**: Collaborator updated successfully
- - **400**: Invalid input (e.g., both account_id and team_id provided)
-
- Requires admin access to the instance
- operationId: update_collaborator_access_v2_instances__instance_id__collaborators_patch
+ /instances/{instance_id}/schema/{module_name}/{model_name}:
+ get:
+ operationId: get_relations_instances__instance_id__schema__module_name___model_name__get
parameters:
+ - explode: false
+ in: path
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
- explode: false
in: path
name: instance_id
@@ -1883,12 +2104,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/UpdateCollaboratorRequestBody'
- required: true
responses:
"200":
content:
@@ -1901,28 +2116,27 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Collaborator
- x-content-type: application/json
+ summary: Get Relations
+ tags:
+ - Instance Schema
x-accepts:
- application/json
- put:
+ /instances/{instance_id}/collaborators:
+ delete:
description: |-
- Add a collaborator (account or team) to an instance.
+ Remove a collaborator from an instance.
Parameters:
- - **instance_id**: UUID of the instance to add the collaborator to (from URL path)
- - **body**: Request body containing collaborator details
- - **account_id**: UUID of the account to add (mutually exclusive with team_id)
- - **team_id**: UUID of the team to add (mutually exclusive with account_id)
- - **role**: Role of the collaborator
+ - **instance_id**: UUID of the instance (from URL path)
+ - **account_id**: UUID of the account to remove (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to remove (mutually exclusive with account_id)
Returns:
- - **201**: Collaborator added successfully
+ - **200**: Collaborator removed successfully
- **400**: Invalid input (e.g., both account_id and team_id provided)
- - **409**: Collaborator was already added
Requires admin access to the instance
- operationId: add_collaborator_access_v2_instances__instance_id__collaborators_put
+ operationId: remove_collaborator_instances__instance_id__collaborators_delete
parameters:
- explode: false
in: path
@@ -1933,103 +2147,24 @@ paths:
nullable: true
type: string
style: simple
- - explode: false
- in: header
- name: Authorization
+ - explode: true
+ in: query
+ name: account_id
required: false
schema:
+ format: uuid
nullable: true
type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/AddCollaboratorRequestBody'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema: {}
- description: Successful Response
- "422":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/HTTPValidationError'
- description: Validation Error
- summary: Add Collaborator
- x-content-type: application/json
- x-accepts:
- - application/json
- /access_v2/spaces:
- put:
- description: |-
- Create a new space.
-
- Parameters:
- - **body**: Request body containing space details
- - **name**: Name of the space
- - **organization_id**: UUID of the organization
- - **description**: Optional description of the space
-
- Returns:
- - **201**: Space created successfully
- operationId: create_space_access_v2_spaces_put
- parameters:
- - explode: false
- in: header
- name: Authorization
+ style: form
+ - explode: true
+ in: query
+ name: team_id
required: false
- schema:
- nullable: true
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CreateSpaceRequestBody'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema: {}
- description: Successful Response
- "422":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/HTTPValidationError'
- description: Validation Error
- summary: Create Space
- x-content-type: application/json
- x-accepts:
- - application/json
- /access_v2/spaces/{space_id}:
- delete:
- description: |-
- Delete a space and detach it from the instance.
-
- Parameters:
- - **space_id**: ID of the space to delete
-
- Returns:
- - **200**: Space deleted successfully
- - **404**: Space not found
- operationId: delete_space_access_v2_spaces__space_id__delete
- parameters:
- - explode: false
- in: path
- name: space_id
- required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
- style: simple
+ style: form
- explode: false
in: header
name: Authorization
@@ -2050,28 +2185,31 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Delete Space
+ summary: Remove Collaborator
+ tags:
+ - Instances
x-accepts:
- application/json
get:
description: |-
- Get details of a specific space.
+ List all collaborators of an instance.
Parameters:
- - **space_id**: ID of the space to retrieve
+ - **instance_id**: UUID of the instance to list collaborators for (from URL path)
Returns:
- - **200**: Space details retrieved successfully
- - **404**: Space not found
- operationId: get_space_access_v2_spaces__space_id__get
+ - **200**: List of instance collaborators retrieved successfully
+
+ Requires read access to the instance
+ operationId: list_collaborators_instances__instance_id__collaborators_get
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2094,30 +2232,36 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Space
+ summary: List Collaborators
+ tags:
+ - Instances
x-accepts:
- application/json
patch:
description: |-
- Update a space's details.
+ Update a collaborator's permissions on an instance.
Parameters:
- - **space_id**: ID of the space to update
- - **body**: Request body containing updated space details
- - **name**: Optional new name for the space
- - **description**: Optional new description for the space
+ - **instance_id**: UUID of the instance (from URL path)
+ - **body**: Request body containing collaborator details
+ - **account_id**: UUID of the account to update (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to update (mutually exclusive with account_id)
+ - **role**: Role of the collaborator
Returns:
- - **200**: Space updated successfully
- operationId: update_space_access_v2_spaces__space_id__patch
+ - **200**: Collaborator updated successfully
+ - **400**: Invalid input (e.g., both account_id and team_id provided)
+
+ Requires admin access to the instance
+ operationId: update_collaborator_instances__instance_id__collaborators_patch
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2132,7 +2276,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UpdateSpaceRequestBody'
+ $ref: '#/components/schemas/UpdateCollaboratorRequestBody'
required: true
responses:
"200":
@@ -2146,56 +2290,40 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Space
+ summary: Update Collaborator
+ tags:
+ - Instances
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/spaces/{space_id}/record-attachments:
put:
description: |-
- Move a record to a specific space.
+ Add a collaborator (account or team) to an instance.
Parameters:
- - **space_id**: ID of the space to move the record to
- - **body**: Request body containing record details
- - **module_name**: Module name of the record
- - **model_name**: Model name of the record
- - **record_id**: ID of the record to move in the space
- - **instance_id**: UUID of the instance (from URL path)
- - **schema_id**: UUID of the schema (from URL path)
+ - **instance_id**: UUID of the instance to add the collaborator to (from URL path)
+ - **body**: Request body containing collaborator details
+ - **account_id**: UUID of the account to add (mutually exclusive with team_id)
+ - **team_id**: UUID of the team to add (mutually exclusive with account_id)
+ - **role**: Role of the collaborator
Returns:
- - **200**: Record moved to the space successfully
+ - **201**: Collaborator added successfully
+ - **400**: Invalid input (e.g., both account_id and team_id provided)
+ - **409**: Collaborator was already added
Requires admin access to the instance
- operationId: move_record_to_space_access_v2_spaces__space_id__record_attachments_put
+ operationId: add_collaborator_instances__instance_id__collaborators_put
parameters:
- - explode: true
- in: query
- name: instance_db_space_id
- required: true
- schema:
- title: Instance Db Space Id
- type: integer
- style: form
- - explode: true
- in: query
+ - explode: false
+ in: path
name: instance_id
- required: false
- schema:
- format: uuid
- nullable: true
- type: string
- style: form
- - explode: true
- in: query
- name: schema_id
- required: false
+ required: true
schema:
format: uuid
nullable: true
type: string
- style: form
+ style: simple
- explode: false
in: header
name: Authorization
@@ -2208,7 +2336,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/AttachSpaceToRecordRequestBody'
+ $ref: '#/components/schemas/AddCollaboratorRequestBody'
required: true
responses:
"200":
@@ -2222,43 +2350,33 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Move Record To Space
+ summary: Add Collaborator
+ tags:
+ - Instances
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/spaces/{space_id}/instances/{instance_id}:
- delete:
- description: |-
- Detach a space from a specific instance.
-
- Parameters:
- - **space_id**: ID of the space to detach
- - **instance_id**: UUID of the instance to detach the space from (from URL path)
-
- Returns:
- - **200**: Space detached from instance successfully
-
- Requires admin access to the instance
- operationId: detach_space_from_instance_access_v2_spaces__space_id__instances__instance_id__delete
+ /instances/{instance_id}/search:
+ get:
+ operationId: global_search_instances__instance_id__search_get
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- - explode: false
- in: path
- name: instance_id
+ - explode: true
+ in: query
+ name: search_term
required: true
schema:
- format: uuid
- nullable: true
+ title: Search Term
type: string
- style: simple
+ style: form
- explode: false
in: header
name: Authorization
@@ -2279,30 +2397,24 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Detach Space From Instance
+ summary: Global Search
+ tags:
+ - Instance Search
x-accepts:
- application/json
- put:
- description: |-
- Attach a space to a specific instance.
-
- Parameters:
- - **space_id**: ID of the space to attach
- - **instance_id**: UUID of the instance to attach the space to (from URL path)
-
- Returns:
- - **200**: Space attached to instance successfully
-
- Requires admin access to the instance
- operationId: attach_space_to_instance_access_v2_spaces__space_id__instances__instance_id__put
+ /instances/{instance_id}/files/{entity_type}:
+ get:
+ operationId: list_directory_instances__instance_id__files__entity_type__get
parameters:
- explode: false
in: path
- name: space_id
+ name: entity_type
required: true
schema:
- format: uuid
- title: Space Id
+ enum:
+ - artifacts
+ - transforms
+ title: Entity Type
type: string
style: simple
- explode: false
@@ -2314,6 +2426,15 @@ paths:
nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: path
+ required: false
+ schema:
+ default: ""
+ title: Path
+ type: string
+ style: form
- explode: false
in: header
name: Authorization
@@ -2334,30 +2455,35 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Attach Space To Instance
+ summary: List Directory
+ tags:
+ - Instance File Explorer
x-accepts:
- application/json
- /access_v2/spaces/{space_id}/instances:
+ /instances/{instance_id}/files/tree:
get:
- description: |-
- List all instances that have this space attached.
-
- Parameters:
- - **space_id**: ID of the space to check
-
- Returns:
- - **200**: List of instances using the space retrieved successfully
- operationId: list_instances_using_space_access_v2_spaces__space_id__instances_get
+ operationId: get_tree_instances__instance_id__files_tree_get
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: entity_type
+ required: true
+ schema:
+ enum:
+ - artifacts
+ - transforms
+ title: Entity Type
+ type: string
+ style: form
- explode: false
in: header
name: Authorization
@@ -2378,21 +2504,31 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Instances Using Space
+ summary: Get Tree
+ tags:
+ - Instance File Explorer
x-accepts:
- application/json
- /access_v2/spaces/instances/{instance_id}:
- get:
- description: |-
- List all spaces attached to an instance.
-
- Parameters:
- - **instance_id**: UUID of the instance to list spaces for (from URL path)
-
- Returns:
- - **200**: List of spaces attached to the instance retrieved successfully
- operationId: list_instance_spaces_access_v2_spaces_instances__instance_id__get
+ /instances/{instance_id}/modules/{module_name}/{model_name}/group-by:
+ post:
+ operationId: group_by_instances__instance_id__modules__module_name___model_name__group_by_post
parameters:
+ - explode: false
+ in: path
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
- explode: false
in: path
name: instance_id
@@ -2410,6 +2546,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GroupByRequestBody'
+ required: true
responses:
"200":
content:
@@ -2422,50 +2564,51 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Instance Spaces
+ summary: Group By
+ tags:
+ - Instance Statistics
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/spaces/{space_id}/collaborators:
- delete:
+ /instances/{instance_id}/statistics:
+ get:
description: |-
- Remove a collaborator (account or team) from a space.
+ Retrieves instance statistics, including artifact size and table row counts.
- Parameters:
- - **space_id**: ID of the space to remove the collaborator from
- - **account_id**: UUID of the account to remove (mutually exclusive with team_id)
- - **team_id**: UUID of the team to remove (mutually exclusive with account_id)
-
- Returns:
- - **200**: Collaborator removed from space successfully
- - **400**: Invalid input (e.g., both account_id and team_id provided or neither provided)
- operationId: remove_space_collaborator_access_v2_spaces__space_id__collaborators_delete
+ This endpoint uses a hybrid approach optimized for both accuracy and performance:
+ - **Row Counts (`counts`)**: Uses a hybrid counting strategy:
+ - For small tables (≤ 2000 estimated rows): **Exact counts** using
+ `COUNT(*)` to ensure accuracy for small datasets.
+ - For larger tables: **Fast approximations** based on PostgreSQL statistics catalog
+ (`pg_class.reltuples`) for near-instant retrieval. These stats are updated
+ periodically by database operations like `ANALYZE` and `AUTOVACUUM`.
+ - **Artifact Size (`instance_size`)**: This is an **exact** real-time calculation,
+ derived by performing a `SUM(size)` on the artifact table.
+ operationId: get_instance_statistics_instances__instance_id__statistics_get
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
- schema:
- format: uuid
- title: Space Id
- type: string
- style: simple
- - explode: true
- in: query
- name: account_id
- required: false
schema:
format: uuid
nullable: true
type: string
- style: form
- - explode: true
+ style: simple
+ - description: "A list of models in \"${module}.${model}\" format (case-sensitive).\
+ \ If omitted, statistics for all primary tables are returned."
+ example:
+ - core.ULabel
+ explode: true
in: query
- name: team_id
+ name: q
required: false
schema:
- format: uuid
+ items:
+ nullable: true
+ type: string
nullable: true
- type: string
+ type: array
style: form
- explode: false
in: header
@@ -2479,35 +2622,64 @@ paths:
"200":
content:
application/json:
- schema: {}
+ schema:
+ $ref: '#/components/schemas/StatisticsResponse'
description: Successful Response
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: Invalid model name format provided.
+ "403":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: Read access denied to the instance.
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: Instance or requested model not found.
"422":
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Remove Space Collaborator
+ summary: Get Approximate Table Row Counts and Artifact Size
+ tags:
+ - Instance Statistics
x-accepts:
- application/json
+ /instances/{instance_id}/non_empty_tables:
get:
description: |-
- List all collaborators of a space.
+ Analyzes the instance's database schema to identify all tables that contain data.
- Parameters:
- - **space_id**: ID of the space to list collaborators for
+ This endpoint uses a hybrid approach optimized for both accuracy and performance:
+ - **For small tables (≤ 2000 estimated rows)**: **Exact non-empty check** using
+ `COUNT(*) > 0` to ensure accuracy for small datasets.
+ - **For larger tables (> 2000 estimated rows)**: **Fast approximation** based on
+ PostgreSQL statistics catalog (`pg_class.reltuples > 0`) for near-instant
+ retrieval. These stats are updated periodically by database operations like
+ `ANALYZE` and `AUTOVACUUM`.
- Returns:
- - **200**: List of space collaborators retrieved successfully
- operationId: list_space_collaborators_access_v2_spaces__space_id__collaborators_get
+ **Accuracy Note**:
+ - Small tables: Guaranteed accurate non-empty detection
+ - Large tables: May have acceptable false positives if all rows are deleted
+ but space hasn't been reclaimed until `VACUUM FULL` or `TRUNCATE` is run.
+ operationId: get_non_empty_tables_instances__instance_id__non_empty_tables_get
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2522,41 +2694,74 @@ paths:
"200":
content:
application/json:
- schema: {}
+ schema:
+ $ref: '#/components/schemas/NonEmptyTablesResponse'
description: Successful Response
+ "403":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: Read access denied to the instance.
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: Instance not accessible.
+ "500":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorDetail'
+ description: "Internal server error, such as a missing schema or database\
+ \ connection failure."
"422":
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Space Collaborators
+ summary: List Non-Empty Data Tables by Module
+ tags:
+ - Instance Statistics
x-accepts:
- application/json
- patch:
- description: |-
- Update a collaborator's permissions in a space.
-
- Parameters:
- - **space_id**: ID of the space to update the collaborator in
- - **body**: Request body containing collaborator details
- - **account_id**: UUID of the account to update (mutually exclusive with team_id)
- - **team_id**: UUID of the team to update (mutually exclusive with account_id)
- - **role**: Role of the collaborator
-
- Returns:
- - **200**: Collaborator updated successfully
- - **400**: Invalid input (e.g., both account_id and team_id provided)
- - **404**: Collaborator not found in space
- operationId: update_space_collaborator_access_v2_spaces__space_id__collaborators_patch
+ /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts:
+ get:
+ operationId: get_relation_counts_instances__instance_id__modules__module_name___model_name___id__counts_get
parameters:
- explode: false
in: path
- name: space_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ title: Id
+ type: integer
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2567,12 +2772,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/UpdateSpaceCollaboratorRequestBody'
- required: true
responses:
"200":
content:
@@ -2585,33 +2784,33 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Space Collaborator
- x-content-type: application/json
+ summary: Get Relation Counts
+ tags:
+ - Instance Statistics
x-accepts:
- application/json
- put:
+ /instances/{instance_id}/forms:
+ post:
description: |-
- Add a collaborator (account or team) to a space.
+ Register a form for a specific instance.
Parameters:
- - **space_id**: ID of the space to add the collaborator to
- - **body**: Request body containing collaborator details
- - **account_id**: UUID of the account to add (mutually exclusive with team_id)
- - **team_id**: UUID of the team to add (mutually exclusive with account_id)
- - **role**: Role of the collaborator
+ - **body**: Request body containing form details
+ - **key**: Key of the form
+ - **data**: Form data
+ - **schema_uid**: UID of the schema
Returns:
- - **201**: Collaborator added to space successfully
- - **400**: Invalid input (e.g., both account_id and team_id provided)
- operationId: add_space_collaborator_access_v2_spaces__space_id__collaborators_put
+ - **200**: Form registered successfully
+ operationId: register_form_instances__instance_id__forms_post
parameters:
- explode: false
in: path
- name: space_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Space Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2626,7 +2825,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/AddSpaceCollaboratorRequestBody'
+ $ref: '#/components/schemas/RegisterFormRequest'
required: true
responses:
"200":
@@ -2640,29 +2839,23 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Add Space Collaborator
+ summary: Register Form
+ tags:
+ - Instance Forms
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/spaces/organizations/{organization_id}:
- get:
- description: |-
- List all spaces in an organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to list spaces for
-
- Returns:
- - **200**: List of spaces retrieved successfully
- operationId: list_organization_spaces_access_v2_spaces_organizations__organization_id__get
+ /instances/{instance_id}/function/execute:
+ post:
+ operationId: execute_function_instances__instance_id__function_execute_post
parameters:
- explode: false
in: path
- name: organization_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Organization Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2673,6 +2866,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ExecuteFunctionRequestBody'
+ required: true
responses:
"200":
content:
@@ -2685,24 +2884,25 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Organization Spaces
+ summary: Execute Function
+ tags:
+ - Instance Functions
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/teams:
- put:
- description: |-
- Create a new team.
-
- Parameters:
- - **body**: Request body containing team details
- - **name**: Name of the team
- - **organization_id**: UUID of the organization
- - **description**: Optional description of the team
-
- Returns:
- - **201**: Team created successfully
- operationId: create_team_access_v2_teams_put
+ /instances/{instance_id}/transforms:
+ post:
+ operationId: create_transform_instances__instance_id__transforms_post
parameters:
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
- explode: false
in: header
name: Authorization
@@ -2715,7 +2915,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CreateTeamRequestBody'
+ $ref: '#/components/schemas/CreateTransformRequestBody'
required: true
responses:
"200":
@@ -2729,29 +2929,157 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Create Team
+ summary: Create Transform
+ tags:
+ - Instance Transforms
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /instances/{instance_id}/artifacts/upload:
+ post:
+ operationId: upload_artifact_instances__instance_id__artifacts_upload_post
+ parameters:
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: simple
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/Body_upload_artifact_instances__instance_id__artifacts_upload_post'
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: Upload Artifact
+ tags:
+ - Instance Artifacts
+ x-content-type: multipart/form-data
+ x-accepts:
+ - application/json
+ /instances/{instance_id}/artifacts/create:
+ post:
+ operationId: create_artifact_instances__instance_id__artifacts_create_post
+ parameters:
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CreateArtifactRequestBody'
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: Create Artifact
+ tags:
+ - Instance Artifacts
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/teams/{team_id}:
+ /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id}:
delete:
- description: |-
- Delete a team.
-
- Parameters:
- - **team_id**: UUID of the team to delete
-
- Returns:
- - **200**: Team deleted successfully
- operationId: delete_team_access_v2_teams__team_id__delete
+ operationId: detach_label_instances__instance_id__modules__module_name___model_name___id___label_field___label_id__delete
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ enum:
+ - artifact
+ - transform
+ - collection
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ title: Id
+ type: integer
+ style: simple
+ - explode: false
+ in: path
+ name: label_field
+ required: true
+ schema:
+ title: Label Field
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: label_id
+ required: true
+ schema:
+ title: Label Id
+ type: integer
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Team Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2774,28 +3102,65 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Delete Team
+ summary: Detach Label
+ tags:
+ - Instance Labels
x-accepts:
- application/json
- get:
- description: |-
- Get details of a specific team.
-
- Parameters:
- - **team_id**: UUID of the team to retrieve
-
- Returns:
- - **200**: Team details retrieved successfully
- - **404**: Team not found
- operationId: get_team_access_v2_teams__team_id__get
+ put:
+ operationId: attach_label_instances__instance_id__modules__module_name___model_name___id___label_field___label_id__put
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ enum:
+ - artifact
+ - transform
+ - collection
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ title: Id
+ type: integer
+ style: simple
+ - explode: false
+ in: path
+ name: label_field
+ required: true
+ schema:
+ title: Label Field
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: label_id
+ required: true
+ schema:
+ title: Label Id
+ type: integer
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Team Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2818,32 +3183,60 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Team
+ summary: Attach Label
+ tags:
+ - Instance Labels
x-accepts:
- application/json
- patch:
- description: |-
- Update a team's details.
-
- Parameters:
- - **team_id**: UUID of the team to update
- - **body**: Request body containing updated team details
- - **name**: Optional new name for the team
- - **description**: Optional new description for the team
-
- Returns:
- - **200**: Team updated successfully
- operationId: update_team_access_v2_teams__team_id__patch
+ /instances/{instance_id}/modules/{module_name}/{model_name}/query_features:
+ post:
+ description: Queries and returns a flat list of all unique Feature records associated
+ with a set of filtered primary model records.
+ operationId: query_linked_features_instances__instance_id__modules__module_name___model_name__query_features_post
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Team Id
+ nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 50
+ title: Limit
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ default: 0
+ title: Offset
+ type: integer
+ style: form
- explode: false
in: header
name: Authorization
@@ -2856,8 +3249,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UpdateTeamRequestBody'
- required: true
+ $ref: '#/components/schemas/GetRecordsRequestBody'
responses:
"200":
content:
@@ -2870,31 +3262,75 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Team
+ summary: Query Linked Features
+ tags:
+ - Instance Features
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/teams/{team_id}/members:
- get:
+ /instances/{instance_id}/modules/{module_name}/{model_name}/relatives:
+ post:
description: |-
- List all members of a team.
+ Finds and queries all relatives (ancestors or descendants) for a given set of records.
- Parameters:
- - **team_id**: UUID of the team to list members for
+ This endpoint first performs a recursive traversal to identify a complete set of related records.
+ It then applies standard query parameters (filter, sort, search, select, etc.) to that set.
- Returns:
- - **200**: List of team members retrieved successfully
- operationId: list_team_members_access_v2_teams__team_id__members_get
+ **Traversal Strategies:**
+ The endpoint intelligently discovers the relationship structure from the schema:
+
+ 1. **ManyToMany Graph:** It first looks for an explicit `parents` or `children` relationship field, which is assumed to be a Directed Acyclic Graph (DAG).
+ 2. **ForeignKey Tree:** If a ManyToMany field is not found, it falls back to traversing a self-referential `type` field, which is assumed to represent a parent-pointer tree.
+ operationId: get_relatives_instances__instance_id__modules__module_name___model_name__relatives_post
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Team Id
+ nullable: true
type: string
style: simple
+ - description: The maximum number of relative records to return.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 100
+ description: The maximum number of relative records to return.
+ title: Limit
+ type: integer
+ style: form
+ - description: The offset for paginating through the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ default: 0
+ description: The offset for paginating through the results.
+ minimum: 0
+ title: Offset
+ type: integer
+ style: form
- explode: false
in: header
name: Authorization
@@ -2903,6 +3339,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Request'
+ required: true
responses:
"200":
content:
@@ -2915,39 +3357,134 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Team Members
+ summary: Get and query hierarchical relatives of records
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/teams/{team_id}/members/{account_id}:
- delete:
- description: |-
- Remove a member from a team.
-
- Parameters:
- - **team_id**: UUID of the team to remove the member from
- - **account_id**: UUID of the account to remove from the team
-
- Returns:
- - **200**: Team member removed successfully
- - **404**: Member not found in team
- operationId: remove_team_member_access_v2_teams__team_id__members__account_id__delete
+ /instances/{instance_id}/modules/{module_name}/{model_name}:
+ post:
+ operationId: get_records_instances__instance_id__modules__module_name___model_name__post
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Team Id
+ nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 50
+ title: Limit
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ default: 0
+ title: Offset
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: limit_to_many
+ required: false
+ schema:
+ default: 10
+ title: Limit To Many
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: include_foreign_keys
+ required: false
+ schema:
+ default: false
+ title: Include Foreign Keys
+ type: boolean
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GetRecordsRequestBody'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema: {}
+ description: Successful Response
+ "422":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HTTPValidationError'
+ description: Validation Error
+ summary: Get Records
+ tags:
+ - Instance Records
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ put:
+ operationId: create_records_instances__instance_id__modules__module_name___model_name__put
+ parameters:
- explode: false
in: path
- name: account_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -2958,6 +3495,11 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema: {}
+ required: true
responses:
"200":
content:
@@ -2970,42 +3512,67 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Remove Team Member
+ summary: Create Records
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- patch:
- description: |-
- Update a team member's details.
-
- Parameters:
- - **team_id**: UUID of the team the member belongs to
- - **account_id**: UUID of the account to update
- - **body**: Request body containing updated member details
- - **role**: Role of the member in the team
-
- Returns:
- - **200**: Team member updated successfully
- - **404**: Member not found in team
- operationId: update_team_member_access_v2_teams__team_id__members__account_id__patch
+ /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path}:
+ post:
+ operationId: get_values_instances__instance_id__modules__module_name___model_name__fields__field_path__post
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
required: true
schema:
- format: uuid
- title: Team Id
+ title: Module Name
type: string
style: simple
- explode: false
in: path
- name: account_id
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: field_path
+ required: true
+ schema:
+ title: Field Path
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ default: 50
+ title: Limit
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ default: 0
+ title: Offset
+ type: integer
+ style: form
- explode: false
in: header
name: Authorization
@@ -3018,8 +3585,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UpdateTeamMemberRequestBody'
- required: true
+ $ref: '#/components/schemas/GetValuesRequestBody'
responses:
"200":
content:
@@ -3032,42 +3598,59 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Team Member
+ summary: Get Values
+ tags:
+ - Instance Records
x-content-type: application/json
x-accepts:
- application/json
+ /instances/{instance_id}/modules/{module_name}/{model_name}/upsert:
put:
- description: |-
- Add a member to a team.
-
- Parameters:
- - **team_id**: UUID of the team to add the member to
- - **account_id**: UUID of the account to add as a member
- - **body**: Request body containing member details
- - **role**: Role of the member in the team
-
- Returns:
- - **201**: Team member added successfully
- operationId: add_team_member_access_v2_teams__team_id__members__account_id__put
+ description: Insert new records or update existing ones based on a conflict
+ key.
+ operationId: upsert_records_instances__instance_id__modules__module_name___model_name__upsert_put
parameters:
- explode: false
in: path
- name: team_id
+ name: module_name
required: true
schema:
- format: uuid
- title: Team Id
+ title: Module Name
type: string
style: simple
- explode: false
in: path
- name: account_id
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
+ - description: A list of column names that define the unique key for conflict
+ resolution. This must correspond to a unique constraint or index in the
+ database.
+ explode: true
+ in: query
+ name: conflict_columns
+ required: true
+ schema:
+ description: A list of column names that define the unique key for conflict
+ resolution. This must correspond to a unique constraint or index in the
+ database.
+ items:
+ nullable: true
+ type: string
+ type: array
+ style: form
- explode: false
in: header
name: Authorization
@@ -3080,84 +3663,55 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/AddTeamMemberRequestBody'
+ $ref: '#/components/schemas/Body'
required: true
responses:
"200":
content:
application/json:
schema: {}
- description: Successful Response
+ description: "Successful Response. Returns a list of the full, upserted\
+ \ records as they exist in the database."
+ "400":
+ description: The 'conflict_columns' query parameter was not provided.
+ "404":
+ description: The specified module or model name was not found.
"422":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/HTTPValidationError'
- description: Validation Error
- summary: Add Team Member
+ description: "The request payload is invalid (e.g., a record is missing\
+ \ a required conflict key, or the conflict key is not a valid unique constraint\
+ \ in the database)."
+ summary: Upsert one or more records
+ tags:
+ - Instance Records
x-content-type: application/json
x-accepts:
- application/json
- /access_v2/teams/organizations/{organization_id}:
- get:
+ /instances/{instance_id}/modules/{module_name}/{model_name}/batch-update:
+ patch:
description: |-
- List all teams in an organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to list teams for
+ Partially updates multiple records in a single request.
- Returns:
- - **200**: List of teams retrieved successfully
- operationId: list_organization_teams_access_v2_teams_organizations__organization_id__get
+ This endpoint processes a list of records, updating each one in the database.
+ It is designed to handle heterogeneous partial updates, meaning each record
+ in the batch can update a different set of fields.
+ operationId: batch_update_records_instances__instance_id__modules__module_name___model_name__batch_update_patch
parameters:
- explode: false
in: path
- name: organization_id
+ name: module_name
required: true
schema:
- format: uuid
- title: Organization Id
+ title: Module Name
type: string
style: simple
- explode: false
- in: header
- name: Authorization
- required: false
+ in: path
+ name: model_name
+ required: true
schema:
- nullable: true
+ title: Model Name
type: string
style: simple
- responses:
- "200":
- content:
- application/json:
- schema: {}
- description: Successful Response
- "422":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/HTTPValidationError'
- description: Validation Error
- summary: List Organization Teams
- x-accepts:
- - application/json
- /access_v2/instances/{instance_id}/db_token:
- get:
- description: |-
- Get a database token for the specified instance.
-
- This token can be used to authenticate with the instance's database.
-
- Parameters:
- - **instance_id**: UUID of the instance to get the token for (from URL path)
-
- Returns:
- - **200**: Database token retrieved successfully
- - **token**: The database token
- - **401**: Unauthorized
- operationId: get_db_token_access_v2_instances__instance_id__db_token_get
- parameters:
- explode: false
in: path
name: instance_id
@@ -3175,41 +3729,63 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BatchUpdateBody'
+ required: true
responses:
"200":
content:
application/json:
- schema: {}
- description: Successful Response
- "422":
- content:
- application/json:
+ example:
+ - uid: abc
+ name: New Name A
+ updated_at: 2023-10-27T12:00:00Z
+ - uid: xyz
+ description: New Description B
+ updated_at: 2023-10-27T12:00:00Z
schema:
- $ref: '#/components/schemas/HTTPValidationError'
- description: Validation Error
- summary: Get Db Token
+ items:
+ additionalProperties: {}
+ type: array
+ description: "Successful update. Returns a list of the full, updated records."
+ "422":
+ description: A record in the payload is missing a required index key.
+ summary: Update one or more records in a batch
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/organizations/{organization_id}:
- get:
- description: |-
- Get details of a specific organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to retrieve
-
- Returns:
- - **200**: Organization details retrieved successfully
- - **404**: Organization not found
- operationId: get_organization_access_v2_organizations__organization_id__get
+ /instances/{instance_id}/modules/{module_name}/{model_name}/batch-delete:
+ post:
+ operationId: batch_delete_records_instances__instance_id__modules__module_name___model_name__batch_delete_post
parameters:
- explode: false
in: path
- name: organization_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Organization Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -3220,11 +3796,18 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BatchDeleteBody'
+ required: true
responses:
"200":
content:
application/json:
- schema: {}
+ schema:
+ $ref: '#/components/schemas/BatchDeleteResponse'
description: Successful Response
"422":
content:
@@ -3232,28 +3815,39 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Organization
+ summary: Batch Delete Records
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/organizations/{organization_id}/members:
- get:
- description: |-
- List all members of an organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to list members for
-
- Returns:
- - **200**: List of organization members retrieved successfully
- operationId: list_organization_members_access_v2_organizations__organization_id__members_get
+ /instances/{instance_id}/modules/{module_name}/{model_name}/batch-sync-links:
+ put:
+ operationId: batch_sync_links_instances__instance_id__modules__module_name___model_name__batch_sync_links_put
parameters:
- explode: false
in: path
- name: organization_id
+ name: module_name
+ required: true
+ schema:
+ title: Module Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Organization Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -3264,11 +3858,18 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BatchSyncLinksBody'
+ required: true
responses:
"200":
content:
application/json:
- schema: {}
+ schema:
+ $ref: '#/components/schemas/BatchSyncResponse'
description: Successful Response
"422":
content:
@@ -3276,39 +3877,31 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Organization Members
+ summary: Synchronize sets of links for multiple scopes in a single call
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- /access_v2/organizations/{organization_id}/members/{account_id}:
- delete:
- description: |-
- Remove a member from an organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to remove the member from
- - **account_id**: UUID of the account to remove from the organization
-
- Returns:
- - **200**: Organization member removed successfully
- - **404**: Member not found in organization
- operationId: remove_organization_member_access_v2_organizations__organization_id__members__account_id__delete
+ /instances/{instance_id}/records/{uid}/export:
+ post:
+ operationId: export_records_instances__instance_id__records__uid__export_post
parameters:
- explode: false
in: path
- name: organization_id
+ name: uid
required: true
schema:
- format: uuid
- title: Organization Id
+ title: Uid
type: string
style: simple
- explode: false
in: path
- name: account_id
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -3319,6 +3912,11 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ExportRecordsRequestBody'
responses:
"200":
content:
@@ -3331,42 +3929,67 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Remove Organization Member
+ summary: Export Records
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- patch:
- description: |-
- Update an organization member's details.
-
- Parameters:
- - **organization_id**: UUID of the organization the member belongs to
- - **account_id**: UUID of the account to update
- - **body**: Request body containing updated member details
- - **role**: Role of the member in the organization
-
- Returns:
- - **200**: Organization member updated successfully
- - **404**: Member not found in organization
- operationId: update_organization_member_access_v2_organizations__organization_id__members__account_id__patch
+ /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid}:
+ post:
+ operationId: get_record_instances__instance_id__modules__module_name___model_name___id_or_uid__post
parameters:
- explode: false
in: path
- name: organization_id
+ name: module_name
required: true
schema:
- format: uuid
- title: Organization Id
+ title: Module Name
type: string
style: simple
- explode: false
in: path
- name: account_id
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: id_or_uid
+ required: true
+ schema:
+ title: Id Or Uid
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
+ - explode: true
+ in: query
+ name: limit_to_many
+ required: false
+ schema:
+ default: 10
+ title: Limit To Many
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: include_foreign_keys
+ required: false
+ schema:
+ default: false
+ title: Include Foreign Keys
+ type: boolean
+ style: form
- explode: false
in: header
name: Authorization
@@ -3379,8 +4002,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UpdateOrganizationMemberRequestBody'
- required: true
+ $ref: '#/components/schemas/GetRecordRequestBody'
responses:
"200":
content:
@@ -3393,40 +4015,47 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Update Organization Member
+ summary: Get Record
+ tags:
+ - Instance Records
x-content-type: application/json
x-accepts:
- application/json
- put:
- description: |-
- Add a member to an organization.
-
- Parameters:
- - **organization_id**: UUID of the organization to add the member to
- - **account_id**: UUID of the account to add as a member
- - **body**: Request body containing member details
- - **role**: Role of the member in the organization
-
- Returns:
- - **201**: Organization member added successfully
- operationId: add_organization_member_access_v2_organizations__organization_id__members__account_id__put
+ /instances/{instance_id}/modules/{module_name}/{model_name}/{uid}:
+ delete:
+ operationId: delete_record_instances__instance_id__modules__module_name___model_name___uid__delete
parameters:
- explode: false
in: path
- name: organization_id
+ name: module_name
required: true
schema:
- format: uuid
- title: Organization Id
+ title: Module Name
type: string
style: simple
- explode: false
in: path
- name: account_id
+ name: model_name
+ required: true
+ schema:
+ title: Model Name
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: uid
+ required: true
+ schema:
+ title: Uid
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
format: uuid
- title: Account Id
+ nullable: true
type: string
style: simple
- explode: false
@@ -3437,12 +4066,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/AddOrganizationMemberRequestBody'
- required: true
responses:
"200":
content:
@@ -3455,52 +4078,47 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Add Organization Member
- x-content-type: application/json
+ summary: Delete Record
+ tags:
+ - Instance Records
x-accepts:
- application/json
- /instances/{instance_id}/{entity_type}:
- get:
- operationId: list_directory_instances__instance_id___entity_type__get
+ patch:
+ operationId: update_record_instances__instance_id__modules__module_name___model_name___uid__patch
parameters:
- explode: false
in: path
- name: entity_type
+ name: module_name
required: true
schema:
- enum:
- - artifact
- - transform
- title: Entity Type
+ title: Module Name
type: string
style: simple
- explode: false
in: path
- name: instance_id
+ name: model_name
required: true
schema:
- format: uuid
- nullable: true
+ title: Model Name
type: string
style: simple
- - explode: true
- in: query
- name: path
- required: false
+ - explode: false
+ in: path
+ name: uid
+ required: true
schema:
- default: ""
- title: Path
+ title: Uid
type: string
- style: form
- - explode: true
- in: query
- name: schema_id
- required: false
+ style: simple
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
schema:
format: uuid
nullable: true
type: string
- style: form
+ style: simple
- explode: false
in: header
name: Authorization
@@ -3509,6 +4127,11 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema: {}
+ required: true
responses:
"200":
content:
@@ -3521,36 +4144,45 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: List Directory
+ summary: Update Record
+ tags:
+ - Instance Records
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/tree:
- get:
- operationId: get_tree_instances__instance_id__tree_get
+ /storages/s3/{bucket_name}/permissions:
+ put:
+ operationId: grant_s3_permissions_storages_s3__bucket_name__permissions_put
parameters:
- explode: false
in: path
- name: instance_id
+ name: bucket_name
required: true
schema:
- format: uuid
- nullable: true
+ title: Bucket Name
type: string
style: simple
- explode: true
in: query
- name: entity_type
- required: true
+ name: aws_account_id
+ required: false
schema:
- enum:
- - artifact
- - transform
- title: Entity Type
+ default: "767398070972"
+ title: Aws Account Id
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: aws_user_name
+ required: false
+ schema:
+ default: lamin-manager
+ title: Aws User Name
type: string
style: form
- explode: true
in: query
- name: schema_id
+ name: instance_id
required: false
schema:
format: uuid
@@ -3565,6 +4197,12 @@ paths:
nullable: true
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/S3PermissionsRequest'
+ required: true
responses:
"200":
content:
@@ -3577,33 +4215,25 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Tree
+ summary: Grant S3 Permissions
+ tags:
+ - Storages
+ x-content-type: application/json
x-accepts:
- application/json
- /instances/{instance_id}/forms:
+ /db/server/register:
post:
- description: |-
- Register a form for a specific instance.
-
- Parameters:
- - **body**: Request body containing form details
- - **key**: Key of the form
- - **data**: Form data
- - **schema_uid**: UID of the schema
-
- Returns:
- - **201**: Form registered successfully
- operationId: register_form_instances__instance_id__forms_post
+ operationId: register_db_server_db_server_register_post
parameters:
- - explode: false
- in: path
+ - explode: true
+ in: query
name: instance_id
- required: true
+ required: false
schema:
format: uuid
nullable: true
type: string
- style: simple
+ style: form
- explode: false
in: header
name: Authorization
@@ -3616,7 +4246,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RegisterFormRequest'
+ $ref: '#/components/schemas/RegisterDbServerBody'
required: true
responses:
"200":
@@ -3630,31 +4260,41 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Register Form
+ summary: Register Db Server
+ tags:
+ - DB Server
x-content-type: application/json
x-accepts:
- application/json
- /_debug/ip:
- get:
- operationId: get_ip__debug_ip_get
- responses:
- "200":
- content:
- application/json:
- schema: {}
- description: Successful Response
- summary: Get Ip
- x-accepts:
- - application/json
- /_debug/db-access:
+ /db/server/check-access:
post:
- operationId: check_db_access__debug_db_access_post
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DbUrlRequest'
+ operationId: check_db_server_access_db_server_check_access_post
+ parameters:
+ - explode: true
+ in: query
+ name: name
required: true
+ schema:
+ title: Name
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: instance_id
+ required: false
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: form
+ - explode: false
+ in: header
+ name: Authorization
+ required: false
+ schema:
+ nullable: true
+ type: string
+ style: simple
responses:
"200":
content:
@@ -3667,38 +4307,38 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Check Db Access
- x-content-type: application/json
- x-accepts:
- - application/json
- /_debug/lambda-access:
- get:
- operationId: check_lambda_access__debug_lambda_access_get
- responses:
- "200":
- content:
- application/json:
- schema: {}
- description: Successful Response
- summary: Check Lambda Access
+ summary: Check Db Server Access
+ tags:
+ - DB Server
x-accepts:
- application/json
- /_debug/cache-access:
+ /health:
get:
- operationId: check_cache_access__debug_cache_access_get
+ operationId: health_check_health_get
responses:
"200":
content:
application/json:
schema: {}
description: Successful Response
- summary: Check Cache Access
+ summary: Health Check
+ tags:
+ - Health Checks
x-accepts:
- application/json
- /db/server/register:
- post:
- operationId: register_db_server_db_server_register_post
+ /cache/instances/{instance_id}:
+ delete:
+ operationId: invalidate_instance_cache_cache_instances__instance_id__delete
parameters:
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
- explode: false
in: header
name: Authorization
@@ -3707,12 +4347,6 @@ paths:
nullable: true
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RegisterDbServerBody'
- required: true
responses:
"200":
content:
@@ -3725,22 +4359,23 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Register Db Server
- x-content-type: application/json
+ summary: Invalidate Instance Cache
+ tags:
+ - Cache
x-accepts:
- application/json
- /db/server/check-access:
- post:
- operationId: check_db_server_access_db_server_check_access_post
+ get:
+ operationId: get_instance_cache_cache_instances__instance_id__get
parameters:
- - explode: true
- in: query
- name: name
+ - explode: false
+ in: path
+ name: instance_id
required: true
schema:
- title: Name
+ format: uuid
+ nullable: true
type: string
- style: form
+ style: simple
- explode: false
in: header
name: Authorization
@@ -3761,13 +4396,24 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Check Db Server Access
+ summary: Get Instance Cache
+ tags:
+ - Cache
x-accepts:
- application/json
- /account:
+ /access_v2/instances/{instance_id}/db_token:
get:
- operationId: get_caller_account_account_get
+ operationId: get_db_token_backward_compatible_access_v2_instances__instance_id__db_token_get
parameters:
+ - explode: false
+ in: path
+ name: instance_id
+ required: true
+ schema:
+ format: uuid
+ nullable: true
+ type: string
+ style: simple
- explode: false
in: header
name: Authorization
@@ -3788,7 +4434,9 @@ paths:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
- summary: Get Caller Account
+ summary: Get Db Token Backward Compatible
+ tags:
+ - Backward Compatible Endpoints
x-accepts:
- application/json
components:
@@ -3824,8 +4472,9 @@ components:
default: member
enum:
- admin
- - member
- manager
+ - member
+ - guest
title: Role
type: string
title: AddOrganizationMemberRequestBody
@@ -3879,6 +4528,125 @@ components:
- module_name
- record_id
title: AttachSpaceToRecordRequestBody
+ BatchDeleteBody:
+ example:
+ records:
+ - key: ""
+ - key: ""
+ properties:
+ records:
+ description: "A list of dictionaries, where each dictionary contains the\
+ \ key(s) identifying a record to delete."
+ items:
+ additionalProperties: {}
+ type: array
+ required:
+ - records
+ title: BatchDeleteBody
+ BatchDeleteResponse:
+ example:
+ deleted_count: 0
+ properties:
+ deleted_count:
+ title: Deleted Count
+ type: integer
+ required:
+ - deleted_count
+ title: BatchDeleteResponse
+ BatchSyncLinksBody:
+ description: The request body for the batch synchronization endpoint.
+ example:
+ instructions:
+ - desired_ids:
+ - ""
+ - ""
+ scope:
+ key: ""
+ - desired_ids:
+ - ""
+ - ""
+ scope:
+ key: ""
+ list_key: list_key
+ properties:
+ instructions:
+ description: A list of synchronization instructions to be processed in a
+ single batch.
+ items:
+ $ref: '#/components/schemas/SyncInstruction'
+ type: array
+ list_key:
+ description: "The name of the column whose values are being synchronized\
+ \ (e.g., 'ulabel_id'). This must be the same for all instructions in the\
+ \ batch."
+ title: List Key
+ type: string
+ required:
+ - instructions
+ - list_key
+ title: BatchSyncLinksBody
+ BatchSyncResponse:
+ description: "The detailed response model for a batch synchronization operation,\
+ \ including the lists of records that were processed."
+ example:
+ deleted:
+ - key: ""
+ - key: ""
+ inserted:
+ - key: ""
+ - key: ""
+ kept: 0
+ status: status
+ properties:
+ status:
+ title: Status
+ type: string
+ deleted:
+ description: A list of the records that were deleted.
+ items:
+ additionalProperties: {}
+ type: array
+ inserted:
+ description: "A list of the records that were inserted, including server-added\
+ \ audit fields."
+ items:
+ additionalProperties: {}
+ type: array
+ kept:
+ description: The number of records that already existed and were kept.
+ title: Kept
+ type: integer
+ required:
+ - deleted
+ - inserted
+ - kept
+ - status
+ title: BatchSyncResponse
+ BatchUpdateBody:
+ example:
+ index_columns:
+ - index_columns
+ - index_columns
+ records:
+ - key: ""
+ - key: ""
+ properties:
+ records:
+ description: A list of records to update. Each dictionary must contain the
+ key(s) specified in `index_columns` and the fields to be updated.
+ items:
+ additionalProperties: {}
+ type: array
+ index_columns:
+ description: "A list of column names to use as the identifier for matching\
+ \ records to update (e.g., ['uid'])."
+ items:
+ type: string
+ type: array
+ required:
+ - index_columns
+ - records
+ title: BatchUpdateBody
Body_upload_artifact_instances__instance_id__artifacts_upload_post:
properties:
file:
@@ -3949,17 +4717,17 @@ components:
title: CreateTeamRequestBody
CreateTransformRequestBody:
example:
+ kind: kind
kwargs:
key: ""
- type: type
source_code: source_code
key: key
properties:
key:
title: Key
type: string
- type:
- title: Type
+ kind:
+ title: Kind
type: string
source_code:
title: Source Code
@@ -3969,19 +4737,9 @@ components:
nullable: true
required:
- key
+ - kind
- source_code
- - type
title: CreateTransformRequestBody
- DbUrlRequest:
- example:
- db_url: db_url
- properties:
- db_url:
- title: Db Url
- type: string
- required:
- - db_url
- title: DbUrlRequest
Dimension:
example:
func: count
@@ -4002,6 +4760,47 @@ components:
required:
- field_name
title: Dimension
+ ErrorDetail:
+ example:
+ detail: detail
+ properties:
+ detail:
+ title: Detail
+ type: string
+ required:
+ - detail
+ title: ErrorDetail
+ ExecuteFunctionRequestBody:
+ example:
+ transform_uid: transform_uid
+ function_name: function_name
+ function_kwargs:
+ key: ""
+ properties:
+ transform_uid:
+ title: Transform Uid
+ type: string
+ function_name:
+ title: Function Name
+ type: string
+ function_kwargs:
+ additionalProperties: {}
+ title: Function Kwargs
+ required:
+ - function_kwargs
+ - function_name
+ - transform_uid
+ title: ExecuteFunctionRequestBody
+ ExportRecordsRequestBody:
+ example:
+ kwargs:
+ key: ""
+ properties:
+ kwargs:
+ additionalProperties: {}
+ default: {}
+ title: Kwargs
+ title: ExportRecordsRequestBody
GetRecordRequestBody:
example:
select:
@@ -4018,6 +4817,9 @@ components:
example:
filter:
key: ""
+ search_in:
+ - search_in
+ - search_in
search: ""
select:
- select
@@ -4045,11 +4847,19 @@ components:
default: ""
title: Search
type: string
+ search_in:
+ items:
+ type: string
+ nullable: true
+ type: array
title: GetRecordsRequestBody
GetValuesRequestBody:
example:
filter:
key: ""
+ search_in:
+ - search_in
+ - search_in
search: ""
order_by:
- field: field
@@ -4069,6 +4879,11 @@ components:
default: ""
title: Search
type: string
+ search_in:
+ items:
+ type: string
+ nullable: true
+ type: array
title: GetValuesRequestBody
GroupByRequestBody:
example:
@@ -4146,6 +4961,23 @@ components:
- agg_func
- field_name
title: Measure
+ NonEmptyTablesResponse:
+ example:
+ non_empty_tables:
+ key:
+ - non_empty_tables
+ - non_empty_tables
+ properties:
+ non_empty_tables:
+ additionalProperties:
+ items:
+ type: string
+ description: A dictionary where keys are module names and values are lists
+ of class names representing non-empty tables.
+ title: Non Empty Tables
+ required:
+ - non_empty_tables
+ title: NonEmptyTablesResponse
OrderByColumn:
example:
field: field
@@ -4163,6 +4995,7 @@ components:
title: OrderByColumn
RegisterDbServerBody:
example:
+ organization_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
name: name
api_server_name: api_server_name
url: url
@@ -4176,9 +5009,14 @@ components:
api_server_name:
title: Api Server Name
type: string
+ organization_id:
+ format: uuid
+ title: Organization Id
+ type: string
required:
- api_server_name
- name
+ - organization_id
- url
title: RegisterDbServerBody
RegisterFormRequest:
@@ -4202,11 +5040,65 @@ components:
- key
- schema_uid
title: RegisterFormRequest
+ Request:
+ example:
+ filter:
+ key: ""
+ search_in:
+ - search_in
+ - search_in
+ search: ""
+ select:
+ - select
+ - select
+ order_by:
+ - field: field
+ descending: false
+ - field: field
+ descending: false
+ relatives:
+ depth: 6
+ field: id
+ kind: ancestors
+ values:
+ - 0
+ - 0
+ properties:
+ select:
+ items:
+ type: string
+ nullable: true
+ type: array
+ filter:
+ additionalProperties: {}
+ nullable: true
+ order_by:
+ items:
+ $ref: '#/components/schemas/OrderByColumn'
+ nullable: true
+ type: array
+ search:
+ default: ""
+ title: Search
+ type: string
+ search_in:
+ items:
+ type: string
+ nullable: true
+ type: array
+ relatives:
+ $ref: '#/components/schemas/TraversalParams'
+ required:
+ - relatives
+ title: Request
S3PermissionsRequest:
example:
aws_access_key_id: aws_access_key_id
+ aws_session_token: aws_session_token
aws_secret_access_key: aws_secret_access_key
region: region
+ extra_parameters:
+ key: ""
properties:
aws_access_key_id:
title: Aws Access Key Id
@@ -4217,11 +5109,102 @@ components:
region:
title: Region
type: string
+ aws_session_token:
+ nullable: true
+ type: string
+ extra_parameters:
+ additionalProperties: {}
+ nullable: true
required:
- aws_access_key_id
- aws_secret_access_key
- region
title: S3PermissionsRequest
+ StatisticsResponse:
+ description: Defines the response for the instance statistics endpoint.
+ example:
+ instance_size: 0
+ counts:
+ key:
+ key: 6
+ properties:
+ instance_size:
+ description: "Total size in bytes of all artifacts, calculated precisely\
+ \ in real-time."
+ title: Instance Size
+ type: integer
+ counts:
+ additionalProperties:
+ additionalProperties:
+ type: integer
+ description: "A nested dictionary containing approximate row counts for\
+ \ tables. Keys are module names, and values are dictionaries mapping class\
+ \ names to their estimated row count."
+ title: Counts
+ required:
+ - counts
+ - instance_size
+ title: StatisticsResponse
+ SyncInstruction:
+ description: "Defines a single synchronization instruction, containing the scope\
+ \ and the desired state for that scope."
+ example:
+ desired_ids:
+ - ""
+ - ""
+ scope:
+ key: ""
+ properties:
+ scope:
+ additionalProperties: {}
+ description: "Key-value pairs defining the constant scope for this specific\
+ \ synchronization operation (e.g., {'artifact_id': 1, 'feature_id': 10})."
+ title: Scope
+ desired_ids:
+ description: The complete list of desired IDs for the list_key within this
+ scope.
+ items: {}
+ type: array
+ required:
+ - desired_ids
+ - scope
+ title: SyncInstruction
+ TraversalParams:
+ description: Parameters that define the hierarchical traversal.
+ example:
+ depth: 6
+ field: id
+ kind: ancestors
+ values:
+ - 0
+ - 0
+ properties:
+ field:
+ default: id
+ description: "The field on the model to use for identifying starting records\
+ \ (e.g., 'id', 'uid')."
+ title: Field
+ type: string
+ values:
+ description: A list of values for the specified 'field' to begin the traversal
+ from.
+ items:
+ $ref: '#/components/schemas/TraversalParams_values_inner'
+ type: array
+ kind:
+ description: The direction of traversal
+ enum:
+ - ancestors
+ - descendants
+ title: Kind
+ type: string
+ depth:
+ nullable: true
+ type: integer
+ required:
+ - kind
+ - values
+ title: TraversalParams
UpdateCollaboratorRequestBody:
example:
account_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -4253,8 +5236,9 @@ components:
role:
enum:
- admin
- - member
- manager
+ - member
+ - guest
title: Role
type: string
required:
@@ -4338,6 +5322,17 @@ components:
- msg
- type
title: ValidationError
+ Body:
+ anyOf:
+ - items:
+ additionalProperties: {}
+ type: array
+ - additionalProperties: {}
+ description: "A single record as a JSON object or a list of records to upsert.\
+ \ If a record's values for the `conflict_columns` match an existing record,\
+ \ it will be updated. Otherwise, a new record will be inserted. Only the fields\
+ \ you provide will be modified on update."
+ title: Body
Role:
anyOf:
- enum:
@@ -4346,11 +5341,17 @@ components:
type: string
- enum:
- admin
- - member
- manager
+ - member
+ - guest
type: string
default: member
title: Role
+ TraversalParams_values_inner:
+ anyOf:
+ - type: integer
+ - type: string
+ - type: boolean
Role_1:
anyOf:
- enum:
@@ -4359,8 +5360,9 @@ components:
type: string
- enum:
- admin
- - member
- manager
+ - member
+ - guest
type: string
title: Role
ValidationError_loc_inner:
diff --git a/config.yaml b/config.yaml
index 70476c8..174daf3 100644
--- a/config.yaml
+++ b/config.yaml
@@ -53,7 +53,7 @@ groupId: ai.lamin # Default: org.openapitools
artifactId: lamin-api-client
# Description: artifact version in generated pom.xml. This also becomes part of the generated library's filename. If not provided, uses the version from the OpenAPI specification file. If that's also not present, uses the default value of the artifactVersion option.
-artifactVersion: 0.0.3
+artifactVersion: 0.0.4
# Description: artifact URL in generated pom.xml
artifactUrl: https://github.com/laminlabs/lamin-api-client-java
diff --git a/docs/AccountsApi.md b/docs/AccountsApi.md
new file mode 100644
index 0000000..1822554
--- /dev/null
+++ b/docs/AccountsApi.md
@@ -0,0 +1,72 @@
+# AccountsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**getCallerAccountAccountGet**](AccountsApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account |
+
+
+
+# **getCallerAccountAccountGet**
+> Object getCallerAccountAccountGet(instanceId, authorization)
+
+Get Caller Account
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.AccountsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ AccountsApi apiInstance = new AccountsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.getCallerAccountAccountGet(instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AccountsApi#getCallerAccountAccountGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | [optional] |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/AddOrganizationMemberRequestBody.md b/docs/AddOrganizationMemberRequestBody.md
index cac9793..b610450 100644
--- a/docs/AddOrganizationMemberRequestBody.md
+++ b/docs/AddOrganizationMemberRequestBody.md
@@ -16,8 +16,9 @@
| Name | Value |
|---- | -----|
| ADMIN | "admin" |
-| MEMBER | "member" |
| MANAGER | "manager" |
+| MEMBER | "member" |
+| GUEST | "guest" |
diff --git a/docs/BackwardCompatibleEndpointsApi.md b/docs/BackwardCompatibleEndpointsApi.md
new file mode 100644
index 0000000..7bf08b1
--- /dev/null
+++ b/docs/BackwardCompatibleEndpointsApi.md
@@ -0,0 +1,72 @@
+# BackwardCompatibleEndpointsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet**](BackwardCompatibleEndpointsApi.md#getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token Backward Compatible |
+
+
+
+# **getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet**
+> Object getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet(instanceId, authorization)
+
+Get Db Token Backward Compatible
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.BackwardCompatibleEndpointsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ BackwardCompatibleEndpointsApi apiInstance = new BackwardCompatibleEndpointsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet(instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling BackwardCompatibleEndpointsApi#getDbTokenBackwardCompatibleAccessV2InstancesInstanceIdDbTokenGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/BatchDeleteBody.md b/docs/BatchDeleteBody.md
new file mode 100644
index 0000000..63c577a
--- /dev/null
+++ b/docs/BatchDeleteBody.md
@@ -0,0 +1,13 @@
+
+
+# BatchDeleteBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**records** | **List<Map<String, Object>>** | A list of dictionaries, where each dictionary contains the key(s) identifying a record to delete. | |
+
+
+
diff --git a/docs/BatchDeleteResponse.md b/docs/BatchDeleteResponse.md
new file mode 100644
index 0000000..8c0b5c0
--- /dev/null
+++ b/docs/BatchDeleteResponse.md
@@ -0,0 +1,13 @@
+
+
+# BatchDeleteResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**deletedCount** | **Integer** | | |
+
+
+
diff --git a/docs/BatchSyncLinksBody.md b/docs/BatchSyncLinksBody.md
new file mode 100644
index 0000000..eec3e55
--- /dev/null
+++ b/docs/BatchSyncLinksBody.md
@@ -0,0 +1,15 @@
+
+
+# BatchSyncLinksBody
+
+The request body for the batch synchronization endpoint.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**instructions** | [**List<SyncInstruction>**](SyncInstruction.md) | A list of synchronization instructions to be processed in a single batch. | |
+|**listKey** | **String** | The name of the column whose values are being synchronized (e.g., 'ulabel_id'). This must be the same for all instructions in the batch. | |
+
+
+
diff --git a/docs/BatchSyncResponse.md b/docs/BatchSyncResponse.md
new file mode 100644
index 0000000..7b3af56
--- /dev/null
+++ b/docs/BatchSyncResponse.md
@@ -0,0 +1,17 @@
+
+
+# BatchSyncResponse
+
+The detailed response model for a batch synchronization operation, including the lists of records that were processed.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **String** | | |
+|**deleted** | **List<Map<String, Object>>** | A list of the records that were deleted. | |
+|**inserted** | **List<Map<String, Object>>** | A list of the records that were inserted, including server-added audit fields. | |
+|**kept** | **Integer** | The number of records that already existed and were kept. | |
+
+
+
diff --git a/docs/BatchUpdateBody.md b/docs/BatchUpdateBody.md
new file mode 100644
index 0000000..fb4258f
--- /dev/null
+++ b/docs/BatchUpdateBody.md
@@ -0,0 +1,14 @@
+
+
+# BatchUpdateBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**records** | **List<Map<String, Object>>** | A list of records to update. Each dictionary must contain the key(s) specified in `index_columns` and the fields to be updated. | |
+|**indexColumns** | **List<String>** | A list of column names to use as the identifier for matching records to update (e.g., ['uid']). | |
+
+
+
diff --git a/docs/Body.md b/docs/Body.md
new file mode 100644
index 0000000..2ae97de
--- /dev/null
+++ b/docs/Body.md
@@ -0,0 +1,13 @@
+
+
+# Body
+
+A single record as a JSON object or a list of records to upsert. If a record's values for the `conflict_columns` match an existing record, it will be updated. Otherwise, a new record will be inserted. Only the fields you provide will be modified on update.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+
+
+
diff --git a/docs/CacheApi.md b/docs/CacheApi.md
new file mode 100644
index 0000000..950a5b2
--- /dev/null
+++ b/docs/CacheApi.md
@@ -0,0 +1,136 @@
+# CacheApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**getInstanceCacheCacheInstancesInstanceIdGet**](CacheApi.md#getInstanceCacheCacheInstancesInstanceIdGet) | **GET** /cache/instances/{instance_id} | Get Instance Cache |
+| [**invalidateInstanceCacheCacheInstancesInstanceIdDelete**](CacheApi.md#invalidateInstanceCacheCacheInstancesInstanceIdDelete) | **DELETE** /cache/instances/{instance_id} | Invalidate Instance Cache |
+
+
+
+# **getInstanceCacheCacheInstancesInstanceIdGet**
+> Object getInstanceCacheCacheInstancesInstanceIdGet(instanceId, authorization)
+
+Get Instance Cache
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.CacheApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ CacheApi apiInstance = new CacheApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.getInstanceCacheCacheInstancesInstanceIdGet(instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling CacheApi#getInstanceCacheCacheInstancesInstanceIdGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **invalidateInstanceCacheCacheInstancesInstanceIdDelete**
+> Object invalidateInstanceCacheCacheInstancesInstanceIdDelete(instanceId, authorization)
+
+Invalidate Instance Cache
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.CacheApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ CacheApi apiInstance = new CacheApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.invalidateInstanceCacheCacheInstancesInstanceIdDelete(instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling CacheApi#invalidateInstanceCacheCacheInstancesInstanceIdDelete");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/CreateTransformRequestBody.md b/docs/CreateTransformRequestBody.md
index 6283650..69e7439 100644
--- a/docs/CreateTransformRequestBody.md
+++ b/docs/CreateTransformRequestBody.md
@@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**key** | **String** | | |
-|**type** | **String** | | |
+|**kind** | **String** | | |
|**sourceCode** | **String** | | |
|**kwargs** | **Map<String, Object>** | | [optional] |
diff --git a/docs/DbServerApi.md b/docs/DbServerApi.md
new file mode 100644
index 0000000..56077c0
--- /dev/null
+++ b/docs/DbServerApi.md
@@ -0,0 +1,140 @@
+# DbServerApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**checkDbServerAccessDbServerCheckAccessPost**](DbServerApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access |
+| [**registerDbServerDbServerRegisterPost**](DbServerApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server |
+
+
+
+# **checkDbServerAccessDbServerCheckAccessPost**
+> Object checkDbServerAccessDbServerCheckAccessPost(name, instanceId, authorization)
+
+Check Db Server Access
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.DbServerApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ DbServerApi apiInstance = new DbServerApi(defaultClient);
+ String name = "name_example"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.checkDbServerAccessDbServerCheckAccessPost(name, instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DbServerApi#checkDbServerAccessDbServerCheckAccessPost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **name** | **String**| | |
+| **instanceId** | **UUID**| | [optional] |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **registerDbServerDbServerRegisterPost**
+> Object registerDbServerDbServerRegisterPost(registerDbServerBody, instanceId, authorization)
+
+Register Db Server
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.DbServerApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ DbServerApi apiInstance = new DbServerApi(defaultClient);
+ RegisterDbServerBody registerDbServerBody = new RegisterDbServerBody(); // RegisterDbServerBody |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.registerDbServerDbServerRegisterPost(registerDbServerBody, instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DbServerApi#registerDbServerDbServerRegisterPost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **registerDbServerBody** | [**RegisterDbServerBody**](RegisterDbServerBody.md)| | |
+| **instanceId** | **UUID**| | [optional] |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md
deleted file mode 100644
index eaec2e7..0000000
--- a/docs/DefaultApi.md
+++ /dev/null
@@ -1,4945 +0,0 @@
-# DefaultApi
-
-All URIs are relative to *https://aws.us-east-1.lamin.ai/api*
-
-| Method | HTTP request | Description |
-|------------- | ------------- | -------------|
-| [**addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut**](DefaultApi.md#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut) | **PUT** /access_v2/instances/{instance_id}/collaborators | Add Collaborator |
-| [**addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut**](DefaultApi.md#addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut) | **PUT** /instances/{instance_id}/collaborators/{account_id} | Add Collaborator |
-| [**addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut**](DefaultApi.md#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut) | **PUT** /access_v2/organizations/{organization_id}/members/{account_id} | Add Organization Member |
-| [**addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut**](DefaultApi.md#addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut) | **PUT** /access_v2/spaces/{space_id}/collaborators | Add Space Collaborator |
-| [**addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut**](DefaultApi.md#addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut) | **PUT** /access_v2/teams/{team_id}/members/{account_id} | Add Team Member |
-| [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](DefaultApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label |
-| [**attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut**](DefaultApi.md#attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut) | **PUT** /access_v2/spaces/{space_id}/instances/{instance_id} | Attach Space To Instance |
-| [**checkCacheAccessDebugCacheAccessGet**](DefaultApi.md#checkCacheAccessDebugCacheAccessGet) | **GET** /_debug/cache-access | Check Cache Access |
-| [**checkDbAccessDebugDbAccessPost**](DefaultApi.md#checkDbAccessDebugDbAccessPost) | **POST** /_debug/db-access | Check Db Access |
-| [**checkDbServerAccessDbServerCheckAccessPost**](DefaultApi.md#checkDbServerAccessDbServerCheckAccessPost) | **POST** /db/server/check-access | Check Db Server Access |
-| [**checkLambdaAccessDebugLambdaAccessGet**](DefaultApi.md#checkLambdaAccessDebugLambdaAccessGet) | **GET** /_debug/lambda-access | Check Lambda Access |
-| [**createArtifactInstancesInstanceIdArtifactsCreatePost**](DefaultApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact |
-| [**createInstanceInstancesPut**](DefaultApi.md#createInstanceInstancesPut) | **PUT** /instances | Create Instance |
-| [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](DefaultApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records |
-| [**createSpaceAccessV2SpacesPut**](DefaultApi.md#createSpaceAccessV2SpacesPut) | **PUT** /access_v2/spaces | Create Space |
-| [**createTeamAccessV2TeamsPut**](DefaultApi.md#createTeamAccessV2TeamsPut) | **PUT** /access_v2/teams | Create Team |
-| [**createTransformInstancesInstanceIdTransformsPost**](DefaultApi.md#createTransformInstancesInstanceIdTransformsPost) | **POST** /instances/{instance_id}/transforms | Create Transform |
-| [**deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete**](DefaultApi.md#deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete) | **DELETE** /instances/{instance_id}/collaborators/{account_id} | Delete Collaborator |
-| [**deleteInstanceInstancesInstanceIdDelete**](DefaultApi.md#deleteInstanceInstancesInstanceIdDelete) | **DELETE** /instances/{instance_id} | Delete Instance |
-| [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](DefaultApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record |
-| [**deleteSpaceAccessV2SpacesSpaceIdDelete**](DefaultApi.md#deleteSpaceAccessV2SpacesSpaceIdDelete) | **DELETE** /access_v2/spaces/{space_id} | Delete Space |
-| [**deleteTeamAccessV2TeamsTeamIdDelete**](DefaultApi.md#deleteTeamAccessV2TeamsTeamIdDelete) | **DELETE** /access_v2/teams/{team_id} | Delete Team |
-| [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](DefaultApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label |
-| [**detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete**](DefaultApi.md#detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete) | **DELETE** /access_v2/spaces/{space_id}/instances/{instance_id} | Detach Space From Instance |
-| [**getCallerAccountAccountGet**](DefaultApi.md#getCallerAccountAccountGet) | **GET** /account | Get Caller Account |
-| [**getDbTokenAccessV2InstancesInstanceIdDbTokenGet**](DefaultApi.md#getDbTokenAccessV2InstancesInstanceIdDbTokenGet) | **GET** /access_v2/instances/{instance_id}/db_token | Get Db Token |
-| [**getInstanceStatisticsInstancesInstanceIdStatisticsGet**](DefaultApi.md#getInstanceStatisticsInstancesInstanceIdStatisticsGet) | **GET** /instances/{instance_id}/statistics | Get Instance Statistics |
-| [**getIpDebugIpGet**](DefaultApi.md#getIpDebugIpGet) | **GET** /_debug/ip | Get Ip |
-| [**getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**](DefaultApi.md#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet) | **GET** /instances/{instance_id}/non_empty_tables | Get Non Empty Tables |
-| [**getOrganizationAccessV2OrganizationsOrganizationIdGet**](DefaultApi.md#getOrganizationAccessV2OrganizationsOrganizationIdGet) | **GET** /access_v2/organizations/{organization_id} | Get Organization |
-| [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](DefaultApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record |
-| [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](DefaultApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records |
-| [**getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**](DefaultApi.md#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet) | **GET** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/counts | Get Relation Counts |
-| [**getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet**](DefaultApi.md#getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet) | **GET** /instances/{instance_id}/schema/{module_name}/{model_name} | Get Relations |
-| [**getSchemaInstancesInstanceIdSchemaGet**](DefaultApi.md#getSchemaInstancesInstanceIdSchemaGet) | **GET** /instances/{instance_id}/schema | Get Schema |
-| [**getSpaceAccessV2SpacesSpaceIdGet**](DefaultApi.md#getSpaceAccessV2SpacesSpaceIdGet) | **GET** /access_v2/spaces/{space_id} | Get Space |
-| [**getTeamAccessV2TeamsTeamIdGet**](DefaultApi.md#getTeamAccessV2TeamsTeamIdGet) | **GET** /access_v2/teams/{team_id} | Get Team |
-| [**getTreeInstancesInstanceIdTreeGet**](DefaultApi.md#getTreeInstancesInstanceIdTreeGet) | **GET** /instances/{instance_id}/tree | Get Tree |
-| [**getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost**](DefaultApi.md#getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path} | Get Values |
-| [**grantS3PermissionsStoragesS3BucketNamePermissionsPut**](DefaultApi.md#grantS3PermissionsStoragesS3BucketNamePermissionsPut) | **PUT** /storages/s3/{bucket_name}/permissions | Grant S3 Permissions |
-| [**groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost**](DefaultApi.md#groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/group-by | Group By |
-| [**listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet**](DefaultApi.md#listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet) | **GET** /access_v2/instances/{instance_id}/collaborators | List Collaborators |
-| [**listDirectoryInstancesInstanceIdEntityTypeGet**](DefaultApi.md#listDirectoryInstancesInstanceIdEntityTypeGet) | **GET** /instances/{instance_id}/{entity_type} | List Directory |
-| [**listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet**](DefaultApi.md#listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet) | **GET** /access_v2/spaces/instances/{instance_id} | List Instance Spaces |
-| [**listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet**](DefaultApi.md#listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet) | **GET** /access_v2/spaces/{space_id}/instances | List Instances Using Space |
-| [**listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet**](DefaultApi.md#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet) | **GET** /access_v2/organizations/{organization_id}/members | List Organization Members |
-| [**listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet**](DefaultApi.md#listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet) | **GET** /access_v2/spaces/organizations/{organization_id} | List Organization Spaces |
-| [**listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet**](DefaultApi.md#listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet) | **GET** /access_v2/teams/organizations/{organization_id} | List Organization Teams |
-| [**listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**](DefaultApi.md#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet) | **GET** /access_v2/spaces/{space_id}/collaborators | List Space Collaborators |
-| [**listTeamMembersAccessV2TeamsTeamIdMembersGet**](DefaultApi.md#listTeamMembersAccessV2TeamsTeamIdMembersGet) | **GET** /access_v2/teams/{team_id}/members | List Team Members |
-| [**moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**](DefaultApi.md#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut) | **PUT** /access_v2/spaces/{space_id}/record-attachments | Move Record To Space |
-| [**proxyS3S3PathGet**](DefaultApi.md#proxyS3S3PathGet) | **GET** /s3/{path} | Proxy S3 |
-| [**proxyS3S3PathGet_0**](DefaultApi.md#proxyS3S3PathGet_0) | **HEAD** /s3/{path} | Proxy S3 |
-| [**proxyS3S3PathGet_1**](DefaultApi.md#proxyS3S3PathGet_1) | **PUT** /s3/{path} | Proxy S3 |
-| [**proxyS3S3PathGet_2**](DefaultApi.md#proxyS3S3PathGet_2) | **POST** /s3/{path} | Proxy S3 |
-| [**proxyS3S3PathGet_3**](DefaultApi.md#proxyS3S3PathGet_3) | **DELETE** /s3/{path} | Proxy S3 |
-| [**registerDbServerDbServerRegisterPost**](DefaultApi.md#registerDbServerDbServerRegisterPost) | **POST** /db/server/register | Register Db Server |
-| [**registerFormInstancesInstanceIdFormsPost**](DefaultApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form |
-| [**removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**](DefaultApi.md#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete) | **DELETE** /access_v2/instances/{instance_id}/collaborators | Remove Collaborator |
-| [**removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete**](DefaultApi.md#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete) | **DELETE** /access_v2/organizations/{organization_id}/members/{account_id} | Remove Organization Member |
-| [**removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete**](DefaultApi.md#removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete) | **DELETE** /access_v2/spaces/{space_id}/collaborators | Remove Space Collaborator |
-| [**removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete**](DefaultApi.md#removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete) | **DELETE** /access_v2/teams/{team_id}/members/{account_id} | Remove Team Member |
-| [**transferOwnershipInstancesInstanceIdOwnerHandlePatch**](DefaultApi.md#transferOwnershipInstancesInstanceIdOwnerHandlePatch) | **PATCH** /instances/{instance_id}/owner/{handle} | Transfer Ownership |
-| [**updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch**](DefaultApi.md#updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch) | **PATCH** /access_v2/instances/{instance_id}/collaborators | Update Collaborator |
-| [**updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch**](DefaultApi.md#updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch) | **PATCH** /instances/{instance_id}/collaborators/{account_id} | Update Collaborator |
-| [**updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch**](DefaultApi.md#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch) | **PATCH** /access_v2/organizations/{organization_id}/members/{account_id} | Update Organization Member |
-| [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](DefaultApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record |
-| [**updateSpaceAccessV2SpacesSpaceIdPatch**](DefaultApi.md#updateSpaceAccessV2SpacesSpaceIdPatch) | **PATCH** /access_v2/spaces/{space_id} | Update Space |
-| [**updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch**](DefaultApi.md#updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch) | **PATCH** /access_v2/spaces/{space_id}/collaborators | Update Space Collaborator |
-| [**updateTeamAccessV2TeamsTeamIdPatch**](DefaultApi.md#updateTeamAccessV2TeamsTeamIdPatch) | **PATCH** /access_v2/teams/{team_id} | Update Team |
-| [**updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**](DefaultApi.md#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch) | **PATCH** /access_v2/teams/{team_id}/members/{account_id} | Update Team Member |
-| [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](DefaultApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact |
-| [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](DefaultApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert Records |
-
-
-
-# **addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut**
-> Object addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut(instanceId, addCollaboratorRequestBody, authorization)
-
-Add Collaborator
-
-Add a collaborator (account or team) to an instance. Parameters: - **instance_id**: UUID of the instance to add the collaborator to (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to add (mutually exclusive with team_id) - **team_id**: UUID of the team to add (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **201**: Collaborator added successfully - **400**: Invalid input (e.g., both account_id and team_id provided) - **409**: Collaborator was already added Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- AddCollaboratorRequestBody addCollaboratorRequestBody = new AddCollaboratorRequestBody(); // AddCollaboratorRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut(instanceId, addCollaboratorRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addCollaboratorAccessV2InstancesInstanceIdCollaboratorsPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **addCollaboratorRequestBody** | [**AddCollaboratorRequestBody**](AddCollaboratorRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut**
-> Object addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut(instanceId, accountId, schemaId, role, authorization)
-
-Add Collaborator
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String role = "admin"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut(instanceId, accountId, schemaId, role, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addCollaboratorInstancesInstanceIdCollaboratorsAccountIdPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **schemaId** | **UUID**| | |
-| **role** | **String**| | [optional] [default to read] [enum: admin, write, read] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut**
-> Object addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(organizationId, accountId, addOrganizationMemberRequestBody, authorization)
-
-Add Organization Member
-
-Add a member to an organization. Parameters: - **organization_id**: UUID of the organization to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the organization Returns: - **201**: Organization member added successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- AddOrganizationMemberRequestBody addOrganizationMemberRequestBody = new AddOrganizationMemberRequestBody(); // AddOrganizationMemberRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut(organizationId, accountId, addOrganizationMemberRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **addOrganizationMemberRequestBody** | [**AddOrganizationMemberRequestBody**](AddOrganizationMemberRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut**
-> Object addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut(spaceId, addSpaceCollaboratorRequestBody, authorization)
-
-Add Space Collaborator
-
-Add a collaborator (account or team) to a space. Parameters: - **space_id**: ID of the space to add the collaborator to - **body**: Request body containing collaborator details - **account_id**: UUID of the account to add (mutually exclusive with team_id) - **team_id**: UUID of the team to add (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **201**: Collaborator added to space successfully - **400**: Invalid input (e.g., both account_id and team_id provided)
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- AddSpaceCollaboratorRequestBody addSpaceCollaboratorRequestBody = new AddSpaceCollaboratorRequestBody(); // AddSpaceCollaboratorRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut(spaceId, addSpaceCollaboratorRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **addSpaceCollaboratorRequestBody** | [**AddSpaceCollaboratorRequestBody**](AddSpaceCollaboratorRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut**
-> Object addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut(teamId, accountId, addTeamMemberRequestBody, authorization)
-
-Add Team Member
-
-Add a member to a team. Parameters: - **team_id**: UUID of the team to add the member to - **account_id**: UUID of the account to add as a member - **body**: Request body containing member details - **role**: Role of the member in the team Returns: - **201**: Team member added successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- AddTeamMemberRequestBody addTeamMemberRequestBody = new AddTeamMemberRequestBody(); // AddTeamMemberRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut(teamId, accountId, addTeamMemberRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#addTeamMemberAccessV2TeamsTeamIdMembersAccountIdPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **addTeamMemberRequestBody** | [**AddTeamMemberRequestBody**](AddTeamMemberRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**
-> Object attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(moduleName, modelName, id, labelField, labelId, instanceId, schemaId, authorization)
-
-Attach Label
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "artifact"; // String |
- Integer id = 56; // Integer |
- String labelField = "labelField_example"; // String |
- Integer labelId = 56; // Integer |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(moduleName, modelName, id, labelField, labelId, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | [enum: artifact, transform, collection] |
-| **id** | **Integer**| | |
-| **labelField** | **String**| | |
-| **labelId** | **Integer**| | |
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut**
-> Object attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut(spaceId, instanceId, authorization)
-
-Attach Space To Instance
-
-Attach a space to a specific instance. Parameters: - **space_id**: ID of the space to attach - **instance_id**: UUID of the instance to attach the space to (from URL path) Returns: - **200**: Space attached to instance successfully Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut(spaceId, instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#attachSpaceToInstanceAccessV2SpacesSpaceIdInstancesInstanceIdPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **checkCacheAccessDebugCacheAccessGet**
-> Object checkCacheAccessDebugCacheAccessGet()
-
-Check Cache Access
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- try {
- Object result = apiInstance.checkCacheAccessDebugCacheAccessGet();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#checkCacheAccessDebugCacheAccessGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-
-
-# **checkDbAccessDebugDbAccessPost**
-> Object checkDbAccessDebugDbAccessPost(dbUrlRequest)
-
-Check Db Access
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- DbUrlRequest dbUrlRequest = new DbUrlRequest(); // DbUrlRequest |
- try {
- Object result = apiInstance.checkDbAccessDebugDbAccessPost(dbUrlRequest);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#checkDbAccessDebugDbAccessPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **dbUrlRequest** | [**DbUrlRequest**](DbUrlRequest.md)| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **checkDbServerAccessDbServerCheckAccessPost**
-> Object checkDbServerAccessDbServerCheckAccessPost(name, authorization)
-
-Check Db Server Access
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String name = "name_example"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.checkDbServerAccessDbServerCheckAccessPost(name, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#checkDbServerAccessDbServerCheckAccessPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **name** | **String**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **checkLambdaAccessDebugLambdaAccessGet**
-> Object checkLambdaAccessDebugLambdaAccessGet()
-
-Check Lambda Access
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- try {
- Object result = apiInstance.checkLambdaAccessDebugLambdaAccessGet();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#checkLambdaAccessDebugLambdaAccessGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-
-
-# **createArtifactInstancesInstanceIdArtifactsCreatePost**
-> Object createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization)
-
-Create Artifact
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- CreateArtifactRequestBody createArtifactRequestBody = new CreateArtifactRequestBody(); // CreateArtifactRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createArtifactInstancesInstanceIdArtifactsCreatePost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **createArtifactRequestBody** | [**CreateArtifactRequestBody**](CreateArtifactRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **createInstanceInstancesPut**
-> Object createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, storageUid, authorization)
-
-Create Instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String name = "name_example"; // String |
- String storage = "create-s3"; // String |
- String schemaStr = "schemaStr_example"; // String |
- String dbServerKey = "dbServerKey_example"; // String |
- String storageUid = "storageUid_example"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createInstanceInstancesPut(name, storage, schemaStr, dbServerKey, storageUid, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createInstanceInstancesPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **name** | **String**| | |
-| **storage** | **String**| | [optional] [default to create-s3] |
-| **schemaStr** | **String**| | [optional] |
-| **dbServerKey** | **String**| | [optional] |
-| **storageUid** | **String**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**
-> Object createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization)
-
-Create Records
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Object body = null; // Object |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createRecordsInstancesInstanceIdModulesModuleNameModelNamePut(moduleName, modelName, instanceId, body, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **body** | **Object**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **createSpaceAccessV2SpacesPut**
-> Object createSpaceAccessV2SpacesPut(createSpaceRequestBody, authorization)
-
-Create Space
-
-Create a new space. Parameters: - **body**: Request body containing space details - **name**: Name of the space - **organization_id**: UUID of the organization - **description**: Optional description of the space Returns: - **201**: Space created successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- CreateSpaceRequestBody createSpaceRequestBody = new CreateSpaceRequestBody(); // CreateSpaceRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createSpaceAccessV2SpacesPut(createSpaceRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createSpaceAccessV2SpacesPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **createSpaceRequestBody** | [**CreateSpaceRequestBody**](CreateSpaceRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **createTeamAccessV2TeamsPut**
-> Object createTeamAccessV2TeamsPut(createTeamRequestBody, authorization)
-
-Create Team
-
-Create a new team. Parameters: - **body**: Request body containing team details - **name**: Name of the team - **organization_id**: UUID of the organization - **description**: Optional description of the team Returns: - **201**: Team created successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- CreateTeamRequestBody createTeamRequestBody = new CreateTeamRequestBody(); // CreateTeamRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createTeamAccessV2TeamsPut(createTeamRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createTeamAccessV2TeamsPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **createTeamRequestBody** | [**CreateTeamRequestBody**](CreateTeamRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **createTransformInstancesInstanceIdTransformsPost**
-> Object createTransformInstancesInstanceIdTransformsPost(instanceId, createTransformRequestBody, authorization)
-
-Create Transform
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- CreateTransformRequestBody createTransformRequestBody = new CreateTransformRequestBody(); // CreateTransformRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.createTransformInstancesInstanceIdTransformsPost(instanceId, createTransformRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#createTransformInstancesInstanceIdTransformsPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **createTransformRequestBody** | [**CreateTransformRequestBody**](CreateTransformRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete**
-> Object deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete(instanceId, accountId, authorization)
-
-Delete Collaborator
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete(instanceId, accountId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteCollaboratorInstancesInstanceIdCollaboratorsAccountIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **deleteInstanceInstancesInstanceIdDelete**
-> Object deleteInstanceInstancesInstanceIdDelete(instanceId, instanceName, authorization)
-
-Delete Instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String instanceName = "instanceName_example"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.deleteInstanceInstancesInstanceIdDelete(instanceId, instanceName, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteInstanceInstancesInstanceIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **instanceName** | **String**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**
-> Object deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete(moduleName, modelName, uid, instanceId, schemaId, authorization)
-
-Delete Record
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- String uid = "uid_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete(moduleName, modelName, uid, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **uid** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **deleteSpaceAccessV2SpacesSpaceIdDelete**
-> Object deleteSpaceAccessV2SpacesSpaceIdDelete(spaceId, authorization)
-
-Delete Space
-
-Delete a space and detach it from the instance. Parameters: - **space_id**: ID of the space to delete Returns: - **200**: Space deleted successfully - **404**: Space not found
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.deleteSpaceAccessV2SpacesSpaceIdDelete(spaceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteSpaceAccessV2SpacesSpaceIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **deleteTeamAccessV2TeamsTeamIdDelete**
-> Object deleteTeamAccessV2TeamsTeamIdDelete(teamId, authorization)
-
-Delete Team
-
-Delete a team. Parameters: - **team_id**: UUID of the team to delete Returns: - **200**: Team deleted successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.deleteTeamAccessV2TeamsTeamIdDelete(teamId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteTeamAccessV2TeamsTeamIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**
-> Object detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(moduleName, modelName, id, labelField, labelId, instanceId, schemaId, authorization)
-
-Detach Label
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "artifact"; // String |
- Integer id = 56; // Integer |
- String labelField = "labelField_example"; // String |
- Integer labelId = 56; // Integer |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(moduleName, modelName, id, labelField, labelId, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | [enum: artifact, transform, collection] |
-| **id** | **Integer**| | |
-| **labelField** | **String**| | |
-| **labelId** | **Integer**| | |
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete**
-> Object detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete(spaceId, instanceId, authorization)
-
-Detach Space From Instance
-
-Detach a space from a specific instance. Parameters: - **space_id**: ID of the space to detach - **instance_id**: UUID of the instance to detach the space from (from URL path) Returns: - **200**: Space detached from instance successfully Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete(spaceId, instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#detachSpaceFromInstanceAccessV2SpacesSpaceIdInstancesInstanceIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getCallerAccountAccountGet**
-> Object getCallerAccountAccountGet(authorization)
-
-Get Caller Account
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getCallerAccountAccountGet(authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getCallerAccountAccountGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getDbTokenAccessV2InstancesInstanceIdDbTokenGet**
-> Object getDbTokenAccessV2InstancesInstanceIdDbTokenGet(instanceId, authorization)
-
-Get Db Token
-
-Get a database token for the specified instance. This token can be used to authenticate with the instance's database. Parameters: - **instance_id**: UUID of the instance to get the token for (from URL path) Returns: - **200**: Database token retrieved successfully - **token**: The database token - **401**: Unauthorized
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getDbTokenAccessV2InstancesInstanceIdDbTokenGet(instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getDbTokenAccessV2InstancesInstanceIdDbTokenGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getInstanceStatisticsInstancesInstanceIdStatisticsGet**
-> Object getInstanceStatisticsInstancesInstanceIdStatisticsGet(instanceId, q, schemaId, authorization)
-
-Get Instance Statistics
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- List q = Arrays.asList(); // List | In ${module}.${model} format (case-sensitive)
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getInstanceStatisticsInstancesInstanceIdStatisticsGet(instanceId, q, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getInstanceStatisticsInstancesInstanceIdStatisticsGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **q** | [**List<String>**](String.md)| In ${module}.${model} format (case-sensitive) | [optional] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getIpDebugIpGet**
-> Object getIpDebugIpGet()
-
-Get Ip
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- try {
- Object result = apiInstance.getIpDebugIpGet();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getIpDebugIpGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-
-
-# **getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet**
-> Object getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization)
-
-Get Non Empty Tables
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet(instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getNonEmptyTablesInstancesInstanceIdNonEmptyTablesGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getOrganizationAccessV2OrganizationsOrganizationIdGet**
-> Object getOrganizationAccessV2OrganizationsOrganizationIdGet(organizationId, authorization)
-
-Get Organization
-
-Get details of a specific organization. Parameters: - **organization_id**: UUID of the organization to retrieve Returns: - **200**: Organization details retrieved successfully - **404**: Organization not found
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getOrganizationAccessV2OrganizationsOrganizationIdGet(organizationId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getOrganizationAccessV2OrganizationsOrganizationIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**
-> Object getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost(moduleName, modelName, idOrUid, instanceId, limitToMany, includeForeignKeys, schemaId, authorization, getRecordRequestBody)
-
-Get Record
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- String idOrUid = "idOrUid_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Integer limitToMany = 10; // Integer |
- Boolean includeForeignKeys = false; // Boolean |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- GetRecordRequestBody getRecordRequestBody = new GetRecordRequestBody(); // GetRecordRequestBody |
- try {
- Object result = apiInstance.getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost(moduleName, modelName, idOrUid, instanceId, limitToMany, includeForeignKeys, schemaId, authorization, getRecordRequestBody);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **idOrUid** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **limitToMany** | **Integer**| | [optional] [default to 10] |
-| **includeForeignKeys** | **Boolean**| | [optional] [default to false] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-| **getRecordRequestBody** | [**GetRecordRequestBody**](GetRecordRequestBody.md)| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**
-> Object getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(moduleName, modelName, instanceId, limit, offset, limitToMany, includeForeignKeys, schemaId, authorization, getRecordsRequestBody)
-
-Get Records
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Integer limit = 50; // Integer |
- Integer offset = 0; // Integer |
- Integer limitToMany = 10; // Integer |
- Boolean includeForeignKeys = false; // Boolean |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- GetRecordsRequestBody getRecordsRequestBody = new GetRecordsRequestBody(); // GetRecordsRequestBody |
- try {
- Object result = apiInstance.getRecordsInstancesInstanceIdModulesModuleNameModelNamePost(moduleName, modelName, instanceId, limit, offset, limitToMany, includeForeignKeys, schemaId, authorization, getRecordsRequestBody);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **limit** | **Integer**| | [optional] [default to 50] |
-| **offset** | **Integer**| | [optional] [default to 0] |
-| **limitToMany** | **Integer**| | [optional] [default to 10] |
-| **includeForeignKeys** | **Boolean**| | [optional] [default to false] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-| **getRecordsRequestBody** | [**GetRecordsRequestBody**](GetRecordsRequestBody.md)| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet**
-> Object getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet(moduleName, modelName, id, instanceId, schemaId, authorization)
-
-Get Relation Counts
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- Integer id = 56; // Integer |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet(moduleName, modelName, id, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getRelationCountsInstancesInstanceIdModulesModuleNameModelNameIdCountsGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **id** | **Integer**| | |
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet**
-> Object getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(moduleName, modelName, instanceId, authorization)
-
-Get Relations
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet(moduleName, modelName, instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getRelationsInstancesInstanceIdSchemaModuleNameModelNameGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getSchemaInstancesInstanceIdSchemaGet**
-> Object getSchemaInstancesInstanceIdSchemaGet(instanceId, authorization)
-
-Get Schema
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getSchemaInstancesInstanceIdSchemaGet(instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSchemaInstancesInstanceIdSchemaGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getSpaceAccessV2SpacesSpaceIdGet**
-> Object getSpaceAccessV2SpacesSpaceIdGet(spaceId, authorization)
-
-Get Space
-
-Get details of a specific space. Parameters: - **space_id**: ID of the space to retrieve Returns: - **200**: Space details retrieved successfully - **404**: Space not found
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getSpaceAccessV2SpacesSpaceIdGet(spaceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSpaceAccessV2SpacesSpaceIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getTeamAccessV2TeamsTeamIdGet**
-> Object getTeamAccessV2TeamsTeamIdGet(teamId, authorization)
-
-Get Team
-
-Get details of a specific team. Parameters: - **team_id**: UUID of the team to retrieve Returns: - **200**: Team details retrieved successfully - **404**: Team not found
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getTeamAccessV2TeamsTeamIdGet(teamId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTeamAccessV2TeamsTeamIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getTreeInstancesInstanceIdTreeGet**
-> Object getTreeInstancesInstanceIdTreeGet(instanceId, entityType, schemaId, authorization)
-
-Get Tree
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String entityType = "artifact"; // String |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.getTreeInstancesInstanceIdTreeGet(instanceId, entityType, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTreeInstancesInstanceIdTreeGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **entityType** | **String**| | [enum: artifact, transform] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost**
-> Object getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost(moduleName, modelName, fieldPath, instanceId, limit, offset, schemaId, authorization, getValuesRequestBody)
-
-Get Values
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- String fieldPath = "fieldPath_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Integer limit = 50; // Integer |
- Integer offset = 0; // Integer |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- GetValuesRequestBody getValuesRequestBody = new GetValuesRequestBody(); // GetValuesRequestBody |
- try {
- Object result = apiInstance.getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost(moduleName, modelName, fieldPath, instanceId, limit, offset, schemaId, authorization, getValuesRequestBody);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **fieldPath** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **limit** | **Integer**| | [optional] [default to 50] |
-| **offset** | **Integer**| | [optional] [default to 0] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-| **getValuesRequestBody** | [**GetValuesRequestBody**](GetValuesRequestBody.md)| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **grantS3PermissionsStoragesS3BucketNamePermissionsPut**
-> Object grantS3PermissionsStoragesS3BucketNamePermissionsPut(bucketName, s3PermissionsRequest, awsAccountId, awsUserName, authorization)
-
-Grant S3 Permissions
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String bucketName = "bucketName_example"; // String |
- S3PermissionsRequest s3PermissionsRequest = new S3PermissionsRequest(); // S3PermissionsRequest |
- String awsAccountId = "767398070972"; // String |
- String awsUserName = "lamin-manager"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.grantS3PermissionsStoragesS3BucketNamePermissionsPut(bucketName, s3PermissionsRequest, awsAccountId, awsUserName, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#grantS3PermissionsStoragesS3BucketNamePermissionsPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **bucketName** | **String**| | |
-| **s3PermissionsRequest** | [**S3PermissionsRequest**](S3PermissionsRequest.md)| | |
-| **awsAccountId** | **String**| | [optional] [default to 767398070972] |
-| **awsUserName** | **String**| | [optional] [default to lamin-manager] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost**
-> Object groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(moduleName, modelName, instanceId, groupByRequestBody, schemaId, authorization)
-
-Group By
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- GroupByRequestBody groupByRequestBody = new GroupByRequestBody(); // GroupByRequestBody |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost(moduleName, modelName, instanceId, groupByRequestBody, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#groupByInstancesInstanceIdModulesModuleNameModelNameGroupByPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **groupByRequestBody** | [**GroupByRequestBody**](GroupByRequestBody.md)| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet**
-> Object listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet(instanceId, authorization)
-
-List Collaborators
-
-List all collaborators of an instance. Parameters: - **instance_id**: UUID of the instance to list collaborators for (from URL path) Returns: - **200**: List of instance collaborators retrieved successfully Requires read access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet(instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listCollaboratorsAccessV2InstancesInstanceIdCollaboratorsGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listDirectoryInstancesInstanceIdEntityTypeGet**
-> Object listDirectoryInstancesInstanceIdEntityTypeGet(entityType, instanceId, path, schemaId, authorization)
-
-List Directory
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String entityType = "artifact"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- String path = ""; // String |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listDirectoryInstancesInstanceIdEntityTypeGet(entityType, instanceId, path, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listDirectoryInstancesInstanceIdEntityTypeGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **entityType** | **String**| | [enum: artifact, transform] |
-| **instanceId** | **UUID**| | |
-| **path** | **String**| | [optional] [default to ] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet**
-> Object listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(instanceId, authorization)
-
-List Instance Spaces
-
-List all spaces attached to an instance. Parameters: - **instance_id**: UUID of the instance to list spaces for (from URL path) Returns: - **200**: List of spaces attached to the instance retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet(instanceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listInstanceSpacesAccessV2SpacesInstancesInstanceIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet**
-> Object listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(spaceId, authorization)
-
-List Instances Using Space
-
-List all instances that have this space attached. Parameters: - **space_id**: ID of the space to check Returns: - **200**: List of instances using the space retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet(spaceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listInstancesUsingSpaceAccessV2SpacesSpaceIdInstancesGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet**
-> Object listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(organizationId, authorization)
-
-List Organization Members
-
-List all members of an organization. Parameters: - **organization_id**: UUID of the organization to list members for Returns: - **200**: List of organization members retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet(organizationId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listOrganizationMembersAccessV2OrganizationsOrganizationIdMembersGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet**
-> Object listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet(organizationId, authorization)
-
-List Organization Spaces
-
-List all spaces in an organization. Parameters: - **organization_id**: UUID of the organization to list spaces for Returns: - **200**: List of spaces retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet(organizationId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listOrganizationSpacesAccessV2SpacesOrganizationsOrganizationIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet**
-> Object listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet(organizationId, authorization)
-
-List Organization Teams
-
-List all teams in an organization. Parameters: - **organization_id**: UUID of the organization to list teams for Returns: - **200**: List of teams retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet(organizationId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listOrganizationTeamsAccessV2TeamsOrganizationsOrganizationIdGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet**
-> Object listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet(spaceId, authorization)
-
-List Space Collaborators
-
-List all collaborators of a space. Parameters: - **space_id**: ID of the space to list collaborators for Returns: - **200**: List of space collaborators retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet(spaceId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listSpaceCollaboratorsAccessV2SpacesSpaceIdCollaboratorsGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **listTeamMembersAccessV2TeamsTeamIdMembersGet**
-> Object listTeamMembersAccessV2TeamsTeamIdMembersGet(teamId, authorization)
-
-List Team Members
-
-List all members of a team. Parameters: - **team_id**: UUID of the team to list members for Returns: - **200**: List of team members retrieved successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.listTeamMembersAccessV2TeamsTeamIdMembersGet(teamId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#listTeamMembersAccessV2TeamsTeamIdMembersGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut**
-> Object moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut(instanceDbSpaceId, attachSpaceToRecordRequestBody, instanceId, schemaId, authorization)
-
-Move Record To Space
-
-Move a record to a specific space. Parameters: - **space_id**: ID of the space to move the record to - **body**: Request body containing record details - **module_name**: Module name of the record - **model_name**: Model name of the record - **record_id**: ID of the record to move in the space - **instance_id**: UUID of the instance (from URL path) - **schema_id**: UUID of the schema (from URL path) Returns: - **200**: Record moved to the space successfully Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- Integer instanceDbSpaceId = 56; // Integer |
- AttachSpaceToRecordRequestBody attachSpaceToRecordRequestBody = new AttachSpaceToRecordRequestBody(); // AttachSpaceToRecordRequestBody |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut(instanceDbSpaceId, attachSpaceToRecordRequestBody, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#moveRecordToSpaceAccessV2SpacesSpaceIdRecordAttachmentsPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceDbSpaceId** | **Integer**| | |
-| **attachSpaceToRecordRequestBody** | [**AttachSpaceToRecordRequestBody**](AttachSpaceToRecordRequestBody.md)| | |
-| **instanceId** | **UUID**| | [optional] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **proxyS3S3PathGet**
-> Object proxyS3S3PathGet(path)
-
-Proxy S3
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String path = "path_example"; // String |
- try {
- Object result = apiInstance.proxyS3S3PathGet(path);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **path** | **String**| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **proxyS3S3PathGet_0**
-> Object proxyS3S3PathGet_0(path)
-
-Proxy S3
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String path = "path_example"; // String |
- try {
- Object result = apiInstance.proxyS3S3PathGet_0(path);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_0");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **path** | **String**| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **proxyS3S3PathGet_1**
-> Object proxyS3S3PathGet_1(path)
-
-Proxy S3
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String path = "path_example"; // String |
- try {
- Object result = apiInstance.proxyS3S3PathGet_1(path);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_1");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **path** | **String**| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **proxyS3S3PathGet_2**
-> Object proxyS3S3PathGet_2(path)
-
-Proxy S3
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String path = "path_example"; // String |
- try {
- Object result = apiInstance.proxyS3S3PathGet_2(path);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_2");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **path** | **String**| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **proxyS3S3PathGet_3**
-> Object proxyS3S3PathGet_3(path)
-
-Proxy S3
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String path = "path_example"; // String |
- try {
- Object result = apiInstance.proxyS3S3PathGet_3(path);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#proxyS3S3PathGet_3");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **path** | **String**| | |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **registerDbServerDbServerRegisterPost**
-> Object registerDbServerDbServerRegisterPost(registerDbServerBody, authorization)
-
-Register Db Server
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- RegisterDbServerBody registerDbServerBody = new RegisterDbServerBody(); // RegisterDbServerBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.registerDbServerDbServerRegisterPost(registerDbServerBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#registerDbServerDbServerRegisterPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **registerDbServerBody** | [**RegisterDbServerBody**](RegisterDbServerBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **registerFormInstancesInstanceIdFormsPost**
-> Object registerFormInstancesInstanceIdFormsPost(instanceId, registerFormRequest, authorization)
-
-Register Form
-
-Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **201**: Form registered successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- RegisterFormRequest registerFormRequest = new RegisterFormRequest(); // RegisterFormRequest |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.registerFormInstancesInstanceIdFormsPost(instanceId, registerFormRequest, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#registerFormInstancesInstanceIdFormsPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **registerFormRequest** | [**RegisterFormRequest**](RegisterFormRequest.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete**
-> Object removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(instanceId, accountId, teamId, authorization)
-
-Remove Collaborator
-
-Remove a collaborator from an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- UUID teamId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete(instanceId, accountId, teamId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#removeCollaboratorAccessV2InstancesInstanceIdCollaboratorsDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **accountId** | **UUID**| | [optional] |
-| **teamId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete**
-> Object removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(organizationId, accountId, authorization)
-
-Remove Organization Member
-
-Remove a member from an organization. Parameters: - **organization_id**: UUID of the organization to remove the member from - **account_id**: UUID of the account to remove from the organization Returns: - **200**: Organization member removed successfully - **404**: Member not found in organization
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete(organizationId, accountId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#removeOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete**
-> Object removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete(spaceId, accountId, teamId, authorization)
-
-Remove Space Collaborator
-
-Remove a collaborator (account or team) from a space. Parameters: - **space_id**: ID of the space to remove the collaborator from - **account_id**: UUID of the account to remove (mutually exclusive with team_id) - **team_id**: UUID of the team to remove (mutually exclusive with account_id) Returns: - **200**: Collaborator removed from space successfully - **400**: Invalid input (e.g., both account_id and team_id provided or neither provided)
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- UUID teamId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete(spaceId, accountId, teamId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#removeSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **accountId** | **UUID**| | [optional] |
-| **teamId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete**
-> Object removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete(teamId, accountId, authorization)
-
-Remove Team Member
-
-Remove a member from a team. Parameters: - **team_id**: UUID of the team to remove the member from - **account_id**: UUID of the account to remove from the team Returns: - **200**: Team member removed successfully - **404**: Member not found in team
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete(teamId, accountId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#removeTeamMemberAccessV2TeamsTeamIdMembersAccountIdDelete");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **transferOwnershipInstancesInstanceIdOwnerHandlePatch**
-> Object transferOwnershipInstancesInstanceIdOwnerHandlePatch(handle, instanceId, schemaId, authorization)
-
-Transfer Ownership
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String handle = "handle_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.transferOwnershipInstancesInstanceIdOwnerHandlePatch(handle, instanceId, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#transferOwnershipInstancesInstanceIdOwnerHandlePatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **handle** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch**
-> Object updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(instanceId, updateCollaboratorRequestBody, authorization)
-
-Update Collaborator
-
-Update a collaborator's permissions on an instance. Parameters: - **instance_id**: UUID of the instance (from URL path) - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) Requires admin access to the instance
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UpdateCollaboratorRequestBody updateCollaboratorRequestBody = new UpdateCollaboratorRequestBody(); // UpdateCollaboratorRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch(instanceId, updateCollaboratorRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateCollaboratorAccessV2InstancesInstanceIdCollaboratorsPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **updateCollaboratorRequestBody** | [**UpdateCollaboratorRequestBody**](UpdateCollaboratorRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch**
-> Object updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(instanceId, accountId, role, authorization)
-
-Update Collaborator
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- String role = "admin"; // String |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch(instanceId, accountId, role, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateCollaboratorInstancesInstanceIdCollaboratorsAccountIdPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **role** | **String**| | [enum: admin, write, read] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch**
-> Object updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(organizationId, accountId, updateOrganizationMemberRequestBody, authorization)
-
-Update Organization Member
-
-Update an organization member's details. Parameters: - **organization_id**: UUID of the organization the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the organization Returns: - **200**: Organization member updated successfully - **404**: Member not found in organization
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID organizationId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- UpdateOrganizationMemberRequestBody updateOrganizationMemberRequestBody = new UpdateOrganizationMemberRequestBody(); // UpdateOrganizationMemberRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch(organizationId, accountId, updateOrganizationMemberRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateOrganizationMemberAccessV2OrganizationsOrganizationIdMembersAccountIdPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **organizationId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **updateOrganizationMemberRequestBody** | [**UpdateOrganizationMemberRequestBody**](UpdateOrganizationMemberRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**
-> Object updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(moduleName, modelName, uid, instanceId, body, schemaId, authorization)
-
-Update Record
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- String uid = "uid_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Object body = null; // Object |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch(moduleName, modelName, uid, instanceId, body, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **uid** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **body** | **Object**| | |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateSpaceAccessV2SpacesSpaceIdPatch**
-> Object updateSpaceAccessV2SpacesSpaceIdPatch(spaceId, updateSpaceRequestBody, authorization)
-
-Update Space
-
-Update a space's details. Parameters: - **space_id**: ID of the space to update - **body**: Request body containing updated space details - **name**: Optional new name for the space - **description**: Optional new description for the space Returns: - **200**: Space updated successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- UpdateSpaceRequestBody updateSpaceRequestBody = new UpdateSpaceRequestBody(); // UpdateSpaceRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateSpaceAccessV2SpacesSpaceIdPatch(spaceId, updateSpaceRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateSpaceAccessV2SpacesSpaceIdPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **updateSpaceRequestBody** | [**UpdateSpaceRequestBody**](UpdateSpaceRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch**
-> Object updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch(spaceId, updateSpaceCollaboratorRequestBody, authorization)
-
-Update Space Collaborator
-
-Update a collaborator's permissions in a space. Parameters: - **space_id**: ID of the space to update the collaborator in - **body**: Request body containing collaborator details - **account_id**: UUID of the account to update (mutually exclusive with team_id) - **team_id**: UUID of the team to update (mutually exclusive with account_id) - **role**: Role of the collaborator Returns: - **200**: Collaborator updated successfully - **400**: Invalid input (e.g., both account_id and team_id provided) - **404**: Collaborator not found in space
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID spaceId = UUID.randomUUID(); // UUID |
- UpdateSpaceCollaboratorRequestBody updateSpaceCollaboratorRequestBody = new UpdateSpaceCollaboratorRequestBody(); // UpdateSpaceCollaboratorRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch(spaceId, updateSpaceCollaboratorRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateSpaceCollaboratorAccessV2SpacesSpaceIdCollaboratorsPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **spaceId** | **UUID**| | |
-| **updateSpaceCollaboratorRequestBody** | [**UpdateSpaceCollaboratorRequestBody**](UpdateSpaceCollaboratorRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateTeamAccessV2TeamsTeamIdPatch**
-> Object updateTeamAccessV2TeamsTeamIdPatch(teamId, updateTeamRequestBody, authorization)
-
-Update Team
-
-Update a team's details. Parameters: - **team_id**: UUID of the team to update - **body**: Request body containing updated team details - **name**: Optional new name for the team - **description**: Optional new description for the team Returns: - **200**: Team updated successfully
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- UpdateTeamRequestBody updateTeamRequestBody = new UpdateTeamRequestBody(); // UpdateTeamRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateTeamAccessV2TeamsTeamIdPatch(teamId, updateTeamRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateTeamAccessV2TeamsTeamIdPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **updateTeamRequestBody** | [**UpdateTeamRequestBody**](UpdateTeamRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch**
-> Object updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch(teamId, accountId, updateTeamMemberRequestBody, authorization)
-
-Update Team Member
-
-Update a team member's details. Parameters: - **team_id**: UUID of the team the member belongs to - **account_id**: UUID of the account to update - **body**: Request body containing updated member details - **role**: Role of the member in the team Returns: - **200**: Team member updated successfully - **404**: Member not found in team
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID teamId = UUID.randomUUID(); // UUID |
- UUID accountId = UUID.randomUUID(); // UUID |
- UpdateTeamMemberRequestBody updateTeamMemberRequestBody = new UpdateTeamMemberRequestBody(); // UpdateTeamMemberRequestBody |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch(teamId, accountId, updateTeamMemberRequestBody, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#updateTeamMemberAccessV2TeamsTeamIdMembersAccountIdPatch");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **teamId** | **UUID**| | |
-| **accountId** | **UUID**| | |
-| **updateTeamMemberRequestBody** | [**UpdateTeamMemberRequestBody**](UpdateTeamMemberRequestBody.md)| | |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **uploadArtifactInstancesInstanceIdArtifactsUploadPost**
-> Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs)
-
-Upload Artifact
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- UUID instanceId = UUID.randomUUID(); // UUID |
- File _file = new File("/path/to/file"); // File |
- String authorization = "authorization_example"; // String |
- String kwargs = "kwargs_example"; // String |
- try {
- Object result = apiInstance.uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#uploadArtifactInstancesInstanceIdArtifactsUploadPost");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **instanceId** | **UUID**| | |
-| **_file** | **File**| | |
-| **authorization** | **String**| | [optional] |
-| **kwargs** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: multipart/form-data
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
-
-# **upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**
-> Object upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization)
-
-Upsert Records
-
-### Example
-```java
-// Import classes:
-import ai.lamin.lamin_api_client.ApiClient;
-import ai.lamin.lamin_api_client.ApiException;
-import ai.lamin.lamin_api_client.Configuration;
-import ai.lamin.lamin_api_client.models.*;
-import ai.lamin.lamin_api_client.api.DefaultApi;
-
-public class Example {
- public static void main(String[] args) {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- defaultClient.setBasePath("https://aws.us-east-1.lamin.ai/api");
-
- DefaultApi apiInstance = new DefaultApi(defaultClient);
- String moduleName = "moduleName_example"; // String |
- String modelName = "modelName_example"; // String |
- UUID instanceId = UUID.randomUUID(); // UUID |
- Object body = null; // Object |
- List conflictColumns = Arrays.asList(); // List |
- UUID schemaId = UUID.randomUUID(); // UUID |
- String authorization = "authorization_example"; // String |
- try {
- Object result = apiInstance.upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut(moduleName, modelName, instanceId, body, conflictColumns, schemaId, authorization);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-|------------- | ------------- | ------------- | -------------|
-| **moduleName** | **String**| | |
-| **modelName** | **String**| | |
-| **instanceId** | **UUID**| | |
-| **body** | **Object**| | |
-| **conflictColumns** | [**List<String>**](String.md)| | [optional] |
-| **schemaId** | **UUID**| | [optional] |
-| **authorization** | **String**| | [optional] |
-
-### Return type
-
-**Object**
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-| **200** | Successful Response | - |
-| **422** | Validation Error | - |
-
diff --git a/docs/DbUrlRequest.md b/docs/ErrorDetail.md
similarity index 72%
rename from docs/DbUrlRequest.md
rename to docs/ErrorDetail.md
index cecd140..9d28adc 100644
--- a/docs/DbUrlRequest.md
+++ b/docs/ErrorDetail.md
@@ -1,13 +1,13 @@
-# DbUrlRequest
+# ErrorDetail
## Properties
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**dbUrl** | **String** | | |
+|**detail** | **String** | | |
diff --git a/docs/ExecuteFunctionRequestBody.md b/docs/ExecuteFunctionRequestBody.md
new file mode 100644
index 0000000..f418e34
--- /dev/null
+++ b/docs/ExecuteFunctionRequestBody.md
@@ -0,0 +1,15 @@
+
+
+# ExecuteFunctionRequestBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**transformUid** | **String** | | |
+|**functionName** | **String** | | |
+|**functionKwargs** | **Map<String, Object>** | | |
+
+
+
diff --git a/docs/ExportRecordsRequestBody.md b/docs/ExportRecordsRequestBody.md
new file mode 100644
index 0000000..71ef509
--- /dev/null
+++ b/docs/ExportRecordsRequestBody.md
@@ -0,0 +1,13 @@
+
+
+# ExportRecordsRequestBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**kwargs** | **Map<String, Object>** | | [optional] |
+
+
+
diff --git a/docs/GetRecordsRequestBody.md b/docs/GetRecordsRequestBody.md
index aaa765f..f7b5e5d 100644
--- a/docs/GetRecordsRequestBody.md
+++ b/docs/GetRecordsRequestBody.md
@@ -11,6 +11,7 @@
|**filter** | **Map<String, Object>** | | [optional] |
|**orderBy** | [**List<OrderByColumn>**](OrderByColumn.md) | | [optional] |
|**search** | **String** | | [optional] |
+|**searchIn** | **List<String>** | | [optional] |
diff --git a/docs/GetValuesRequestBody.md b/docs/GetValuesRequestBody.md
index 37abda4..465d63b 100644
--- a/docs/GetValuesRequestBody.md
+++ b/docs/GetValuesRequestBody.md
@@ -10,6 +10,7 @@
|**filter** | **Map<String, Object>** | | [optional] |
|**orderBy** | [**List<OrderByColumn>**](OrderByColumn.md) | | [optional] |
|**search** | **String** | | [optional] |
+|**searchIn** | **List<String>** | | [optional] |
diff --git a/docs/HealthChecksApi.md b/docs/HealthChecksApi.md
new file mode 100644
index 0000000..dea890d
--- /dev/null
+++ b/docs/HealthChecksApi.md
@@ -0,0 +1,65 @@
+# HealthChecksApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**healthCheckHealthGet**](HealthChecksApi.md#healthCheckHealthGet) | **GET** /health | Health Check |
+
+
+
+# **healthCheckHealthGet**
+> Object healthCheckHealthGet()
+
+Health Check
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.HealthChecksApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ HealthChecksApi apiInstance = new HealthChecksApi(defaultClient);
+ try {
+ Object result = apiInstance.healthCheckHealthGet();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling HealthChecksApi#healthCheckHealthGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+
diff --git a/docs/InstanceArtifactsApi.md b/docs/InstanceArtifactsApi.md
new file mode 100644
index 0000000..e6a75e3
--- /dev/null
+++ b/docs/InstanceArtifactsApi.md
@@ -0,0 +1,142 @@
+# InstanceArtifactsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**createArtifactInstancesInstanceIdArtifactsCreatePost**](InstanceArtifactsApi.md#createArtifactInstancesInstanceIdArtifactsCreatePost) | **POST** /instances/{instance_id}/artifacts/create | Create Artifact |
+| [**uploadArtifactInstancesInstanceIdArtifactsUploadPost**](InstanceArtifactsApi.md#uploadArtifactInstancesInstanceIdArtifactsUploadPost) | **POST** /instances/{instance_id}/artifacts/upload | Upload Artifact |
+
+
+
+# **createArtifactInstancesInstanceIdArtifactsCreatePost**
+> Object createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization)
+
+Create Artifact
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceArtifactsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceArtifactsApi apiInstance = new InstanceArtifactsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ CreateArtifactRequestBody createArtifactRequestBody = new CreateArtifactRequestBody(); // CreateArtifactRequestBody |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.createArtifactInstancesInstanceIdArtifactsCreatePost(instanceId, createArtifactRequestBody, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceArtifactsApi#createArtifactInstancesInstanceIdArtifactsCreatePost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **createArtifactRequestBody** | [**CreateArtifactRequestBody**](CreateArtifactRequestBody.md)| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **uploadArtifactInstancesInstanceIdArtifactsUploadPost**
+> Object uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs)
+
+Upload Artifact
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceArtifactsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceArtifactsApi apiInstance = new InstanceArtifactsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ File _file = new File("/path/to/file"); // File |
+ String authorization = "authorization_example"; // String |
+ String kwargs = "kwargs_example"; // String |
+ try {
+ Object result = apiInstance.uploadArtifactInstancesInstanceIdArtifactsUploadPost(instanceId, _file, authorization, kwargs);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceArtifactsApi#uploadArtifactInstancesInstanceIdArtifactsUploadPost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **_file** | **File**| | |
+| **authorization** | **String**| | [optional] |
+| **kwargs** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceDbTokenApi.md b/docs/InstanceDbTokenApi.md
new file mode 100644
index 0000000..2c69c77
--- /dev/null
+++ b/docs/InstanceDbTokenApi.md
@@ -0,0 +1,74 @@
+# InstanceDbTokenApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**getDbTokenInstancesInstanceIdDbTokenGet**](InstanceDbTokenApi.md#getDbTokenInstancesInstanceIdDbTokenGet) | **GET** /instances/{instance_id}/db_token | Get Db Token |
+
+
+
+# **getDbTokenInstancesInstanceIdDbTokenGet**
+> Object getDbTokenInstancesInstanceIdDbTokenGet(instanceId, authorization)
+
+Get Db Token
+
+Get a database token for the specified instance. This token can be used to authenticate with the instance's database. Parameters: - **instance_id**: UUID of the instance to get the token for (from URL path) Returns: - **200**: Database token retrieved successfully - **token**: The database token - **401**: Unauthorized
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceDbTokenApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceDbTokenApi apiInstance = new InstanceDbTokenApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.getDbTokenInstancesInstanceIdDbTokenGet(instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceDbTokenApi#getDbTokenInstancesInstanceIdDbTokenGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceFeaturesApi.md b/docs/InstanceFeaturesApi.md
new file mode 100644
index 0000000..8d69ea9
--- /dev/null
+++ b/docs/InstanceFeaturesApi.md
@@ -0,0 +1,84 @@
+# InstanceFeaturesApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost**](InstanceFeaturesApi.md#queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/query_features | Query Linked Features |
+
+
+
+# **queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost**
+> Object queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost(moduleName, modelName, instanceId, limit, offset, authorization, getRecordsRequestBody)
+
+Query Linked Features
+
+Queries and returns a flat list of all unique Feature records associated with a set of filtered primary model records.
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceFeaturesApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceFeaturesApi apiInstance = new InstanceFeaturesApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "modelName_example"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ Integer limit = 50; // Integer |
+ Integer offset = 0; // Integer |
+ String authorization = "authorization_example"; // String |
+ GetRecordsRequestBody getRecordsRequestBody = new GetRecordsRequestBody(); // GetRecordsRequestBody |
+ try {
+ Object result = apiInstance.queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost(moduleName, modelName, instanceId, limit, offset, authorization, getRecordsRequestBody);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceFeaturesApi#queryLinkedFeaturesInstancesInstanceIdModulesModuleNameModelNameQueryFeaturesPost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **moduleName** | **String**| | |
+| **modelName** | **String**| | |
+| **instanceId** | **UUID**| | |
+| **limit** | **Integer**| | [optional] [default to 50] |
+| **offset** | **Integer**| | [optional] [default to 0] |
+| **authorization** | **String**| | [optional] |
+| **getRecordsRequestBody** | [**GetRecordsRequestBody**](GetRecordsRequestBody.md)| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceFileExplorerApi.md b/docs/InstanceFileExplorerApi.md
new file mode 100644
index 0000000..a4e6341
--- /dev/null
+++ b/docs/InstanceFileExplorerApi.md
@@ -0,0 +1,142 @@
+# InstanceFileExplorerApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**getTreeInstancesInstanceIdFilesTreeGet**](InstanceFileExplorerApi.md#getTreeInstancesInstanceIdFilesTreeGet) | **GET** /instances/{instance_id}/files/tree | Get Tree |
+| [**listDirectoryInstancesInstanceIdFilesEntityTypeGet**](InstanceFileExplorerApi.md#listDirectoryInstancesInstanceIdFilesEntityTypeGet) | **GET** /instances/{instance_id}/files/{entity_type} | List Directory |
+
+
+
+# **getTreeInstancesInstanceIdFilesTreeGet**
+> Object getTreeInstancesInstanceIdFilesTreeGet(instanceId, entityType, authorization)
+
+Get Tree
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceFileExplorerApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceFileExplorerApi apiInstance = new InstanceFileExplorerApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String entityType = "artifacts"; // String |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.getTreeInstancesInstanceIdFilesTreeGet(instanceId, entityType, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceFileExplorerApi#getTreeInstancesInstanceIdFilesTreeGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **entityType** | **String**| | [enum: artifacts, transforms] |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **listDirectoryInstancesInstanceIdFilesEntityTypeGet**
+> Object listDirectoryInstancesInstanceIdFilesEntityTypeGet(entityType, instanceId, path, authorization)
+
+List Directory
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceFileExplorerApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceFileExplorerApi apiInstance = new InstanceFileExplorerApi(defaultClient);
+ String entityType = "artifacts"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String path = ""; // String |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.listDirectoryInstancesInstanceIdFilesEntityTypeGet(entityType, instanceId, path, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceFileExplorerApi#listDirectoryInstancesInstanceIdFilesEntityTypeGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **entityType** | **String**| | [enum: artifacts, transforms] |
+| **instanceId** | **UUID**| | |
+| **path** | **String**| | [optional] [default to ] |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceFormsApi.md b/docs/InstanceFormsApi.md
new file mode 100644
index 0000000..3c3a368
--- /dev/null
+++ b/docs/InstanceFormsApi.md
@@ -0,0 +1,76 @@
+# InstanceFormsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**registerFormInstancesInstanceIdFormsPost**](InstanceFormsApi.md#registerFormInstancesInstanceIdFormsPost) | **POST** /instances/{instance_id}/forms | Register Form |
+
+
+
+# **registerFormInstancesInstanceIdFormsPost**
+> Object registerFormInstancesInstanceIdFormsPost(instanceId, registerFormRequest, authorization)
+
+Register Form
+
+Register a form for a specific instance. Parameters: - **body**: Request body containing form details - **key**: Key of the form - **data**: Form data - **schema_uid**: UID of the schema Returns: - **200**: Form registered successfully
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceFormsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceFormsApi apiInstance = new InstanceFormsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ RegisterFormRequest registerFormRequest = new RegisterFormRequest(); // RegisterFormRequest |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.registerFormInstancesInstanceIdFormsPost(instanceId, registerFormRequest, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceFormsApi#registerFormInstancesInstanceIdFormsPost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **registerFormRequest** | [**RegisterFormRequest**](RegisterFormRequest.md)| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceFunctionsApi.md b/docs/InstanceFunctionsApi.md
new file mode 100644
index 0000000..0a13325
--- /dev/null
+++ b/docs/InstanceFunctionsApi.md
@@ -0,0 +1,74 @@
+# InstanceFunctionsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**executeFunctionInstancesInstanceIdFunctionExecutePost**](InstanceFunctionsApi.md#executeFunctionInstancesInstanceIdFunctionExecutePost) | **POST** /instances/{instance_id}/function/execute | Execute Function |
+
+
+
+# **executeFunctionInstancesInstanceIdFunctionExecutePost**
+> Object executeFunctionInstancesInstanceIdFunctionExecutePost(instanceId, executeFunctionRequestBody, authorization)
+
+Execute Function
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceFunctionsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceFunctionsApi apiInstance = new InstanceFunctionsApi(defaultClient);
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ ExecuteFunctionRequestBody executeFunctionRequestBody = new ExecuteFunctionRequestBody(); // ExecuteFunctionRequestBody |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.executeFunctionInstancesInstanceIdFunctionExecutePost(instanceId, executeFunctionRequestBody, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceFunctionsApi#executeFunctionInstancesInstanceIdFunctionExecutePost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **instanceId** | **UUID**| | |
+| **executeFunctionRequestBody** | [**ExecuteFunctionRequestBody**](ExecuteFunctionRequestBody.md)| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceLabelsApi.md b/docs/InstanceLabelsApi.md
new file mode 100644
index 0000000..df8ab12
--- /dev/null
+++ b/docs/InstanceLabelsApi.md
@@ -0,0 +1,156 @@
+# InstanceLabelsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**](InstanceLabelsApi.md#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Attach Label |
+| [**detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**](InstanceLabelsApi.md#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{id}/{label_field}/{label_id} | Detach Label |
+
+
+
+# **attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut**
+> Object attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(moduleName, modelName, id, labelField, labelId, instanceId, authorization)
+
+Attach Label
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceLabelsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceLabelsApi apiInstance = new InstanceLabelsApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "artifact"; // String |
+ Integer id = 56; // Integer |
+ String labelField = "labelField_example"; // String |
+ Integer labelId = 56; // Integer |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut(moduleName, modelName, id, labelField, labelId, instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceLabelsApi#attachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdPut");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **moduleName** | **String**| | |
+| **modelName** | **String**| | [enum: artifact, transform, collection] |
+| **id** | **Integer**| | |
+| **labelField** | **String**| | |
+| **labelId** | **Integer**| | |
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete**
+> Object detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(moduleName, modelName, id, labelField, labelId, instanceId, authorization)
+
+Detach Label
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceLabelsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceLabelsApi apiInstance = new InstanceLabelsApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "artifact"; // String |
+ Integer id = 56; // Integer |
+ String labelField = "labelField_example"; // String |
+ Integer labelId = 56; // Integer |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ String authorization = "authorization_example"; // String |
+ try {
+ Object result = apiInstance.detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete(moduleName, modelName, id, labelField, labelId, instanceId, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceLabelsApi#detachLabelInstancesInstanceIdModulesModuleNameModelNameIdLabelFieldLabelIdDelete");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **moduleName** | **String**| | |
+| **modelName** | **String**| | [enum: artifact, transform, collection] |
+| **id** | **Integer**| | |
+| **labelField** | **String**| | |
+| **labelId** | **Integer**| | |
+| **instanceId** | **UUID**| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
diff --git a/docs/InstanceRecordsApi.md b/docs/InstanceRecordsApi.md
new file mode 100644
index 0000000..13178b3
--- /dev/null
+++ b/docs/InstanceRecordsApi.md
@@ -0,0 +1,882 @@
+# InstanceRecordsApi
+
+All URIs are relative to *https://staging.laminhub.com/api*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost**](InstanceRecordsApi.md#batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-delete | Batch Delete Records |
+| [**batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut**](InstanceRecordsApi.md#batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-sync-links | Synchronize sets of links for multiple scopes in a single call |
+| [**batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch**](InstanceRecordsApi.md#batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/batch-update | Update one or more records in a batch |
+| [**createRecordsInstancesInstanceIdModulesModuleNameModelNamePut**](InstanceRecordsApi.md#createRecordsInstancesInstanceIdModulesModuleNameModelNamePut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name} | Create Records |
+| [**deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete**](InstanceRecordsApi.md#deleteRecordInstancesInstanceIdModulesModuleNameModelNameUidDelete) | **DELETE** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Delete Record |
+| [**exportRecordsInstancesInstanceIdRecordsUidExportPost**](InstanceRecordsApi.md#exportRecordsInstancesInstanceIdRecordsUidExportPost) | **POST** /instances/{instance_id}/records/{uid}/export | Export Records |
+| [**getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost**](InstanceRecordsApi.md#getRecordInstancesInstanceIdModulesModuleNameModelNameIdOrUidPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/{id_or_uid} | Get Record |
+| [**getRecordsInstancesInstanceIdModulesModuleNameModelNamePost**](InstanceRecordsApi.md#getRecordsInstancesInstanceIdModulesModuleNameModelNamePost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name} | Get Records |
+| [**getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost**](InstanceRecordsApi.md#getRelativesInstancesInstanceIdModulesModuleNameModelNameRelativesPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/relatives | Get and query hierarchical relatives of records |
+| [**getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost**](InstanceRecordsApi.md#getValuesInstancesInstanceIdModulesModuleNameModelNameFieldsFieldPathPost) | **POST** /instances/{instance_id}/modules/{module_name}/{model_name}/fields/{field_path} | Get Values |
+| [**updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch**](InstanceRecordsApi.md#updateRecordInstancesInstanceIdModulesModuleNameModelNameUidPatch) | **PATCH** /instances/{instance_id}/modules/{module_name}/{model_name}/{uid} | Update Record |
+| [**upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut**](InstanceRecordsApi.md#upsertRecordsInstancesInstanceIdModulesModuleNameModelNameUpsertPut) | **PUT** /instances/{instance_id}/modules/{module_name}/{model_name}/upsert | Upsert one or more records |
+
+
+
+# **batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost**
+> BatchDeleteResponse batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost(moduleName, modelName, instanceId, batchDeleteBody, authorization)
+
+Batch Delete Records
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceRecordsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceRecordsApi apiInstance = new InstanceRecordsApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "modelName_example"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ BatchDeleteBody batchDeleteBody = new BatchDeleteBody(); // BatchDeleteBody |
+ String authorization = "authorization_example"; // String |
+ try {
+ BatchDeleteResponse result = apiInstance.batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost(moduleName, modelName, instanceId, batchDeleteBody, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceRecordsApi#batchDeleteRecordsInstancesInstanceIdModulesModuleNameModelNameBatchDeletePost");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **moduleName** | **String**| | |
+| **modelName** | **String**| | |
+| **instanceId** | **UUID**| | |
+| **batchDeleteBody** | [**BatchDeleteBody**](BatchDeleteBody.md)| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+[**BatchDeleteResponse**](BatchDeleteResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut**
+> BatchSyncResponse batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut(moduleName, modelName, instanceId, batchSyncLinksBody, authorization)
+
+Synchronize sets of links for multiple scopes in a single call
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceRecordsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceRecordsApi apiInstance = new InstanceRecordsApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "modelName_example"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ BatchSyncLinksBody batchSyncLinksBody = new BatchSyncLinksBody(); // BatchSyncLinksBody |
+ String authorization = "authorization_example"; // String |
+ try {
+ BatchSyncResponse result = apiInstance.batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut(moduleName, modelName, instanceId, batchSyncLinksBody, authorization);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceRecordsApi#batchSyncLinksInstancesInstanceIdModulesModuleNameModelNameBatchSyncLinksPut");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **moduleName** | **String**| | |
+| **modelName** | **String**| | |
+| **instanceId** | **UUID**| | |
+| **batchSyncLinksBody** | [**BatchSyncLinksBody**](BatchSyncLinksBody.md)| | |
+| **authorization** | **String**| | [optional] |
+
+### Return type
+
+[**BatchSyncResponse**](BatchSyncResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful Response | - |
+| **422** | Validation Error | - |
+
+
+# **batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch**
+> List<Map<String, Object>> batchUpdateRecordsInstancesInstanceIdModulesModuleNameModelNameBatchUpdatePatch(moduleName, modelName, instanceId, batchUpdateBody, authorization)
+
+Update one or more records in a batch
+
+Partially updates multiple records in a single request. This endpoint processes a list of records, updating each one in the database. It is designed to handle heterogeneous partial updates, meaning each record in the batch can update a different set of fields.
+
+### Example
+```java
+// Import classes:
+import ai.lamin.lamin_api_client.ApiClient;
+import ai.lamin.lamin_api_client.ApiException;
+import ai.lamin.lamin_api_client.Configuration;
+import ai.lamin.lamin_api_client.models.*;
+import ai.lamin.lamin_api_client.api.InstanceRecordsApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://staging.laminhub.com/api");
+
+ InstanceRecordsApi apiInstance = new InstanceRecordsApi(defaultClient);
+ String moduleName = "moduleName_example"; // String |
+ String modelName = "modelName_example"; // String |
+ UUID instanceId = UUID.randomUUID(); // UUID |
+ BatchUpdateBody batchUpdateBody = new BatchUpdateBody(); // BatchUpdateBody |
+ String authorization = "authorization_example"; // String |
+ try {
+ List