Projects
Run workflow
Starts a manual run on the whole scope or on the given project assets.
POST
/
api
/
projects
/
{id}
/
workflows
/
{bindingId}
/
run
Run workflow
curl --request POST \
--url https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run \
--header 'Content-Type: application/json' \
--data '
{
"assetIds": [
"<string>"
]
}
'import requests
url = "https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run"
payload = { "assetIds": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({assetIds: ['<string>']})
};
fetch('https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run"
payload := strings.NewReader("{\n \"assetIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"jobHistoryId": "<string>",
"assets": 123
}⌘I
Run workflow
curl --request POST \
--url https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run \
--header 'Content-Type: application/json' \
--data '
{
"assetIds": [
"<string>"
]
}
'import requests
url = "https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run"
payload = { "assetIds": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({assetIds: ['<string>']})
};
fetch('https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/projects/{id}/workflows/{bindingId}/run"
payload := strings.NewReader("{\n \"assetIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"jobHistoryId": "<string>",
"assets": 123
}