export_audit_log
Export filtered local audit history to JSONL or CSV for review, including optional time-window, branch, and artifact-type filters; requires Kiln Enterprise.
Instructions
Dump the local reflog to JSONL or CSV.
Needs Kiln Enterprise.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_audit_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The most entries to read from the log, newest first, before the time window is applied. Defaults to ``100000``. Default: 100000. | |
| end_time | No | Leave out entries recorded after this moment, in Unix epoch seconds. Omit it for no upper bound. | |
| branch_id | No | Only export entries for this branch id. Omit it for every branch. | |
| start_time | No | Leave out entries recorded before this moment, in Unix epoch seconds. Omit it for no lower bound. | |
| output_path | No | Where to write the export file. Omitted, Kiln writes it into a new temporary folder of its own and returns that path. | |
| artifact_type | No | Only export entries for this kind of artifact: ``"design"``, ``"preset"`` or ``"feature"``. Omit it for every kind. | |
| output_format | No | ``"jsonl"`` (the default, one JSON object per line) or ``"csv"``. Any other value is refused. Default: "jsonl". |