List Audit Logs
Retrieve audit logs for your organization with cursor-based pagination. Requires an Enterprise subscription and organization admin or owner role.
/api/v1/audit-logsAuthorization
apiKey Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.
In: header
Query Parameters
Filter by action type (e.g., workflow.created, workflow.deployed, member.invited).
Filter by resource type (e.g., workflow, workspace, member).
Filter by a specific resource ID.
The unique identifier of the workspace.
Filter by the user who performed the action. Must be a member of your organization.
Only return logs after this ISO 8601 timestamp (inclusive).
date-timeOnly return logs before this ISO 8601 timestamp (inclusive).
date-timeWhen true, includes audit logs from users who have left the organization.
Maximum number of audit log entries to return per page. Must be between 1 and 100.
1 <= value <= 100Pagination cursor returned from a previous request's nextCursor field.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET \ "https://www.sim.ai/api/v1/audit-logs?workspaceId=YOUR_WORKSPACE_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",
"createdAt": "2026-01-15T10:30:00Z"
}
],
"nextCursor": null
}{
"error": "string",
"details": [
{}
]
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}