Get Audit Log Details
Retrieve a single audit log entry by ID. Requires an Enterprise subscription and organization admin or owner role.
GET
/api/v1/audit-logs/{id}Authorization
apiKey X-API-Key<token>
Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.
In: header
Path Parameters
id*string
The unique audit log entry identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET \ "https://www.sim.ai/api/v1/audit-logs/{id}" \ -H "X-API-Key: YOUR_API_KEY"{
"data": {
"id": "audit_2c3d4e5f6g",
"workspaceId": "ws_xyz789",
"actorId": "user_abc123",
"actorName": "Jane Smith",
"actorEmail": "jane@example.com",
"action": "workflow.deployed",
"resourceType": "workflow",
"resourceId": "wf_1a2b3c4d5e",
"resourceName": "Customer Support Agent",
"description": "Deployed workflow Customer Support Agent",
"metadata": null,
"createdAt": "2025-06-20T14:15:22Z"
},
"limits": {
"workflowExecutionRateLimit": {
"sync": {
"requestsPerMinute": 60,
"maxBurst": 10,
"remaining": 59,
"resetAt": "2025-06-20T14:16:00Z"
},
"async": {
"requestsPerMinute": 60,
"maxBurst": 10,
"remaining": 59,
"resetAt": "2025-06-20T14:16:00Z"
}
},
"usage": {
"currentPeriodCost": 1.25,
"limit": 50,
"plan": "pro",
"isExceeded": false
}
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}