> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/data-model-fields-and-units/nutrition-meal-timestamp-meaning.md).

# Is the meal timestamp consumed time or logged time?

The meal timestamp **reflects whatever the upstream provider returns**. No nutrition provider reliably separates time consumed from time logged; many return only daily-level nutrition or log/entry time.

When a provider (e.g. MyFitnessPal) returns no per-meal `consumed_at`, Terra anchors the entry to start-of-day with a small millisecond offset to keep ordering. So a `00:00:00.00X` timestamp means **no time was recorded, not a real midnight meal**.

The most dependable signal for meal timing is the `meal_type` field (e.g. `1`=breakfast, `3`=lunch, `5`=dinner, `6`=snack), which you can map to configurable time windows on your side.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/faq/help-topics/data-api-sdk/data-model-fields-and-units/nutrition-meal-timestamp-meaning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
