---
title: "Create Database Route"
method: POST
path: "/api/databases"
tags: ["database"]
---

# Create Database Route

`POST /api/databases`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/databases`
- Auth: none declared

Create a new database and sync its metadata to the catalog.

## Cookies

- `session` string, nullable

## Request body

- DatabaseCreate
  - `name` string, required
  - `engine` string, required
  - `details` object, required
  - `description` string, nullable
  - `write_mode` 'read-only' | 'confirmation' | 'skip-confirmation', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
