Skip to content
Hayonix

API reference · Schema

ServerlessWorkerStartStep

  • stepstringrequired

    Which step: pulling the image, making one model present, or starting the container

    One ofimagemodelcontainer

  • statestringrequired

    image: pulling | pulled | present (already on the host) | failed; model: cached (found in the host cache, nothing downloaded) | downloading | downloaded | failed; container: started

  • atstring (date-time) | nullrequired

    When the step reached its state; null for an image already on the host

  • repositorystring

    Model steps: the repository

  • bytes_totalinteger

    Model steps: the size of the model in bytes

  • bytes_doneinteger

    Model steps: bytes present and verified so far

  • bytes_downloadedinteger

    Model steps: bytes downloaded for this start (0 when the host already had the model)

  • secondsinteger | null

    Downloaded model steps: how long the download took, in seconds

Example
{
  "step": "image",
  "state": "string",
  "at": "2026-01-01T00:00:00.000Z",
  "repository": "string",
  "bytes_total": 1,
  "bytes_done": 1,
  "bytes_downloaded": 1,
  "seconds": 1
}