# Xata

Think data, not databases. The serverless, branchable, scalable, consistent, highly available, and searchable database service focused on the developer experience.

- **Category:** databases
- **Auth:** API_KEY, OAUTH2
- **Composio Managed App Available?** No
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `XATA`
- **Version:** 00000000_00

## Tools

### Get Organization Details

**Slug:** `XATA_GET_ORGANIZATION`

Tool to retrieve detailed information about a specific organization by its ID. Use when you need to check organization status, name, billing information, or admin settings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organization_id` | string | Yes | Unique identifier for a specific organization |

#### 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 |

### Get project resource limits

**Slug:** `XATA_GET_PROJECT_LIMITS`

Tool to retrieve the default resource limits for projects in a specified organization. Use when you need to check maximum instances, storage, allowed regions, or branch limits for a Xata organization.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organizationID` | string | Yes | Unique identifier of the organization to get project limits for |

#### 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 Extensions

**Slug:** `XATA_LIST_EXTENSIONS`

Tool to get available PostgreSQL extensions for a specific image. Use when you need to check which extensions can be enabled for a particular PostgreSQL version in an organization.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image` | string | Yes | Image for which to list available extensions (e.g., postgres:17.7). |
| `region` | string | No | Region to list extensions for image in. If not specified, returns extensions available in all regions. |
| `organization_id` | string | Yes | Unique identifier of the organization to check instance type availability for. |

#### 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 Available Images

**Slug:** `XATA_LIST_IMAGES`

Tool to retrieve a list of all available postgres images for a specified organization and region. Use when you need to check which database images are available for deployment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `region` | string | No | Region to check image availability for organization. If not specified, returns images for all regions. |
| `organizationID` | string | Yes | Unique identifier of the organization to check image availability |

#### 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 Instance Types

**Slug:** `XATA_LIST_INSTANCE_TYPES`

Tool to retrieve a list of all instance types for the specified organization and region. Use when you need to check available instance types and their configurations including CPU, RAM, and pricing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `region` | string | Yes | Region to check instance type availability for |
| `organizationID` | string | Yes | Unique identifier of the organization to check instance type availability for |

#### 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 Organization API Keys

**Slug:** `XATA_LIST_ORG_API_KEYS`

Tool to retrieve a list of API keys for a specific Xata organization. Use when you need to view all API keys associated with an organization.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organization_id` | string | Yes | Unique identifier for a specific organization |

#### 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 Available Regions

**Slug:** `XATA_LIST_REGIONS`

Tool to retrieve a list of all regions where new branches can be deployed for the specified organization. Use when you need to check which regions are available for deploying new branches.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organization_id` | string | Yes | Unique identifier of the organization to check region availability for |

#### 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 |

### Update Organization

**Slug:** `XATA_UPDATE_ORGANIZATION`

Tool to update information for an existing organization, such as its name. Use when you need to modify organization details.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Optional organization ID to set (must match pattern [a-zA-Z0-9_~:-]+) |
| `name` | string | No | New name for the organization |
| `organizationID` | string | Yes | Unique identifier for the organization to update |

#### 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 |
