GET /scan/image/:jobId

Poll an image scan job until it completes.

Path parameters

  • Name
    jobId
    Type
    string
    Description

    The scan job identifier returned by POST /scan/image.

Example response (processing)

{ "status": "processing" }

Example response (complete)

{
  "status": "complete",
  "result": {
    "items": [
      {
        "name": "Chicken bowl",
        "serving": { "amount": 1, "unit": "bowl" },
        "macros": { "calories": 540, "protein": 42, "carbs": 55, "fat": 18 }
      }
    ]
  }
}

Was this page helpful?