---
title: Basin Catalog
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Basin Catalog

##### [List Basin Catalogs](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/methods/list)

client.basinCatalog.list(BasinCatalogListParams {account\_id } params, RequestOptionsoptions?): [BasinCatalogListResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)>) {warehouses }

GET/accounts/{account\_id}/basin-catalog

##### [Get Basin Catalog details](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/methods/get)

client.basinCatalog.get(stringbucketName, BasinCatalogGetParams {account\_id } params, RequestOptionsoptions?): [BasinCatalogGetResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)>) {id, bucket, name, 3 more }

GET/accounts/{account\_id}/basin-catalog/{bucket\_name}

##### [Enable R2 bucket as a catalog](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/methods/enable)

client.basinCatalog.enable(stringbucketName, BasinCatalogEnableParams {account\_id } params, RequestOptionsoptions?): [BasinCatalogEnableResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_enable_response%20%3E%20(schema)>) {id, name }

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/enable

##### [Disable Basin Catalog](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/methods/disable)

client.basinCatalog.disable(stringbucketName, BasinCatalogDisableParams {account\_id } params, RequestOptionsoptions?): void

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/disable

##### [Delete Basin Catalog metadata](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/methods/delete)

client.basinCatalog.delete(stringbucketName, BasinCatalogDeleteParams {account\_id, force } params, RequestOptionsoptions?): void

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/delete

##### ModelsExpand Collapse

<details>

<summary>

BasinCatalogListResponse {warehouses }

Contains the list of catalogs.

</summary>

<details>

<summary>

warehouses: Array&lt;Warehouse&gt;

Lists catalogs in the account.

</summary>

id: string

Use this to uniquely identify the catalog.

formatuuid

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

bucket: string

Specifies the associated R2 bucket name.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20bucket">Link to this property</a>

name: string

Specifies the catalog name (generated from account and bucket name).

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status: "active"| "inactive"

Indicates the status of the catalog.

</summary>

One of the following:

"active"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"inactive"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

credential\_status?: "present"| "absent"| null

Shows the credential configuration status.

</summary>

One of the following:

"present"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20credential_status%20%3E%20(member)%200">Link to this property</a>

"absent"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20credential_status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20credential_status">Link to this property</a>

<details>

<summary>

maintenance\_config?: MaintenanceConfig| null

Configures maintenance for the catalog.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb }

Configures compaction for catalog maintenance.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state }

Configures snapshot expiration settings.

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots. The system deletes snapshots older than this age. Format: where unit is d (days), h (hours), m (minutes), or s (seconds). Examples: “7d” (7 days), “48h” (48 hours), “2880m” (2,880 minutes). Defaults to “7d”.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses%20%3E%20(items)%20%3E%20(property)%20maintenance_config">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)%20%3E%20(property)%20warehouses">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_list_response%20%3E%20(schema)>)

<details>

<summary>

BasinCatalogGetResponse {id, bucket, name, 3 more }

Contains catalog information.

</summary>

id: string

Use this to uniquely identify the catalog.

formatuuid

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

bucket: string

Specifies the associated R2 bucket name.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20bucket">Link to this property</a>

name: string

Specifies the catalog name (generated from account and bucket name).

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status: "active"| "inactive"

Indicates the status of the catalog.

</summary>

One of the following:

"active"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"inactive"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

credential\_status?: "present"| "absent"| null

Shows the credential configuration status.

</summary>

One of the following:

"present"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status%20%3E%20(member)%200">Link to this property</a>

"absent"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status">Link to this property</a>

<details>

<summary>

maintenance\_config?: MaintenanceConfig| null

Configures maintenance for the catalog.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb }

Configures compaction for catalog maintenance.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state }

Configures snapshot expiration settings.

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots. The system deletes snapshots older than this age. Format: where unit is d (days), h (hours), m (minutes), or s (seconds). Examples: “7d” (7 days), “48h” (48 hours), “2880m” (2,880 minutes). Defaults to “7d”.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_get_response%20%3E%20(schema)>)

<details>

<summary>

BasinCatalogEnableResponse {id, name }

