# TimeLog

Type: object

Schema: [TimeLog](https://sourcey-gauzy.pages.dev/api-reference/models/timelog/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `startedAt` (required)
  Type: timestamptz

- `stoppedAt` (required)
  Type: timestamptz

- `logType` (required)
  Type: string
  
  default: "TRACKED"
  
  enum: ["TRACKED","MANUAL","IDLE","RESUMED"]

- `source` (required)
  Type: string
  
  default: "BROWSER"
  
  enum: ["MOBILE","BROWSER","DESKTOP","BROWSER_EXTENSION","HUBSTAFF","UPWORK","TEAMS","CLOC"]

- `description` (optional)
  Type: string

- `reason` (optional)
  Type: string

- `isBillable` (optional)
  Type: boolean
  
  default: false

- `isRunning` (optional)
  Type: boolean

- `version` (optional)
  Type: string
  
  Example:
  
  ```json
  "1.0.1"
  ```

- `employeeId` (required)
  Type: string

- `timesheetId` (optional)
  Type: string

- `projectId` (optional)
  Type: string

- `taskId` (optional)
  Type: string

- `organizationContactId` (optional)
  Type: string

- `organizationTeamId` (optional)
  Type: string