---
title: "List automation runs."
method: GET
path: "/automations/{id}/runs"
tags: ["Automations"]
---

# List automation runs.

`GET /automations/{id}/runs`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/automations/{id}/runs`
- Auth: HTTP bearer

Returns recent execution history for the specified automation in the current organization, including run state and console details.

## Path parameters

- `id` string, required

## Response `200`

Returns the automation execution history.

- AutomationConsoleResponse: Recent persisted execution runs for an automation console.
  - `automationId` string: Unique identifier of the automation whose execution history is returned.
  - `runs` AutomationWorkflowRunResponse[]: Recent persisted workflow runs for the automation, ordered for console display.
    - `isDemo` boolean: Whether this record belongs to demo data.
    - `id` string: Unique Leadping identifier for the automation workflow run.
    - `organizationId` string, nullable: Unique identifier of the organization associated with this Leadping automation workflow run.
    - `leadId` string, nullable: Unique identifier of the lead associated with this Leadping automation workflow run.
    - `automation` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `triggerType` string, nullable: Trigger type classification for this Leadping automation workflow run.
    - `triggerDisplay` string, nullable: Human-readable trigger display for this Leadping automation workflow run.
    - `status` string: Current status for this Leadping automation workflow run.
    - `statusDisplay` string: Human-readable status display for this Leadping automation workflow run.
    - `currentStep` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `currentStepOrder` integer, nullable: Current step order associated with this Leadping automation workflow run.
    - `nextExecutionAt` string, date-time, nullable: Date and time when the next execution is scheduled.
    - `lastExecutionAt` string, date-time, nullable: Date and time of the most recent execution for this Leadping automation workflow run.
    - `startedAt` string, date-time: Date and time when the automation workflow run started.
    - `updatedAt` string, date-time: Date and time when the automation workflow run was last updated.
    - `completedAt` string, date-time, nullable: Date and time when the automation workflow run completed.
    - `failedAt` string, date-time, nullable: Date and time when the automation workflow run failed.
    - `cancelledAt` string, date-time, nullable: Date and time when the automation workflow run was cancelled.
    - `retryCount` integer: Total number of retry records represented by this Leadping automation workflow run.
    - `maxRetryCount` integer: Total number of max retry records represented by this Leadping automation workflow run.
    - `nextRetryAt` string, date-time, nullable: Date and time when the next retry is scheduled.
    - `lastErrorCode` string, nullable: Machine-readable code for the most recent workflow execution error.
    - `lastErrorMessage` string, nullable: Human-readable last error message for this Leadping automation workflow run.
    - `skipReasonCode` string, nullable: Machine-readable code explaining why the workflow run or action was skipped.
    - `skipReasonDisplay` string, nullable: Human-readable skip reason display for this Leadping automation workflow run.
    - `lastActionSummary` string, nullable: Human-readable last action summary for this Leadping automation workflow run.
    - `actions` AutomationWorkflowActionResponse[]: Collection of actions included with this Leadping automation workflow run.
      - `smsDelivery` AutomationSmsDeliveryRecord, nullable: Delivery outcome of the persisted SMS. Workflow steps advance on command acceptance, without waiting for delivery.
        - `smsEventId` string: Durable SMS event ID used to read subsequent delivery outcomes.
        - `status` 'draft' | 'scheduled' | 'queued' | 'sending' | 'sent' | 'received' | 'delivered' | 'failed' | 'undeliverable' | 'opted_out' | 'blocked_compliance' | 'blocked_billing' | 'blocked_missing_campaign' | 'canceled', nullable: Describes the normalized lifecycle of an SMS or MMS message from scheduling through delivery or failure.
        - `scheduledFor` string, date-time, nullable: UTC time at which the SMS is scheduled to send.
        - `nextRetryAt` string, date-time, nullable: UTC time of the next automatic delivery retry, if any.
        - `errorCode` string, nullable: Machine-readable delivery failure code.
        - `reason` string, nullable: Redacted reason supplied by the delivery pipeline.
        - `summary` string: Customer-safe delivery summary and suggested next action.
      - `id` string: Unique Leadping identifier for the automation workflow action.
      - `stepId` string, nullable: Unique identifier of the step associated with this Leadping automation workflow action.
      - `stepOrder` integer: Step order associated with this Leadping automation workflow action.
      - `stepDisplayName` string: Human-readable step display name associated with this Leadping automation workflow action.
      - `actionType` string: Action type classification for this Leadping automation workflow action.
      - `actionTypeDisplay` string: Human-readable action type display for this Leadping automation workflow action.
      - `status` string: Current status for this Leadping automation workflow action.
      - `statusDisplay` string: Human-readable status display for this Leadping automation workflow action.
      - `scheduledAt` string, date-time, nullable: Date and time when the automation workflow action was scheduled.
      - `startedAt` string, date-time, nullable: Date and time when the automation workflow action started.
      - `completedAt` string, date-time, nullable: Date and time when the automation workflow action completed.
      - `failedAt` string, date-time, nullable: Date and time when the automation workflow action failed.
      - `skippedAt` string, date-time, nullable: Date and time when the workflow action was skipped.
      - `retryCount` integer: Total number of retry records represented by this Leadping automation workflow action.
      - `nextRetryAt` string, date-time, nullable: Date and time when the next retry is scheduled.
      - `userSummary` string, nullable: Human-readable user summary for this Leadping automation workflow action.
      - `safeReason` string, nullable: Safe reason associated with this Leadping automation workflow action.
      - `failureCode` string, nullable: Reason or diagnostic code that explains the current outcome for this Leadping automation workflow action.
    - `events` AutomationWorkflowEventResponse[]: Collection of events included with this Leadping automation workflow run.
      - `id` string: Unique Leadping identifier for the automation workflow event.
      - `stepId` string, nullable: Unique identifier of the step associated with this Leadping automation workflow event.
      - `actionId` string, nullable: Unique identifier of the action associated with this Leadping automation workflow event.
      - `eventType` string: Event type classification for this Leadping automation workflow event.
      - `status` string: Current status for this Leadping automation workflow event.
      - `statusDisplay` string: Human-readable status display for this Leadping automation workflow event.
      - `summary` string: Human-readable summary for this Leadping automation workflow event.
      - `reasonCode` string, nullable: Reason or diagnostic code that explains the current outcome for this Leadping automation workflow event.
      - `occurredAt` string, date-time: Date and time when the automation workflow event event occurred.

## Other responses

- `400`: The request contains invalid values or fails validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-11** `81aed8c9afb7`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/automations/:id/runs/get.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
