{"name":"DietXP nutrition data API","status":"ok","dataset_version":"V23+master-V12","api_version":"1.0.0","endpoints":{"legacy":"/exec?type=all|foods|recipes|clinical|version  (Google Apps Script compatible, JSONP via &callback=)","v1":["/v1/health","/v1/meta","/v1/nutrients","/v1/foods","/v1/foods/{code}","/v1/foods/{code}/nutrients?codes=","/v1/search?q=","/v1/rda?age=&sex=&activity=&stage=","/v1/recipe-nutrients","/v1/recipes","/v1/recipes/{id}","/v1/tables","/v1/tables/{sheet}"],"account (cookie session, Shopify identity)":["POST /v1/auth/shopify","POST /v1/auth/logout","GET /v1/me","PUT /v1/me/profile","PUT /v1/me/preferences","GET /v1/me/export","DELETE /v1/me","POST /v1/migrate-browser-data","GET|POST /v1/plans","GET /v1/plans/{id}","POST /v1/plans/{id}/feedback","GET|POST /v1/progress","POST /v1/meal-activity","POST /v1/events","GET /v1/dashboard"],"clinical evidence registry (open; ?scope=review and review-queue need the key)":["/v1/clinical/meta","/v1/clinical/registry","/v1/clinical/guidelines","/v1/clinical/guidelines/{id}","/v1/clinical/recommendations?domain=&guideline=&topic=","/v1/clinical/rules","/v1/clinical/rules/{id}","/v1/clinical/conflicts","/v1/clinical/signals","/v1/clinical/formulas","/v1/clinical/screening-tools","/v1/clinical/review-queue"],"clinical intelligence (cookie session; assess also with the clinical admin key)":["POST /v1/intelligence/assess","POST /v1/intelligence/clinical-state","POST /v1/intelligence/clinical-assessment","POST /v1/intelligence/runs","GET /v1/intelligence/runs","GET /v1/intelligence/runs/{id}","PATCH /v1/intelligence/runs/{id} {follow_up_due}","POST /v1/intelligence/runs/{id}/decision","POST|GET /v1/intelligence/runs/{id}/outcomes","POST /v1/intelligence/runs/{id}/concern","GET /v1/intelligence/runs/{id}/similar","GET /v1/intelligence/cases[/{case_ref}]","GET /v1/intelligence/followups/due"],"DietXP Practice (session + dietitian/admin role)":["GET /v1/practice/me|today|inbox|templates","GET|POST /v1/practice/clients","GET|PUT|DELETE /v1/practice/clients/{id}","POST /v1/practice/clients/{id}/invite|notes|tasks|plans|messages","GET /v1/practice/plans/{id}","POST /v1/practice/plans/{id}/publish|withdraw","GET /v1/practice/tasks","PUT /v1/practice/tasks/{id}","GET /v1/practice/suggestions","POST /v1/practice/suggestions/refresh","PUT /v1/practice/suggestions/{id}","GET|POST /v1/practice/staff (admin)","GET|POST|PUT|DELETE /v1/practice/assist/faq","GET /v1/practice/assist/insights","GET /practice (workspace)"],"DietXP Care (client session)":["GET /v1/care","POST /v1/care/invite/preview|accept","POST /v1/care/stop-sharing","GET|POST /v1/care/messages","POST /v1/care/messages/read"],"DietXP CRM (https://crm.dietxp.com only: its own session cookie)":["GET /v1/crm/me","POST /v1/crm/signin|signout|join","POST /v1/crm/password[/change]","GET /v1/crm/dashboard[?scope=all]","POST /v1/crm/team (admin)","POST /v1/crm/team/{id}/link (admin)","POST /v1/crm/clients/{id}/link (admin)"],"DietXP Intelligence (public website chat, rate-limited)":["GET /v1/assist/config","POST /v1/assist {message, slots?, page?}","POST /v1/assist/lead {name, phone, question?, consent:true}"],"clinical evidence admin (clinical admin key + X-DietXP-Reviewer)":["GET /v1/admin/registry/status","POST /v1/admin/evidence/import","POST /v1/admin/evidence/review","GET /v1/admin/evidence/{id}/source-match","GET /v1/admin/decisions/summary?registry_version=","POST /v1/admin/decisions/signals","GET /v1/admin/followups/summary","POST /v1/admin/rules/create|review|activate|suspend","POST /v1/admin/signals","POST /v1/admin/guidelines/source-check","GET /v1/admin/audit","GET /v1/admin/queue","POST /v1/admin/queue/{id}/decide","POST /v1/admin/notes/candidates/{id}/draft-rule","GET /v1/admin/accounts/{public_id}","POST /v1/admin/accounts/{public_id}/clinical-role","POST /v1/admin/qa/run","GET /v1/admin/qa/metrics","GET|POST /v1/admin/source-check[/run|/promote]","GET /admin (dashboard)"],"partner hub (cookie session + activation; staff add TOTP)":["POST /v1/partners/apply","POST /v1/partners/activate","GET /v1/partners/me","GET /v1/partners/dashboard","GET /v1/partners/customers","GET /v1/partners/orders","GET /v1/partners/payouts","POST /v1/referrals/capture","/v1/partners/staff/*","POST /webhooks/shopify/{topic}"],"partner site sign-in (partner.dietxp.com: Shopify email code, or email + password)":["GET /v1/portal/auth/start?next=","GET /v1/portal/auth/callback","POST /v1/portal/auth/logout","GET /v1/portal/session","POST /v1/portal/auth/password","POST /v1/portal/auth/activate","POST /v1/portal/auth/token","POST /v1/portal/auth/reset","POST /v1/portal/password","POST /v1/portal/sessions/revoke-others"]},"auth":"X-DietXP-Key header (or ?key=) for foods, search and non-planner tables; rda and recipe-nutrients are open","data":"IFCT 2017 (ICMR-NIN), Nutrient Requirements for Indians / RDA-EAR 2020 (ICMR-NIN Expert Group; NIN 2024 web edition), DGI 2024 (ICMR-NIN) — educational use; not medical advice."}