Backend API
cURL
curl --request GET \ --url https://api.wacht.dev/api-auth/apps/{app_slug}/audit/logs \ --header 'Authorization: <api-key>'
{ "logs": [ { "id": "<string>", "timestamp": "2023-11-07T05:31:56Z", "key_id": "<string>", "key_name": "<string>", "method": "GET", "path": "/api/users", "status_code": 200, "outcome": "success", "duration_ms": 123, "ip_address": "<string>", "user_agent": "<string>", "error_message": "<string>" } ], "cursor": "<string>", "has_more": true }
Retrieve audit logs for API usage with cursor-based pagination
API key authentication (format: Bearer {api_key})
API Auth app name
x <= 1000
Base64-encoded pagination cursor
success
blocked
error
Audit logs
Show child attributes
Next page cursor (base64 encoded)
Was this page helpful?