Basin Catalog
List Basin Catalogs
client.basinCatalog.list(BasinCatalogListParams { account_id } params, RequestOptionsoptions?): BasinCatalogListResponse { warehouses }
GET/accounts/{account_id}/basin-catalog
Get Basin Catalog details
client.basinCatalog.get(stringbucketName, BasinCatalogGetParams { account_id } params, RequestOptionsoptions?): BasinCatalogGetResponse { id, bucket, name, 3 more }
GET/accounts/{account_id}/basin-catalog/{bucket_name}
Enable R2 bucket as a catalog
client.basinCatalog.enable(stringbucketName, BasinCatalogEnableParams { account_id } params, RequestOptionsoptions?): BasinCatalogEnableResponse { id, name }
POST/accounts/{account_id}/basin-catalog/{bucket_name}/enable
Disable Basin Catalog
client.basinCatalog.disable(stringbucketName, BasinCatalogDisableParams { account_id } params, RequestOptionsoptions?): void
POST/accounts/{account_id}/basin-catalog/{bucket_name}/disable
Delete Basin Catalog metadata
client.basinCatalog.delete(stringbucketName, BasinCatalogDeleteParams { account_id, force } params, RequestOptionsoptions?): void
POST/accounts/{account_id}/basin-catalog/{bucket_name}/delete
Basin CatalogMaintenance Configs
Get catalog maintenance configuration
client.basinCatalog.maintenanceConfigs.get(stringbucketName, MaintenanceConfigGetParams { account_id } params, RequestOptionsoptions?): MaintenanceConfigGetResponse { credential_status, maintenance_config }
GET/accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs
Update catalog maintenance configuration
client.basinCatalog.maintenanceConfigs.update(stringbucketName, MaintenanceConfigUpdateParams { account_id, compaction, snapshot_expiration } params, RequestOptionsoptions?): MaintenanceConfigUpdateResponse { compaction, interval, snapshot_expiration }
POST/accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs
Basin CatalogCredentials
Store catalog credentials
client.basinCatalog.credentials.create(stringbucketName, CredentialCreateParams { account_id, token } params, RequestOptionsoptions?): CredentialCreateResponse | null
POST/accounts/{account_id}/basin-catalog/{bucket_name}/credential
Basin CatalogNamespaces
List namespaces in catalog
client.basinCatalog.namespaces.list(stringbucketName, NamespaceListParams { account_id, page_size, page_token, 3 more } params, RequestOptionsoptions?): NamespaceListResponse { namespaces, details, namespace_uuids, next_page_token }
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces
Basin CatalogNamespacesTables
List tables in namespace
client.basinCatalog.namespaces.tables.list(stringnamespace, TableListParams { account_id, bucket_name, page_size, 3 more } params, RequestOptionsoptions?): TableListResponse { identifiers, details, next_page_token, table_uuids }
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables
Basin CatalogNamespacesTablesMaintenance Configs
Get table maintenance configuration
client.basinCatalog.namespaces.tables.maintenanceConfigs.get(stringtableName, MaintenanceConfigGetParams { account_id, bucket_name, namespace } params, RequestOptionsoptions?): MaintenanceConfigGetResponse { maintenance_config }
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs
Update table maintenance configuration
client.basinCatalog.namespaces.tables.maintenanceConfigs.update(stringtableName, MaintenanceConfigUpdateParams { account_id, bucket_name, namespace, 2 more } params, RequestOptionsoptions?): MaintenanceConfigUpdateResponse { compaction, interval, snapshot_expiration }
POST/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs