---
title: "List Automation Executions"
method: GET
path: "/v1/automations/{id}/executions"
tags: ["Automation"]
---

# List Automation Executions

`GET /v1/automations/{id}/executions`

Returns a paginated list of execution history for an automation.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

Successful response

- ListAutomationExecutionsResponse — Paginated list of automation executions
  - `executions` AutomationExecutionRecord[], required
    - `id` string, uuid, required — Unique identifier for the execution
    - `automation_id` string, uuid, required — The automation that was executed
    - `organization_id` string, uuid, required — Organization that owns this execution
    - `workspace_id` string, uuid, nullable, required — The workspace created for this execution (null if not yet created)
    - `triggered_at` string, date-time, required — When the execution was triggered
    - `trigger_payload` object, required — Event data that triggered the execution
    - `status` 'pending' | 'creating' | 'running' | 'completed' | 'failed', required — Current status of the execution
    - `config` WorkspaceConfig, required — Workspace behavior configuration. Missing capabilities and preferences default to disabled.
      - `capabilities` object — Actions this workspace is allowed to perform. Automations snapshot this config onto each workspace they create; API-created replicas can set it at creation time.
        - `pr_followups` boolean — Whether matching pull requests can receive Replicas follow-up actions. Defaults to true for workspaces created from the dashboard, Slack, Linear, GitHub, or the API, and to false for workspaces created from an automation. When enabled, later CI and review-comment replies can route back to this workspace.
      - `preferences` object — Workspace behavior preferences that do not grant new action permissions.
        - `keep_open_on_pr_merge` boolean — Whether the workspace should remain open after its last tracked PR is merged. Defaults to false.
        - `keep_open_on_pr_close` boolean — Whether the workspace should remain open after its last tracked PR is closed without merging. Defaults to false.
      - `provisioning_error` object — Setup/provisioning or wake/resume failure captured when the workspace remains queryable in `error` status. Some wake/resume failures can be retried; the `error` status can also represent an unrecoverable sandbox failure.
        - `message` string — Underlying setup failure message, such as repository clone/auth errors.
    - `error` string, nullable, required — Error message if the execution failed
    - `completed_at` string, date-time, nullable, required — When the execution completed
  - `total` integer, required — Total number of executions
  - `page` integer, required — Current page number
  - `limit` integer, required — Number of items per page
  - `totalPages` integer, required — Total number of pages

## Other responses

- `401` — Unauthorized - Invalid or missing API key
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.dev/tryreplicas/apis/replica-api.md) · [All operations](https://skmtc.dev/tryreplicas/apis/replica-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryreplicas/replica-api/revisions/aa3b4c932f7a/schema)
