Saltar al contenido principal
GET
/
workflows
/
{workflowId}
/
executions
Listar ejecuciones de flujo de trabajo
curl --request GET \
  --url https://api.altostrat.io/workflows/{workflowId}/executions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "fl_run_01h3j4k5l6m7n8p9q0r1s2t3u4",
      "status": "completed",
      "error_message": "Webhook request failed: 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"
        }
      ]
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "current_page": 123,
    "from": 123,
    "last_page": 123,
    "path": "<string>",
    "per_page": 123,
    "to": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

JWT estándar para sesiones de usuario obtenido a través de la autenticación de Altostrat.

Path Parameters

workflowId
string
required

El ID con prefijo del flujo de trabajo (ej., fl_...).

Query Parameters

page
integer
default:1

El número de página para la paginación.

Response

Una lista paginada de ejecuciones de flujo de trabajo.

data
object[]
meta
object