Retry failed report run REST API
POST
/api/report-runs/{run_id}/retry
const url = 'http://127.0.0.1:25737/api/report-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry';const options = {method: 'POST', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:25737/api/report-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/retry \ --cookie hk_token=<hk_token>Queues failed deliveries from a manageable report run for retry with the stable message ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”run_id
required
string format: uuid
Report run UUID.
Responses
Section titled “Responses”Retry queued
Not found
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}Mail unavailable
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}