> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ugc.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Automation Run

> Export full run data including executor and edge state

## Endpoint

```bash theme={null}
POST https://api.ugc.inc/automations/export-run
```

## Request Body

<ParamField body="runId" type="string" required>
  Run ID to export.
</ParamField>

## Response

<ResponseField name="data" type="AutomationRunExport">
  Full exported run payload.
</ResponseField>

## TypeScript

```typescript theme={null}
const res = await client.automations.exportRun({ runId: 'run_123' });
```
