Vai al contenuto principale
POST
/
workflows
/
runs
/
{runId}
/
rerun
Riesegui un workflow
curl --request POST \
  --url https://api.altostrat.io/workflows/runs/{runId}/rerun \
  --header 'Authorization: Bearer <token>'
{
  "message": "Riesecuzione del workflow avviata con successo.",
  "new_run": {
    "id": "fl_run_01h3j4k5l6m7n8p9q0r1s2t3u4",
    "status": "completed",
    "error_message": "La richiesta webhook è fallita: 503 Service Unavailable",
    "started_at": "2025-10-31T12:00:00.000000Z",
    "completed_at": "2025-10-31T12:00:05.000000Z",
    "duration_in_seconds": 5,
    "logs": [
      {
        "id": "fl_log_01h3j4k5l6m7n8p9q0r1s2t3u4",
        "node_id": "n2",
        "component_id": "webhook",
        "status": "success",
        "output": {
          "status": 200,
          "body": {
            "message": "ok"
          }
        },
        "created_at": "2025-10-31T12:00:02.000000Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT standard per le sessioni utente ottenuto tramite l'autenticazione Altostrat.

Path Parameters

runId
string
required

L'ID prefissato dell'esecuzione del workflow (es. fl_run_...).

Response

La riesecuzione del workflow è stata accettata ed è in corso in modo asincrono.

message
string
Example:

"Riesecuzione del workflow avviata con successo."

new_run
object