support meal trace

Run an LLM diagnosis over a meal photo queue's pipeline trace

post/support/meal_trace/{meal_photo_queue_id}/diagnose

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/support/meal_trace/{meal_photo_queue_id}/diagnose
  • Auth
    HTTP bearer

Path parameters

meal_photo_queue_idinteger required

Response

successful operation

auditor_urlstring required

Deep-link into the existing Food Auditor queue-item view

confidencenumber float required

Model confidence in the verdict, 0.0 to 1.0

explanationstring required

Short walkthrough of the signals that led to the verdict

langfuse_session_urlstring required

Deep-link to the Langfuse session for this MPQ

probable_failure_reasonstring required

One-sentence description of the likely failure (empty when verdict=ok)

probable_failure_stagestring nullable

Pipeline stage most likely responsible when verdict=failed

suggested_next_stepsstring[] required

Actionable follow-up steps for the support engineer

verdict'ok' | 'failed' | 'ambiguous' required

Top-level LLM verdict on the pipeline run

Changes

No recorded changes to this operation across all 19 revisions of this API.