Skip to main content

API Call Log Endpoints

Query the API request audit log for monitoring and debugging.

Base Path​

/api/api-call-log

Endpoints​

List API Calls​

GET /api/api-call-log
Authorization: Bearer {token}

Query Parameters:

ParameterTypeDescription
pagenumberPage number
limitnumberItems per page
methodstringHTTP method (GET,POST)
urlstringURL pattern filter
statusCodenumberResponse status code
startDatedateFrom date
endDatedateTo date

Response:

{
"items": [
{
"id": "uuid",
"method": "GET",
"url": "/api/employee",
"statusCode": 200,
"requestTime": 45,
"ipAddress": "192.168.1.1",
"userId": "uuid",
"createdAt": "2025-01-15T10:30:00Z"
}
],
"total": 1250
}

Get Call by ID​

GET /api/api-call-log/:id
Authorization: Bearer {token}

Delete Old Logs​

DELETE /api/api-call-log/older-than/:days
Authorization: Bearer {token}

Requires admin permissions.

Use Cases​

  • API performance monitoring
  • Security auditing
  • Debugging failed requests
  • Rate limiting analysis