ESTAGE Support
IdeasMy tickets

One automation with its graph and per-node stats

Permission automations:readRate limit reads

The automation with its graph. Each node carries stats: entered, yes/no (condition branches), in_flow_now, retrying, and for send_email steps what its emails did. email_stats totals the automation's emails; waiting_reasons counts waiting contacts by reason.

GEThttps://api.estage.com/v1/automations/{id}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired
RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/automations/automation-id' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "data": {
    "id": 58,
    "name": "Order follow-up",
    "status": "active",
    "allow_reentry": false,
    "created_at": "2026-11-13T09:00:00Z",
    "updated_at": "2026-11-13T09:05:00Z",
    "graph": {
      "nodes": [
        {
          "uuid": "n-trigger",
          "type": "trigger",
          "config": {
            "triggers": [
              {
                "trigger": "api_event",
                "event_name": "order.paid",
                "data_conditions": [
                  {
                    "key": "plan",
                    "op": "eq",
                    "value": "pro"
                  }
                ]
              }
            ]
          },
          "stats": {
            "entered": 12,
            "yes": 0,
            "no": 0,
            "in_flow_now": 0,
            "retrying": 0,
            "email": null
          }
        },
        {
          "uuid": "n-wait",
          "type": "delay",
          "config": {
            "days": 1
          },
          "stats": {
            "entered": 12,
            "yes": 0,
            "no": 0,
            "in_flow_now": 3,
            "retrying": 0,
            "email": null
          }
        },
        {
          "uuid": "n-email",
          "type": "action",
          "config": {
            "action": "send_email",
            "template_id": 311,
            "sender_identity_id": 7
          },
          "stats": {
            "entered": 12,
            "yes": 0,
            "no": 0,
            "in_flow_now": 0,
            "retrying": 0,
            "email": {
              "sent": 9,
              "delivered": 9,
              "opened": 5,
              "clicked": 2,
              "bounced": 0,
              "complaints": 0,
              "failed": 0
            }
          }
        },
        {
          "uuid": "n-done",
          "type": "goal",
          "config": {},
          "stats": {
            "entered": 12,
            "yes": 0,
            "no": 0,
            "in_flow_now": 0,
            "retrying": 0,
            "email": null
          }
        }
      ],
      "edges": [
        {
          "from": "n-trigger",
          "to": "n-wait",
          "branch": "default"
        },
        {
          "from": "n-wait",
          "to": "n-email",
          "branch": "default"
        },
        {
          "from": "n-email",
          "to": "n-done",
          "branch": "default"
        }
      ],
      "canvas": {
        "zoom": 1
      }
    },
    "email_stats": {
      "sent": 9,
      "delivered": 9,
      "opened": 5,
      "clicked": 2,
      "bounced": 0,
      "complaints": 0,
      "failed": 0
    },
    "waiting_reasons": {
      "delay": 3,
      "email_quota": 0,
      "sms_quota": 0,
      "throttled": 0
    }
  }
}
Example. Errors are { error: { code, message, details } }.