meal-plan

Generate meal plan content using AI

post/patients/{patient_id}/meal-plans/{meal_plan_id}/generate

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/patients/{patient_id}/meal-plans/{meal_plan_id}/generate
  • Auth
    HTTP bearer

Path parameters

patient_idinteger required
meal_plan_idinteger required

Response

Generation started

linkstring
result_http_body_jsonobject nullable
result_http_statusnumber nullable
task_error_namestring nullable
task_idstring
task_is_errorboolean
task_is_pendingboolean
task_is_successboolean
task_status'pending' | 'success' | 'error'

Example response

{
  "task_id": "1234"
}

Changes

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