POST
/
api
/
v1
/
sources
/
add
/
motherduck
/
Add MotherDuck connection
curl --request POST \
  --url https://api.camelai.com/api/v1/sources/add/motherduck/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "motherduck",
  "database_name": "my_database",
  "token": "motherduck_token_12345"
}'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

JWT or API key authentication using Bearer scheme

Body

application/json

Serializer for MotherDuck connection configuration.

Response

200
application/json

The response is of type object.