cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/audit/logging/getAuditLogs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "action": "<string>", "actorUserId": "<string>", "limit": 123, "resourceId": "<string>", "resourceType": "<string>" } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "logs": [ { "_creationTime": 123, "_id": "<string>", "action": "<string>", "metadata": {}, "resourceId": "<string>", "resourceType": "<string>", "timestamp": 123, "actorUserId": "<string>" } ] } }
Public query to list audit logs by resource
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Show child attributes
Convex executed your request and returned a result
success
error