---
title: "Export audit logs"
method: GET
path: "/api/audit-logs/export"
tags: ["Audit Logs"]
---

# Export audit logs

`GET /api/audit-logs/export`

Streams audit log events matching the supplied filters as a downloadable
file. Accepts the same filter query parameters as `GET /api/audit-logs`.
The response is returned as an attachment with a generated filename.

## Query parameters

- `format` 'json' | 'jsonl' | 'syslog'
- `search` string
- `actions` string
- `outcomes` string
- `event_types` string
- `start_date` string
- `end_date` string
- `period` string

## Response `200`

A streamed export of the matching audit logs.

- string

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
