Audit Logs

Get Audit Log

GET/api/v1/audit-log
Query parameters
Response

Successful Response

Body
items*Items
totalTotal

Total items

current_pageCurrent Page

Cursor to refetch the current page

current_page_backwardsCurrent Page Backwards

Cursor to refetch the current page starting from the last item

previous_pagePrevious Page

Cursor for the previous page

next_pageNext Page

Cursor for the next page

Request
const response = await fetch('/api/v1/audit-log', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "items": [
    {
      "targetId": "text",
      "targetType": "text",
      "author": "text",
      "interface": "text",
      "action": "text",
      "status": "text",
      "returnMessage": "text",
      "date": "2024-07-15T09:15:05.835Z"
    }
  ],
  "current_page": "text",
  "current_page_backwards": "text",
  "previous_page": "text",
  "next_page": "text"
}

Last updated