For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get List of Audit Logs

This API is used to get a list of audit logs with pagination

get
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Query parameters
pagestringOptional

Page

limitstringOptional

Limit

Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
get/core/user/activity/get-auditlog
GET /core/user/activity/get-auditlog HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200

Successful Response

{
  "code": 200,
  "data": {
    "auditlog": [
      {
        "action": "text",
        "created_at": "text",
        "id": "text",
        "ip_address": "text",
        "level": "text",
        "metadata": "text",
        "method_name": "text",
        "service_name": "text",
        "service_type": "text",
        "user": {
          "email": "text",
          "fullname": "text",
          "id": "text",
          "npwp_privacy": "text",
          "organization": {
            "desc": "text",
            "id": "text",
            "name": "text",
            "user_id": "text"
          },
          "organization_id": "text",
          "phone_number": "text",
          "photo": "text",
          "role": {
            "id": 1,
            "name": "text"
          },
          "role_id": 1,
          "status": "text"
        },
        "user_id": "text"
      }
    ],
    "pagination": {
      "count": 1,
      "page": 1,
      "totalpage": 1
    }
  },
  "message": "Success"
}

Last updated