GET
/
api
/
logs
[
  {
    "id": "log-123",
    "timestamp": "2024-01-21T10:30:00Z",
    "action": "INSERT",
    "table": "posts",
    "record_id": "post-456",
    "user_id": "user-789",
    "details": {
      "title": "New Post",
      "author": "John Doe"
    }
  },
  {
    "id": "log-124",
    "timestamp": "2024-01-21T10:31:00Z",
    "action": "LOGIN",
    "table": null,
    "record_id": null,
    "user_id": "user-789",
    "details": {
      "ip": "192.168.1.1",
      "user_agent": "Mozilla/5.0..."
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:100
offset
integer
default:0
action
enum<string>

Filter by action type

Available options:
INSERT,
UPDATE,
DELETE,
LOGIN
table
string

Response

200 - application/json

List of logs with pagination

The response is of type object[].