Query the audit log
GET
/v1/audit
const url = 'http://localhost:8080/v1/audit';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/auditPaged (page, size up to 200, default 50) audit view in the { items, page, size, total } envelope. source=data (default) returns row-level changes recorded by Tuxedo.Auditor; filter by table, entityId and actor; with before/after values and changed columns. source=auth returns authentication and MCP events (sign-ins and failures, token refresh and revocation, API-key issue and revocation, role changes, MCP tool calls); filter by eventType and userId. Admin or manager.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”source
string
table
string
entityId
string
actor
string
eventType
string
userId
string format: uuid
page
integer | string format: int32
size
integer | string format: int32
Responses
Section titled “Responses”OK
Media typeapplication/json
Page envelope: { items, page, size, total }.
object
items
required
Array<object>
One row of the combined audit view: data (Tuxedo.Auditor row-level changes) or auth (sign-ins, API-key use, MCP calls).
object
id
required
integer | string format: int64
source
required
string
eventType
required
string
table
required
null | string
entityId
required
null | string
actor
required
null | string
at
required
string format: date-time
changedColumns
required
Array<string>
page
required
integer | string format: int32
size
required
integer | string format: int32
total
required
integer | string format: int32
hasNext
boolean
Examplegenerated
{ "items": [ { "id": 1, "source": "example", "eventType": "example", "table": "example", "entityId": "example", "actor": "example", "at": "2026-04-15T12:00:00Z", "detail": "example", "before": "example", "after": "example", "changedColumns": [ "example" ] } ], "page": 1, "size": 1, "total": 1, "hasNext": true}