Contains response from activating an R2 bucket as a catalog.

</summary>

id: string

Use this to uniquely identify the activated catalog.

formatuuid

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_enable_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

name: string

Specifies the name of the activated catalog.

<a href="#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_enable_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog%20%3E%20(model)%20basin_catalog_enable_response%20%3E%20(schema)>)

#### Basin CatalogMaintenance Configs

##### [Get catalog maintenance configuration](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/maintenance_configs/methods/get)

client.basinCatalog.maintenanceConfigs.get(stringbucketName, MaintenanceConfigGetParams {account\_id } params, RequestOptionsoptions?): [MaintenanceConfigGetResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)>) {credential\_status, maintenance\_config }

GET/accounts/{account\_id}/basin-catalog/{bucket\_name}/maintenance-configs

##### [Update catalog maintenance configuration](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/maintenance_configs/methods/update)

client.basinCatalog.maintenanceConfigs.update(stringbucketName, MaintenanceConfigUpdateParams {account\_id, compaction, snapshot\_expiration } params, RequestOptionsoptions?): [MaintenanceConfigUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)>) {compaction, interval, snapshot\_expiration }

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/maintenance-configs

##### ModelsExpand Collapse

<details>

<summary>

MaintenanceConfigGetResponse {credential\_status, maintenance\_config }

Contains maintenance configuration and credential status.

</summary>

<details>

<summary>

credential\_status: "present"| "absent"

Shows the credential configuration status.

</summary>

One of the following:

"present"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status%20%3E%20(member)%200">Link to this property</a>

"absent"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20credential_status">Link to this property</a>

<details>

<summary>

maintenance\_config: MaintenanceConfig {compaction, interval, snapshot\_expiration }

Configures maintenance for the catalog.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb }

Configures compaction for catalog maintenance.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state }

Configures snapshot expiration settings.

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots. The system deletes snapshots older than this age. Format: where unit is d (days), h (hours), m (minutes), or s (seconds). Examples: “7d” (7 days), “48h” (48 hours), “2880m” (2,880 minutes). Defaults to “7d”.

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)>)

<details>

<summary>

MaintenanceConfigUpdateResponse {compaction, interval, snapshot\_expiration }

Configures maintenance for the catalog.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb }

Configures compaction for catalog maintenance.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state }

Configures snapshot expiration settings.

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots. The system deletes snapshots older than this age. Format: where unit is d (days), h (hours), m (minutes), or s (seconds). Examples: “7d” (7 days), “48h” (48 hours), “2880m” (2,880 minutes). Defaults to “7d”.

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)>)

#### Basin CatalogCredentials

##### [Store catalog credentials](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/credentials/methods/create)

client.basinCatalog.credentials.create(stringbucketName, CredentialCreateParams {account\_id, token } params, RequestOptionsoptions?): [CredentialCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.credentials%20%3E%20(model)%20credential_create_response%20%3E%20(schema)>)| null

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/credential

##### ModelsExpand Collapse

CredentialCreateResponse = unknown

[Link to this property](<#(resource)%20basin_catalog.credentials%20%3E%20(model)%20credential_create_response%20%3E%20(schema)>)

#### Basin CatalogNamespaces

##### [List namespaces in catalog](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/namespaces/methods/list)

client.basinCatalog.namespaces.list(stringbucketName, NamespaceListParams {account\_id, page\_size, page\_token, 3 more } params, RequestOptionsoptions?): [NamespaceListResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)>) {namespaces, details, namespace\_uuids, next\_page\_token }

GET/accounts/{account\_id}/basin-catalog/{bucket\_name}/namespaces

##### ModelsExpand Collapse

<details>

<summary>

NamespaceListResponse {namespaces, details, namespace\_uuids, next\_page\_token }

Contains the list of namespaces with optional pagination.

</summary>

namespaces: Array&lt;Array&lt;string&gt;&gt;

Lists namespaces in the catalog.

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20namespaces">Link to this property</a>

<details>

<summary>

details?: Array&lt;Detail&gt;| null

