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_abc123",
"action": "workflow.execute",
"actorId": "user_abc123",
"actorName": "Jane Doe",
"actorEmail": "jane@example.com",
"resourceType": "workflow",
"resourceId": "wf_abc123",
"metadata": {},
"createdAt": "2026-01-15T10:30:00Z"
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}