Meals

Retrieve a meal

Reads one meal and its items.

get/meals/{id}

Request

  • Base URL: https://app.splot.health/v1
  • URL: https://app.splot.health/v1/meals/{id}
  • Auth: HTTP bearer

Response

The meal.

idstring uuid required

The meal's id.

state'planned' | 'logged' required

logged for food eaten, planned for a meal planned ahead.

category'meals' required

The kind of entry in the journal's timeline: meals.

daystring date required

The calendar day it belongs to, in its own timezone.

eatenAtstring date-time required

When it was eaten, or will be for a plan, in UTC.

timezonestring required

The IANA timezone it was eaten in.

namestring nullable required

Its name, such as Breakfast.

notesstring nullable required

Its notes.

plannedVia'app' | 'api' | 'chatgpt' | 'claude' | 'assistant' nullable required

Where it was planned.

loggedVia'app' | 'api' | 'chatgpt' | 'claude' | 'assistant' nullable required

Where it was logged.

createdAtstring date-time required

When it was created.

updatedAtstring date-time required

When it last changed.

Changes

No recorded changes to this operation across all 1 revision of this API.