---
title: "Export organization audit events"
method: GET
path: "/v1/audit-events/export"
tags: ["Server"]
---

# Export organization audit events

`GET /v1/audit-events/export`

## Request

- Base URL: `https://api.skyvern.com`
- URL: `https://api.skyvern.com/v1/audit-events/export`
- Auth: none declared

Export audit events 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'

## Headers

- `x-api-key` string, nullable

## Response `200`

A page of audit events as JSON, or a CSV download when format=csv.

- AuditEventExportResponse
  - `rows` AuditEventExportRow[], required
    - `audit_event_id` string, required
    - `created_at` string, date-time, required
    - `organization_id` string, required
    - `actor_user_id` string, nullable, required
    - `auth_kind` string, required
    - `org_role` string, nullable, required
    - `action` string, required
    - `resource_type` string, required
    - `resource_id` string, nullable, required
    - `request_id` string, nullable, required
    - `details` object, 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-08** `04df18172f4d`: 1 info
  - endpoint added

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

---

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