Export the audit log as CSV or JSON

GET/api/v1/audit/export

Parameters

formatquerystring

csv or json (default: csv)

fromquerystring

Start time filter

toquerystring

End time filter

Responses

200Exported audit data

Request

curl -X GET "https://api.knowledgetree.dev/api/v1/audit/export" \
  -H "Authorization: Bearer $KT_API_TOKEN"

Response

200Exported audit data
Example response not yet documented.