# Job

Type: Job

Schema: [Job](https://sourcey-peertube.pages.dev/api-rest-reference/models/job.md)

- `id` (optional)
  Reference: [id](https://sourcey-peertube.pages.dev/api-rest-reference/models/id.md); Type: id
  
  minimum: 1
  
  Example:
  
  ```json
  42
  ```

- `state` (optional)
  Type: string
  
  enum: ["active","completed","failed","waiting","delayed"]

- `type` (optional)
  Reference: [JobType](https://sourcey-peertube.pages.dev/api-rest-reference/models/jobtype.md); Type: JobType
  
  enum: ["activitypub-cleaner","activitypub-follow","activitypub-http-broadcast","activitypub-http-broadcast-parallel","activitypub-http-fetcher","activitypub-http-unicast","activitypub-refresher","actor-keys","after-video-channel-import","build-automatic-tags","build-object-automatic-tags","create-user-export","email","federate-video","generate-video-storyboard","import-user-archive","manage-video-torrent","move-to-file-system","move-to-object-storage","notify","transcoding-job-builder","video-channel-import","video-file-import","video-files-lifecycle","video-import","video-live-ending","video-redundancy","video-studio-edition","video-transcoding","video-transcription","videos-stats"]

- `data` (optional)
  Type: object
  
  Additional properties: true

- `error` (optional)
  Type: object
  
  Additional properties: true

- `createdAt` (optional)
  Type: string, date-time

- `finishedOn` (optional)
  Type: string, date-time

- `processedOn` (optional)
  Type: string, date-time

- `canCancel` (optional)
  Type: boolean
  
  Whether this job is currently running and supports cancellation