Contains detailed metadata for each namespace when return\_details is true. Each object includes the namespace, UUID, and timestamps.

</summary>

namespace: Array&lt;string&gt;

Specifies the hierarchical namespace parts as an array of strings. For example, \[“bronze”, “analytics”] represents the namespace “bronze.analytics”.

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20namespace">Link to this property</a>

namespace\_uuid: string

Contains the UUID that persists across renames.

formatuuid

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20namespace_uuid">Link to this property</a>

created\_at?: string| null

Indicates the creation timestamp in ISO 8601 format.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

updated\_at?: string| null

Shows the last update timestamp in ISO 8601 format. Null if never updated.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20details">Link to this property</a>

namespace\_uuids?: Array&lt;string&gt;| null

Contains UUIDs for each namespace when return\_uuids is true. The order corresponds to the namespaces array.

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20namespace_uuids">Link to this property</a>

next\_page\_token?: string| null

Use this opaque token to fetch the next page of results. A null or absent value indicates the last page.

<a href="#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)%20%3E%20(property)%20next_page_token">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.namespaces%20%3E%20(model)%20namespace_list_response%20%3E%20(schema)>)

#### Basin CatalogNamespacesTables

##### [List tables in namespace](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/namespaces/subresources/tables/methods/list)

client.basinCatalog.namespaces.tables.list(stringnamespace, TableListParams {account\_id, bucket\_name, page\_size, 3 more } params, RequestOptionsoptions?): [TableListResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)>) {identifiers, details, next\_page\_token, table\_uuids }

GET/accounts/{account\_id}/basin-catalog/{bucket\_name}/namespaces/{namespace}/tables

##### ModelsExpand Collapse

<details>

<summary>

TableListResponse {identifiers, details, next\_page\_token, table\_uuids }

Contains the list of tables with optional pagination.

</summary>

<details>

<summary>

identifiers: Array&lt;Identifier&gt;

Lists tables in the namespace.

</summary>

name: string

Specifies the table name.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20identifiers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

namespace: Array&lt;string&gt;

Specifies the hierarchical namespace parts as an array of strings. For example, \[“bronze”, “analytics”] represents the namespace “bronze.analytics”.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20identifiers%20%3E%20(items)%20%3E%20(property)%20namespace">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20identifiers">Link to this property</a>

<details>

<summary>

details?: Array&lt;Detail&gt;| null

Contains detailed metadata for each table when return\_details is true. Each object includes identifier, UUID, timestamps, and locations.

</summary>

<details>

<summary>

identifier: Identifier {name, namespace }

Specifies a unique table identifier within a catalog.

</summary>

name: string

Specifies the table name.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20identifier%20%3E%20(property)%20name">Link to this property</a>

namespace: Array&lt;string&gt;

Specifies the hierarchical namespace parts as an array of strings. For example, \[“bronze”, “analytics”] represents the namespace “bronze.analytics”.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20identifier%20%3E%20(property)%20namespace">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20identifier">Link to this property</a>

table\_uuid: string

Contains the UUID that persists across renames.

formatuuid

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20table_uuid">Link to this property</a>

created\_at?: string| null

Indicates the creation timestamp in ISO 8601 format.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

location?: string| null

Specifies the base S3 URI for table storage location.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20location">Link to this property</a>

metadata\_location?: string| null

Contains the S3 URI to table metadata file. Null for staged tables.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20metadata_location">Link to this property</a>

updated\_at?: string| null

Shows the last update timestamp in ISO 8601 format. Null if never updated.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details%20%3E%20(items)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20details">Link to this property</a>

next\_page\_token?: string| null

Use this opaque token to fetch the next page of results. A null or absent value indicates the last page.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20next_page_token">Link to this property</a>

table\_uuids?: Array&lt;string&gt;| null

Contains UUIDs for each table when return\_uuids is true. The order corresponds to the identifiers array.

<a href="#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)%20%3E%20(property)%20table_uuids">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.namespaces.tables%20%3E%20(model)%20table_list_response%20%3E%20(schema)>)

#### Basin CatalogNamespacesTablesMaintenance Configs

