Replay a run callback
curl --request POST \
--url https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry_count": 0,
"created_at": "<string>",
"status": "PENDING",
"callback_url": "<string>",
"http_status": 123,
"http_response": {},
"batch_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduled_run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"message": "<string>",
"error_label": "<string>",
"error_scope": "<string>",
"status_code": 123,
"params": {},
"error_ref": "<string>"
},
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}Run Callbacks
Replay a Run Callback
Retry delivery of a failed callback for a run to your webhook endpoint
POST
/
runs
/
callbacks
/
{callback_uid}
/
replay
Replay a run callback
curl --request POST \
--url https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/runs/callbacks/{callback_uid}/replay"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry_count": 0,
"created_at": "<string>",
"status": "PENDING",
"callback_url": "<string>",
"http_status": 123,
"http_response": {},
"batch_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduled_run_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"message": "<string>",
"error_label": "<string>",
"error_scope": "<string>",
"status_code": 123,
"params": {},
"error_ref": "<string>"
},
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}How replay works:
- Each replay creates a new callback (up to 3 total replays)
- You can only replay the original callback, not callback responses
- This helps you track each attempt and identify specific issues with your webhook URL
- Your webhook URL was temporarily unavailable
- You received a callback but want to retry processing
- You need to debug callback delivery issues
Response
Returns the run callback created for the replay
Returns the run callback created for the replay
