> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sondercloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Criar Database

> Provisiona uma nova database gerenciada

```bash cURL theme={null}
curl -X POST 'https://api.sondercloud.app/v1/databases' \
  -H 'Authorization: Bearer seu_token' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "meu-redis",
    "engine": "redis",
    "memoryMb": 512
  }'
```

```json Success theme={null}
{
  "id": "8d5b4a9c-2e4f-4d67-a0e1-93cfd2d6b7f1",
  "name": "meu-redis",
  "engine": "redis",
  "status": "RUNNING",
  "memoryMb": 512,
  "host": "203.0.113.45",
  "port": 6379,
  "database": "meu-redis",
  "username": "default",
  "password": "your_secure_password",
  "connectionString": "redis://default:your_secure_password@203.0.113.45:6379"
}
```

### Parâmetros

**name** `string` *required*

Nome da database. Entre 1 e 32 caracteres.

**engine** `string` *required*

Engine da database: `postgresql`, `mysql`, `mongodb` ou `redis`.

**memoryMb** `integer` (default: 128)

Memória alocada, em MB. Entre 64 e 2048.

**password** `string`

Senha customizada, entre 8 e 128 caracteres. Se omitida, uma senha é gerada automaticamente.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.sondercloud.app/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.