//Logging API
Logging & Monitoring API
Endpoints
POST /api/audit-logs
Ingests a log entry from a client application.Input: ~~~json { "org_uuid": "org-uuid-12345", "app_id": 1, "log_message": "User clicked checkout button" } ~~~
Output: ~~~json { "id": 101, "name": "User clicked checkout button", "created": "2023-10-27T10:00:00Z", "org_uuid": "org-uuid-12345" } ~~~
GET /logs
Retrieves logs for an organization.Query Parameters:
org_uuid: The UUID of the organization.
Output: ~~~json { "data": [ { "id": 101, "name": "User clicked checkout button", "created": "2023-10-27T10:00:00Z" }, { "id": 100, "name": "User logged in", "created": "2023-10-27T09:55:00Z" } ] } ~~~