{
  "info": {
    "name": "Dieta.ai — mcp.ai",
    "description": "REST API for the Dieta.ai MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/dieta",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "dietaai_foods",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/foods",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "foods"
          ]
        },
        "description": "Food log + totals (single day or range up to 31 days)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"date\": \"\",\n  \"start_date\": \"\",\n  \"end_date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_goals",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/goals",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "goals"
          ]
        },
        "description": "User nutritional goals",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user"
          ]
        },
        "description": "Basic user profile",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_log",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/log",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "log"
          ]
        },
        "description": "Log a meal via AI (text and/or photo), fire-and-forget",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"prompt\": \"\",\n  \"imageUrl\": \"\",\n  \"context\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_diary",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/diary",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "diary"
          ]
        },
        "description": "Day diary summary (YYYY-MM-DD)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_diary_scheme",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/diary/scheme",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "diary",
            "scheme"
          ]
        },
        "description": "User diary item definitions",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_diary_logs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/diary/logs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "diary",
            "logs"
          ]
        },
        "description": "Historical lines for one track (e.g. glucose)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"diaryId\": \"\",\n  \"start_range_date\": \"\",\n  \"end_range_date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_subscription",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscription",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscription"
          ]
        },
        "description": "User subscription",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_diabetes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/diabetes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "diabetes"
          ]
        },
        "description": "Diabetes settings/profile",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_integration",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/integration",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "integration"
          ]
        },
        "description": "HTTP bridge to a linked wearable's official API (Whoop, Strava, Oura)",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"provider\": \"\",\n  \"path\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_libre_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/integration/libre/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "integration",
            "libre",
            "data"
          ]
        },
        "description": "LibreView (Libre) glucose data",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"body\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_sibionics_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/integration/sibionics/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "integration",
            "sibionics",
            "data"
          ]
        },
        "description": "Sibionics glucose data",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"body\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "dietaai_sibionics_glucose",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/integration/sibionics/glucose",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "integration",
            "sibionics",
            "glucose"
          ]
        },
        "description": "Sibionics device glucose",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}