1. Audit Logs
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
      • List all inventories
      • Create Order
      • Get Order
      • Cancel Order
      • Callback Example
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
      • SSE example
      • SOAP example
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
        GET
    • Schemas
      • AuditLog
  1. Audit Logs

Get Audit Log Details

GET
/audit-logs/{id}

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200
application/json
Audit log details
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/audit-logs/' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "id": "81",
    "action": "ORDER_CANCELLED",
    "userId": "95",
    "entityType": "ORDERS",
    "entityId": "019b4139-1234-7abc-8def-123456789abc",
    "details": {},
    "ipAddress": "78.121.136.16",
    "userAgent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/7.1)",
    "timestamp": "1768298437"
}
Modified at 2026-05-13 03:16:01
Previous
Force Cancel Order
Next
AuditLog
Built with