v1

latestOpenAPI 3.0.12026-08-041753011.2 MB
Audit Log Report

Generate an audit log report

post/v1/workspaces/{workspaceId}/audit-log

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303

Represents a workspace identifier across the system.

Request body

actionsstring[] required

Represents a set of audit log actions.

endstring required

Represents an end date in the yyyy-MM-ddThh:mm:ssZ format.

pageinteger

Page number.

page-sizeinteger

Page size.

startstring required

Represents a start date in the yyyy-MM-ddThh:mm:ssZ format.

Example request

{
  "actions": [
    "CREATE_TIME_PERSONAL_MANUAL",
    "CREATE_TIME_PERSONAL_TIMER",
    "CREATE_PROJECT"
  ],
  "authors": {
    "authorIds": [
      "45b687e29ae1f428e7ebe123",
      "67s687e29ae1f428e7ebe678",
      "SYSTEM"
    ],
    "contains": "CONTAINS"
  },
  "end": "2025-05-01T23:59:59Z",
  "page": 1,
  "page-size": 20,
  "start": "2025-05-01T00:00:00Z"
}

Response

OK

Example response

{
  "response": [
    {
      "action": "CREATE_PROJECT",
      "content": "{\"projectName\":\"New Project\",\"client\":\"\",\"archived\":false,\"visibility\":true,\"members\":[\"John Doe\"],\"billableByDefault\":true,\"note\":\"\",\"billableRate\":0,\"costRate\":null,\"currency\":\"USD\",\"activeEstimate\":\"NONE\",\"estimateType\":null,\"estimate\":null,\"recurringEstimate\":false,\"interval\":null,\"month\":null,\"dayOfWeek\":null,\"dayOfMonth\":null,\"hour\":null}",
      "previousContent": "null",
      "timestamp": "2025-05-01T11:15:00Z",
      "userEmail": "johndoe@example.com",
      "userId": "45b687e29ae1f428e7ebe123",
      "userName": "John Doe",
      "workspaceId": "64a687e29ae1f428e7ebe303"
    }
  ]
}