---
title: "Generate an audit log report"
method: POST
path: "/v1/workspaces/{workspaceId}/audit-log"
tags: ["Audit Log Report"]
---

# Generate an audit log report

`POST /v1/workspaces/{workspaceId}/audit-log`

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.

## Request body

- AuditLogGetRequestV1
  - `actions` string[], required — Represents a set of audit log actions.
  - `authors` Authors, required — Represents the audit log author filter.
    - `authorIds` string[], required — Represents a set of author user ids. Include "SYSTEM" in this set to retrieve system related audit logs.
    - `contains` 'CONTAINS' | 'DOES_NOT_CONTAIN', required
  - `end` string, required — Represents an end date in the yyyy-MM-ddThh:mm:ssZ format.
  - `page` integer — Page number.
  - `page-size` integer — Page size.
  - `start` string, required — Represents a start date in the yyyy-MM-ddThh:mm:ssZ format.

## Response `200`

OK

- PageableV1ListAuditLogDtoV1
  - `response` AuditLogDtoV1[]
    - `action` 'CREATE_TIME_PERSONAL_TIMER' | 'CREATE_TIME_PERSONAL_MANUAL' | 'CREATE_TIME_IMPORT' | 'CREATE_TIME_KIOSK' | 'CREATE_TIME_FOR_OTHER' | 'RESTORE_TIME' | 'RESTORE_TIME_FOR_OTHER' | 'UPDATE_TIME_PERSONAL' | 'UPDATE_TIME_FOR_OTHER' | 'DELETE_TIME_PERSONAL' | 'DELETE_TIME_FOR_OTHER' | 'CREATE_PROJECT' | 'CREATE_PROJECT_IMPORT' | 'CREATE_PROJECT_QUICKBOOKS' | 'UPDATE_PROJECT' | 'DELETE_PROJECT' | 'CREATE_TASK' | 'CREATE_TASK_IMPORT' | 'UPDATE_TASK' | 'DELETE_TASK' | 'CREATE_CLIENT' | 'CREATE_CLIENT_IMPORT' | 'CREATE_CLIENT_QUICKBOOKS' | 'UPDATE_CLIENT' | 'DELETE_CLIENT' | 'CREATE_TAG' | 'CREATE_TAG_IMPORT' | 'UPDATE_TAG' | 'DELETE_TAG' | 'CREATE_EXPENSE' | 'CREATE_EXPENSE_FOR_OTHER' | 'RESTORE_EXPENSE' | 'RESTORE_EXPENSE_FOR_OTHER' | 'UPDATE_EXPENSE' | 'UPDATE_EXPENSE_FOR_OTHER' | 'DELETE_EXPENSE' | 'DELETE_EXPENSE_FOR_OTHER' — Represents an audit log action type.
    - `content` string — Represents the current value of the modified entity
    - `previousContent` string — Represents the previous value of the modified entity.
    - `timestamp` string — Represents a timestamp of when the audit log entry was created.
    - `userEmail` string — Represents the email address of the user.
    - `userId` string — Represents a user identifier across the system.
    - `userName` string — Represents the name of the user.
    - `workspaceId` string — Represents a workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
