# Bonsai

Bonsai is a fully managed Elasticsearch and OpenSearch hosting service, providing scalable search infrastructure with automatic backups, security, and monitoring.

- **Category:** databases
- **Auth:** BASIC
- **Composio Managed App Available?** N/A
- **Tools:** 3
- **Triggers:** 0
- **Slug:** `BONSAI`
- **Version:** 20260227_00

## Tools

### Get Bonsai Cluster Details

**Slug:** `BONSAI_GET_CLUSTER_DETAILS`

Tool to retrieve details for a single bonsai cluster by slug. Use when you need to inspect a cluster's configuration and status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | Yes | Unique, machine-readable slug identifying the bonsai cluster. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Space Details

**Slug:** `BONSAI_GET_SPACE_DETAILS`

Tool to retrieve details for a single space by its path. Use when you need metadata for a space before provisioning a cluster. Use after confirming this detail exists. E.g., 'omc/bonsai/us-east-1/common'.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path` | string | Yes | The machine-readable path of the space to retrieve details for, e.g., 'omc/bonsai/us-east-1/common'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Spaces

**Slug:** `BONSAI_LIST_SPACES`

Tool to retrieve a list of all available spaces. Use when you need to see the server groups and geographic regions available for your account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
