(BETA) List AI Lake Database instances
(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
query Parameters
sizeinteger · int32Default: 50offsetinteger · int32Default: 0metaIncludestring[] · unique
Responses
AI Lake database instances successfully retrieved
databasesobject[] · requiredList of database instances
totalCountinteger · int32Total count of items (only set when metaInclude=page)
(BETA) Create a new AILake Database instance
(BETA) Creates a new database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.
Headers
operation-idstring
Request Body
namestring · requiredName of the database instance
storageIdsstring[] · unique · requiredSet of ids of the storage instances this database instance should access.
dataSourceIdstringIdentifier for the data source created in metadata-api. Defaults to the database name.
dataSourceNamestringDisplay name for the data source created in metadata-api. Defaults to the database name.
Responses
Accepted
(BETA) Get the specified AILake Database instance
(BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
Responses
AI Lake database instance successfully retrieved
dataSourcesobject[] · requiredAll data source associations for this database instance.
idstring · requiredId of the AI Lake Database instance
namestring · requiredName of the AI Lake Database instance
storageIdsstring[] · unique · requiredSet of ids of the storage instances this database instance should access.
(BETA) Delete an existing AILake Database instance
(BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
Headers
operation-idstring
Responses
Accepted
(BETA) Update the data source of an AILake Database instance
(BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
Request Body
dataSourceIdstring · requiredNew identifier for the data source in metadata-api. Must be unique within the organization.
oldDataSourceIdstring · requiredIdentifier of the existing data source to replace.
dataSourceNamestringNew display name for the data source in metadata-api. Defaults to dataSourceId when omitted.
Responses
Data source successfully updated
dataSourceIdstring · requiredNew identifier of the data source in metadata-api.
dataSourceNamestring · requiredNew display name of the data source in metadata-api.
(BETA) List data sources of an AILake Database instance
(BETA) Returns all data source associations for the specified AI Lake database instance.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
Responses
Data sources successfully retrieved
dataSourcesobject[] · requiredList of data source associations.
(BETA) Add a data source to an AILake Database instance
(BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary data source.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
Request Body
dataSourceIdstring · requiredIdentifier for the new data source in metadata-api. Must be unique within the organization.
dataSourceNamestringDisplay name for the new data source in metadata-api. Defaults to dataSourceId when omitted.
Responses
Data source successfully added
dataSourceobject · requiredA single data source association for an AI Lake Database instance
(BETA) Remove a data source from an AILake Database instance
(BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.
path Parameters
instanceIdstring · requiredDatabase instance identifier. Accepts the database name (preferred) or UUID.
Database instance identifier. Accepts the database name (preferred) or UUID.
dataSourceIdstring · requiredIdentifier of the data source to remove.
Identifier of the data source to remove.
Responses
Data source successfully removed
dataSourceIdstring · requiredIdentifier of the removed data source in metadata-api.
(BETA) List registered AI Lake ObjectStorages
(BETA) Lists ObjectStorages registered for the organization. Use the returned name as sourceStorageName in CreatePipeTable, or pass storageId to the ProvisionDatabase storageIds list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned.
Responses
AI Lake ObjectStorages successfully retrieved
storagesobject[] · requiredRegistered storages, ordered by name.