Skip to main content
POST
Create database.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Body

application/json
name
string
required

Name.

restricted
boolean
required

Provide if access should be restricted.

audit
boolean
default:false

Capture future row inserts, updates, and deletes in database audit history.

category
string

Category.

Maximum string length: 30
desc
string

Description.

Maximum string length: 1000
metadata
object

Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

groups
string[]

Provide which groups should have access to it, once restricted is true.

users
string[]

Provide which users should have access to it, once restricted is true.

definition
object[]

Database definitions.

parent
string

Name.

Required string length: 1 - 60
partition
object

Partition configuration.

Response

databaseId
string<uuid>
required
name
string
required
category
string | null
required
desc
string | null
required
tags
string[] | null
required
restricted
boolean
required
audit
boolean
required

Whether future row mutations are captured for this logical table.

type
enum<string>
required
Available options:
TABLE,
TABLE_PARTITIONED
definition
object[]
required
partition
object | null
required
groups
object[]
required
users
object[]
required
parent
string | null
required
master
string | null
required
version
number
required
createdBy
string<uuid>
required
createdAt
string<date-time>
required
lastUpdateBy
string<uuid>
required
lastUpdateAt
string<date-time>
required
deletedAt
string<date-time> | null
required
deletedBy
string<uuid> | null
required
metadata
object
Last modified on September 5, 2026