Vai al contenuto principale
POST
/
workflows
/
runs
/
{runId}
/
resume-from
/
{nodeId}
Riprendi un workflow fallito
curl --request POST \
  --url https://api.altostrat.io/workflows/runs/{runId}/resume-from/{nodeId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Workflow ripreso con successo dal nodo 'n2'.",
  "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_...).

nodeId
string
required

L'ID del nodo completato con successo da cui riprendere l'esecuzione.

Response

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

message
string
Example:

"Workflow ripreso con successo dal nodo 'n2'."

new_run
object