##### [Get table maintenance configuration](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/namespaces/subresources/tables/subresources/maintenance_configs/methods/get)

client.basinCatalog.namespaces.tables.maintenanceConfigs.get(stringtableName, MaintenanceConfigGetParams {account\_id, bucket\_name, namespace } params, RequestOptionsoptions?): [MaintenanceConfigGetResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)>) {maintenance\_config }

GET/accounts/{account\_id}/basin-catalog/{bucket\_name}/namespaces/{namespace}/tables/{table\_name}/maintenance-configs

##### [Update table maintenance configuration](https://developers.cloudflare.com/api/typescript/resources/basin_catalog/subresources/namespaces/subresources/tables/subresources/maintenance_configs/methods/update)

client.basinCatalog.namespaces.tables.maintenanceConfigs.update(stringtableName, MaintenanceConfigUpdateParams {account\_id, bucket\_name, namespace, 2 more } params, RequestOptionsoptions?): [MaintenanceConfigUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/basin_catalog#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)>) {compaction, interval, snapshot\_expiration }

POST/accounts/{account\_id}/basin-catalog/{bucket\_name}/namespaces/{namespace}/tables/{table\_name}/maintenance-configs

##### ModelsExpand Collapse

<details>

<summary>

MaintenanceConfigGetResponse {maintenance\_config }

Contains table maintenance configuration.

</summary>

<details>

<summary>

maintenance\_config: MaintenanceConfig {compaction, interval, snapshot\_expiration }

Configures maintenance for the table.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb, next\_eligible\_at }

Configures compaction settings for table optimization.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

next\_eligible\_at?: string| null

Earliest time when the scheduler can claim this operation. Null when disabled.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction%20%3E%20(property)%20next_eligible_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state, next\_eligible\_at }

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots.

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

next\_eligible\_at?: string| null

Earliest time when the scheduler can claim this operation. Null when disabled.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20next_eligible_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)%20%3E%20(property)%20maintenance_config">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_get_response%20%3E%20(schema)>)

<details>

<summary>

MaintenanceConfigUpdateResponse {compaction, interval, snapshot\_expiration }

Configures maintenance for the table.

</summary>

<details>

<summary>

compaction?: Compaction {state, target\_size\_mb, next\_eligible\_at }

Configures compaction settings for table optimization.

</summary>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

target\_size\_mb: "64"| "128"| "256"| "512"

Sets the target file size for compaction in megabytes. Defaults to “128”.

</summary>

One of the following:

"64"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%200">Link to this property</a>

"128"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%201">Link to this property</a>

"256"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%202">Link to this property</a>

"512"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20target_size_mb">Link to this property</a>

next\_eligible\_at?: string| null

Earliest time when the scheduler can claim this operation. Null when disabled.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction%20%3E%20(property)%20next_eligible_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20compaction">Link to this property</a>

interval?: string

Scheduling interval between normal table maintenance runs.

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20interval">Link to this property</a>

<details>

<summary>

snapshot\_expiration?: SnapshotExpiration {max\_snapshot\_age, min\_snapshots\_to\_keep, state, next\_eligible\_at }

</summary>

max\_snapshot\_age: string

Specifies the maximum age for snapshots.

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20max_snapshot_age">Link to this property</a>

min\_snapshots\_to\_keep: number

Specifies the minimum number of snapshots to retain. Defaults to 100.

formatint64

minimum1

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20min_snapshots_to_keep">Link to this property</a>

<details>

<summary>

state: "enabled"| "disabled"

Specifies the state of maintenance operations.

</summary>

One of the following:

"enabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20state">Link to this property</a>

next\_eligible\_at?: string| null

Earliest time when the scheduler can claim this operation. Null when disabled.

formatdate-time

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration%20%3E%20(property)%20next_eligible_at">Link to this property</a>

</details>

<a href="#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)%20%3E%20(property)%20snapshot_expiration">Link to this property</a>

</details>

[Link to this property](<#(resource)%20basin_catalog.namespaces.tables.maintenance_configs%20%3E%20(model)%20maintenance_config_update_response%20%3E%20(schema)>)