curl --request POST \
--url https://api.usedatabrain.com/api/v2/datasource/sync \
--header 'Authorization: Bearer dbn_live_abc123...' \
--header 'Content-Type: application/json' \
--data '{
"input": {
"datasourceId": "your-datasource-id"
}
}'
{
"data": {
"message": "Sync completed"
}
}
curl --request POST \
--url https://api.usedatabrain.com/api/v2/datasource/sync \
--header 'Authorization: Bearer dbn_live_abc123...' \
--header 'Content-Type: application/json' \
--data '{
"input": {
"datasourceId": "your-datasource-id"
}
}'
{
"data": {
"message": "Sync completed"
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
Use this file to discover all available pages before exploring further.
datasourceId.
POST <SELF_HOSTED_URL>/api/v2/datasource/sync
curl --request POST \
--url https://api.usedatabrain.com/api/v2/datasource/sync \
--header 'Authorization: Bearer dbn_live_abc123...' \
--header 'Content-Type: application/json' \
--data '{
"input": {
"datasourceId": "your-datasource-id"
}
}'
{
"data": {
"message": "Sync completed"
}
}
Get your datasourceId from the URL query params on the datasource page.