DELETE DELETE /workflows/{workflow_id}/runs/{run_id}
Remove run records and artifacts according to your retention rules.
cURL
curl -X DELETE https://api.algorythmos.fr/workflows/invoice-processing/runs/run_8Y2hP \
-H "x-api-key: $ALG_KEY"JavaScript
await fetch('https://api.algorythmos.fr/workflows/invoice-processing/runs/run_8Y2hP', {
method: 'DELETE',
headers: { 'x-api-key': process.env.ALG_KEY }
})Python
import requests, os
requests.delete(
'https://api.algorythmos.fr/workflows/invoice-processing/runs/run_8Y2hP',
headers={'x-api-key': os.environ['ALG_KEY']}
)