---
title: "Download platform event log entries as CSV"
method: POST
path: "/organization/{organization_id}/event-logs/download"
tags: ["Organizations"]
---

# Download platform event log entries as CSV

`POST /organization/{organization_id}/event-logs/download`

## Request

- Base URL: `https://api.aiven.io/v1`
- URL: `https://api.aiven.io/v1/organization/{organization_id}/event-logs/download`
- Auth: HTTP bearer and OAuth 2
  - Authorization code: `https://console.aiven.io/oauth/authorize`
  - Token URL: `https://api.aiven.io/v1/oauth2/token` scopes: `accounts:read`

> This endpoint **may be changed or removed at any time**. Don't use it in production environments.

## Path parameters

- `organization_id` string, required

## Request body

- OrganizationEventLogsDownloadRequestBody: OrganizationEventLogsDownloadRequestBody
  - `asset_filters` object: Restrict results by asset ID, actor, or a free-text term. Named fields must all match; the '*' key matches a free-text term against several fields at once.
    - `\` string: Case-insensitive. Opaque ids must match in full, other values match on any substring. Metadata matches values only, never keys. Must be between 3 and 256 characters. Combination with the other filters narrows the result set.
    - `actor` string: Actor
    - `actor_user_id` string: Actor User ID
    - `billing_group_id` string: Billing Group ID
    - `project_id` string: Project ID
    - `service_id` string: Service ID
    - `unit_id` string: Unit ID
  - `event_types` string[]: Restrict results to these event types. 'null' applies no filtering; an empty list returns no events.
  - `from_time` string: Start of the time window (ISO 8601 UTC). Defaults to 30 days before now.
  - `to_time` string: End of the time window (ISO 8601 UTC). If omitted, no upper time bound is applied.

## Response `200`

Returns a CSV report

## Other responses

- `400`: Invalid request parameters
- `404`: Resource not found
- `503`: The server cannot process the request due to a high load
- `504`: The gateway server did not receive a timely response

## Changes

- **2026-10-22** `49503922f784`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/organization/:organization_id/event-logs/download/post.md)

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) - [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aiven/apis/aiven-api-documentation/revisions/562453405db0?raw)
