Skip to main content
POST
/
api
/
v1
/
datalake
/
{source}
/
databases
Create database
curl --request POST \
  --url https://ai-loop.alpeadria.com/api/v1/datalake/{source}/databases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Shippings_2024",
  "variables": [
    "<string>"
  ]
}
'
{
  "name": "db_ai-loop_V3_Services",
  "userFriendlyName": "V3_Services"
}
Create a new database (collection) in the Data Lake with an optional initial schema.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source
string
required

Body

application/json
name
string
required
Example:

"Shippings_2024"

variables
string[]

Initial headers/variables for the collection

Response

201 - application/json

Database created successfully.

name
string

Actual MongoDB collection name

userFriendlyName
string

Human-readable name without prefix