Search audit logs using advanced filters and custom sorting options
Authentication: required
Required API Scope: Workspace Log: Read
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/audit_log/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 1,
"per_page": 50,
"sort": {
"id": "desc"
},
"search": []
}
'{
"items": [
{
"id": 123,
"created_at": "<string>",
"updated_at": "<string>",
"type": "<string>",
"msg": "<string>",
"label": [
"<string>"
],
"data": {},
"obj": {
"type": "<string>",
"id": 123
},
"user": {
"id": 123,
"email": "jsmith@example.com"
},
"workspace": {
"id": 123,
"name": "<string>"
},
"branch": {
"id": 123,
"label": "<string>"
}
}
],
"itemsReceived": 123,
"curPage": 123,
"nextPage": 123,
"prevPage": 123,
"offset": 123,
"perPage": 123,
"itemsTotal": 123,
"pageTotal": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/audit_log/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 1,
"per_page": 50,
"sort": {
"id": "desc"
},
"search": []
}
'{
"items": [
{
"id": 123,
"created_at": "<string>",
"updated_at": "<string>",
"type": "<string>",
"msg": "<string>",
"label": [
"<string>"
],
"data": {},
"obj": {
"type": "<string>",
"id": 123
},
"user": {
"id": 123,
"email": "jsmith@example.com"
},
"workspace": {
"id": 123,
"name": "<string>"
},
"branch": {
"id": 123,
"label": "<string>"
}
}
],
"itemsReceived": 123,
"curPage": 123,
"nextPage": 123,
"prevPage": 123,
"offset": 123,
"perPage": 123,
"itemsTotal": 123,
"pageTotal": 123
}