FugokuFugoku Docs
Mask

Job Schema

JSON:API schema for background job resources

Job Schema

Attributes

FieldTypeDescription
idstringUnique job identifier
typestringJob type
statusstringCurrent status
attemptsintegerNumber of attempts made
maxAttemptsintegerMaximum retry attempts
errorstring?Error message if failed
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 update timestamp
startedAtstring?ISO 8601 start timestamp
completedAtstring?ISO 8601 completion timestamp

Job Types

TypeDescription
instance.createProvisioning a new instance
instance.deleteTerminating an instance
instance.actionPower action (start/stop/restart)
instance.reinstallReinstalling OS
reconcile-instancesBackground status sync

Status Values

  • pending — Queued, not yet started
  • processing — Currently executing
  • completed — Finished successfully
  • failed — Failed after retries
  • retrying — Retry in progress

Retry Behavior

  • Jobs are retried up to 3 times with exponential backoff
  • Retry delays: ~5s, ~25s, ~125s
  • After max retries, job moves to dead-letter queue
  • Failed jobs can be manually retried via POST /v1/jobs/:id/retry

On this page