/api.
List audit logs
Query parameters
Example request
Example response
policyChecks: whether the SAIF check passed, how many PII items were detected and redacted, and whether the run stayed under the budget threshold.
Get audit stats
pendingReviews counts workflow runs paused with status paused_for_approval.
Example response
Export audit logs as CSV
Content-Type: text/csv and a Content-Disposition attachment header. The filename is agentlab-audit-logs-<timestamp>.csv.
Columns: Log ID, Timestamp, Agent / Source, Action Type, Model, Status, Latency (ms), Tokens Total, Cost ($), SAIF Passed, PII Redactions, and Summary / Message.
Approve a pending action
requires_approval so the paused agent action can proceed. id is the audit log entry ID.
Reject a pending action
requires_approval and cancels the pending agent action.
Errors
All endpoints return HTTP500 with a JSON error field if the request fails, for example:

