CI
Trigger a PR/MR run
Audit Logs
Data sources
Data diffs
Explore
BI
- GETList all integrations
- POSTCreate a DBT BI integration
- PUTUpdate a DBT BI integration
- POSTCreate a Hightouch integration
- PUTUpdate a Hightouch integration
- POSTCreate a Looker integration
- PUTUpdate a Looker integration
- POSTCreate a Mode Analytics integration
- PUTUpdate a Mode Analytics integration
- POSTCreate a Power BI integration
- PUTRename a Power BI integration
- POSTCreate a Tableau integration
- PUTUpdate a Tableau integration
- GETGet an integration
- DELRemove an integration
- GETSync a BI integration
CI
Trigger a PR/MR run
POST
/
api
/
v1
/
ci
/
{ci_config_id}
/
trigger
curl --request POST \
--url https://app.datafold.com/api/v1/ci/{ci_config_id}/trigger \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"base_branch": "<string>",
"base_sha": "<string>",
"pr_branch": "<string>",
"pr_number": 123,
"pr_sha": "<string>"
}'
{
"ci_run_id": 123,
"run_id": 123
}
Authorizations
Use the 'Authorization' header with the format 'Key <api-key>'
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://app.datafold.com/api/v1/ci/{ci_config_id}/trigger \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"base_branch": "<string>",
"base_sha": "<string>",
"pr_branch": "<string>",
"pr_number": 123,
"pr_sha": "<string>"
}'
{
"ci_run_id": 123,
"run_id": 123
}