Skip to content

Audit Log

This API endpoint lets you export your organization's audit log as a downloadable file. It's the same export available in the LinearB UI under Company Settings, so you can pull it on a schedule or pipe it into your own SIEM / data warehouse instead of downloading it by hand.

Export audit log

Export the organization audit log as a CSV or JSON file for a given date range. The response returns a presigned S3 URL that downloads the file directly; the link is valid for 1 hour.

HTTP request

GET  https://public-api.linearb.io/api/v2/audit-log/export

Query parameter

Parameter name Value Description
from
(required)
string
(date, YYYY-MM-DD)
Start of the exported range
to
(required)
string
(date, YYYY-MM-DD)
End of the exported range
format string File format of the export.
Valid values are: "csv" "json"
(Default: "csv")
team_id integer Optional team filter. When omitted, the whole organization is exported

Examples

GET https://public-api.linearb.io/api/v2/audit-log/export?from=2026-06-01&to=2026-06-30&format=csv

Responses

200 - Successful Response

{
  "url": "https://exporter-outputs-prod.s3.amazonaws.com/exports/Linearb-audit-logs-2026-06-30.csv?X-Amz-Signature=..."
}

400 - Bad Request (invalid date range)

401 - Unauthorized

403 - Forbidden

404 - Not Found

405 - Method Not Allowed

409 - Conflict

422 - Validation Error

500 - Internal Server Error

504 - Gateway Timeout