---
title: "Get Automation Execution"
method: GET
path: "/api/v1/automation_executions/{id}"
tags: ["Automations"]
---

# Get Automation Execution

`GET /api/v1/automation_executions/{id}`

Retrieve a single automation execution by its unique identifier, with optional expanded related objects.

## Path parameters

- `id` string, int64, required — The unique identifier of the automation execution to retrieve.

## Response `200`

Successful response

- C1ApiAutomationsV1GetAutomationExecutionResponse — The GetAutomationExecutionResponse message.
  - `automationExecution` C1ApiAutomationsV1AutomationExecution — The AutomationExecution message.
    - `automationTemplateId` string — The automationTemplateId field.
    - `completedAt` string, date-time
    - `context` C1ApiAutomationsV1AutomationContext — The AutomationContext message.
      - `context` object
    - `createdAt` string, date-time
    - `currentVersion` integer — The currentVersion field.
    - `deletedAt` string, date-time
    - `duration` string, duration
    - `id` string, int64 — The id field.
    - `isDraft` boolean — The isDraft field.
    - `state` 'AUTOMATION_EXECUTION_STATE_UNSPECIFIED' | 'AUTOMATION_EXECUTION_STATE_PENDING' | 'AUTOMATION_EXECUTION_STATE_CREATING' | 'AUTOMATION_EXECUTION_STATE_GET_STEP' | 'AUTOMATION_EXECUTION_STATE_PROCESS_STEP' | 'AUTOMATION_EXECUTION_STATE_COMPLETE_STEP' | 'AUTOMATION_EXECUTION_STATE_DONE' | 'AUTOMATION_EXECUTION_STATE_ERROR' | 'AUTOMATION_EXECUTION_STATE_TERMINATE' | 'AUTOMATION_EXECUTION_STATE_WAITING' | 'AUTOMATION_EXECUTION_STATE_PAUSED_BY_CIRCUIT_BREAKER' — The state field.
    - `updatedAt` string, date-time
  - `expanded` object[], nullable — Related objects requested via the expand mask.
    - `@type` string — The type of the serialized message.
  - `view` C1ApiAutomationsV1AutomationExecutionView — The AutomationExecutionView message.
    - `automationExecution` C1ApiAutomationsV1AutomationExecution — The AutomationExecution message.
      - `automationTemplateId` string — The automationTemplateId field.
      - `completedAt` string, date-time
      - `context` C1ApiAutomationsV1AutomationContext — The AutomationContext message.
        - `context` object
      - `createdAt` string, date-time
      - `currentVersion` integer — The currentVersion field.
      - `deletedAt` string, date-time
      - `duration` string, duration
      - `id` string, int64 — The id field.
      - `isDraft` boolean — The isDraft field.
      - `state` 'AUTOMATION_EXECUTION_STATE_UNSPECIFIED' | 'AUTOMATION_EXECUTION_STATE_PENDING' | 'AUTOMATION_EXECUTION_STATE_CREATING' | 'AUTOMATION_EXECUTION_STATE_GET_STEP' | 'AUTOMATION_EXECUTION_STATE_PROCESS_STEP' | 'AUTOMATION_EXECUTION_STATE_COMPLETE_STEP' | 'AUTOMATION_EXECUTION_STATE_DONE' | 'AUTOMATION_EXECUTION_STATE_ERROR' | 'AUTOMATION_EXECUTION_STATE_TERMINATE' | 'AUTOMATION_EXECUTION_STATE_WAITING' | 'AUTOMATION_EXECUTION_STATE_PAUSED_BY_CIRCUIT_BREAKER' — The state field.
      - `updatedAt` string, date-time
    - `automationExecutionTriggerPath` string — The automationExecutionTriggerPath field.
    - `automationPath` string — The automationPath field.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d391405a35d3/schema)
