Abort a pipeline run
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/ \
--header 'Authorization: Bearer <token>'{
"status": "aborted"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Pipeline Runs
Abort a pipeline run
Cancel a pipeline run that is pending or running. The run and any
of its non-terminal steps transition to aborted.
Aborting an already-terminal run (completed, completed_with_warnings,
failed, or aborted) is a no-op.
POST
/
projects
/
{project_id}
/
pipeline-runs
/
{pipeline_run_id}
/
abort
/
Abort a pipeline run
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/pipeline-runs/{pipeline_run_id}/abort/ \
--header 'Authorization: Bearer <token>'{
"status": "aborted"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}