---
title: "Export workflow run activity"
method: GET
path: "/v1/audit-events/runs/export"
tags: ["Server"]
---

# Export workflow run activity

`GET /v1/audit-events/runs/export`

## Request

- Base URL: `https://api.skyvern.com`
- URL: `https://api.skyvern.com/v1/audit-events/runs/export`
- Auth: API key in header `x-api-key`

Export top-level workflow runs for the authenticated organization as JSON or CSV. Only organization admins and full API keys may export. The default window is the last 90 days, with timezone-aware since/until bounds, newest-first keyset pagination, and a maximum page size of 500. CSV output uses fixed columns and is protected from spreadsheet formula execution.

## Query parameters

- `since` string, date-time, nullable
- `until` string, date-time, nullable
- `limit` integer
- `cursor` string, nullable
- `format` 'json' | 'csv'

## Response `200`

A page of workflow run activity as JSON, or a CSV download when format=csv.

- RunActivityExportResponse
  - `rows` RunActivityExportRow[], required
    - `workflow_run_id` string, required
    - `created_at` string, date-time, required
    - `workflow_permanent_id` string, required
    - `trigger_type` string, nullable, required
    - `created_by` string, nullable, required
    - `requested_by` string, nullable, required
    - `workflow_schedule_id` string, nullable, required
    - `retried_from_workflow_run_id` string, nullable, required
  - `next` string, nullable, required

## Other responses

- `403`: The caller must be an organization admin or use a full API key.
- `422`: Validation Error

## Changes

- **2026-10-24** `8d8088a49c6a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/changes/v1/audit-events/runs/export/get.md)

---

[API](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2.md) - [All operations](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/revisions/64479cb160ff?raw)
