Get Audit Logs Export

posthttps://app.fossa.com/api/audit_logs/export

Request an export of audit logs. The export will be generated asynchronously and a link to download the CSV file will be emailed to you.

Request body (required) · application/json

startDatestring <date>required

Filter audit logs to those created on or after this date (YYYY-MM-DD format)

endDatestring <date>required

Filter audit logs to those created on or before this date (YYYY-MM-DD format)

actingUserIdsstring[]

Filter audit logs to those created by the given user IDs

actionsstring[]

Filter audit logs to those with the given actions

topicsstring[]

Filter audit logs to those with the given topics

topicActionsstring[]

Filter audit logs to those with the given topic and action

Responses

201The export task was created successfully. When the job is complete, you will receive an email with a link to download the CSV file.
taskobject
taskstring

Identifier for the task

jobTokenstring

Token used to track the export job

targetstring

Email address where the export link will be sent

400Bad Request
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Server Error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

POST https://app.fossa.com/api/audit_logs/export
curl --request POST \  --url 'https://app.fossa.com/api/audit_logs/export' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN' \  --header 'content-type: application/json' \  --data '{  "startDate": "2026-01-01",  "endDate": "2026-01-01"}'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.
application/json