Task #1070
openAPI Logs and Audit Logs
0%
Description
Implement a logging and audit flow to track API activity and system changes.
Log every API request and response with an API type:
- Private API
- Public API
Implement audit logging for all relevant database table changes.
Provide Super Admin access to view API logs and audit logs with pagination.
When a user generates an API key, track the usage history .
Allow users to view the API usage history for their respective workspace.
Updated by Vikash Kumar about 1 month ago
- Status changed from New to Ready to QA
Implemented the logging flow for APIs and database tables.
API Logs: Stores all required details, including request payload, response body, execution time, endpoint, HTTP method, user ID, and other relevant information.
Audit Logs: Stores the operation type, old value, new value, updated columns, and other relevant audit information.
Super Admin: Super admins can now view both API logs and audit logs.
User API History: Users can now view the history of API usage.