---
title: "Today's events"
method: GET
path: "/api/vega/today"
tags: ["Tracker"]
---

# Today's events

`GET /api/vega/today`

## Request

- Base URL: `https://getmyluna.app`
- URL: `https://getmyluna.app/api/vega/today`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `luna_session`

Shortcut for `GET /api/vega/events` with today's date.

## Response `200`

Success

- EventsResponse
  - `events` Event[], required
    - `id` string, required: 8-hex-char id, unique within the family.
    - `ts` string, required: ISO 8601 local timestamp.
    - `type` 'milk' | 'sleep' | 'wake' | 'nappy' | 'poop' | 'solid' | 'note' | 'supplement' | 'weight' | 'length', required
    - `author` string: Who logged it: the caregiver's first name, or `Family admin` / `Partner` until they've set one (`app`/`agent` for non-human). Never an email or username.
    - `author_name` string, nullable: Same as `author` (display name).
    - `author_is_me` boolean, nullable: Web session/token only: true when the current caregiver logged it.
    - `ml` integer, nullable: `milk` only: millilitres (0 for a breastfeed).
    - `kind` string, nullable: `nappy`: wet|dirty|both|dry. `supplement`: vitd|iron|multivitamin.
    - `foods` string[], nullable: `solid` only: what was eaten.
    - `meal_type` 'meal' | 'snack', nullable: `solid` only.
    - `kg` number, nullable: `weight` only.
    - `cm` number, nullable: `length` only.
    - `ug` integer, nullable: `supplement` only: micrograms.
    - `note` string, nullable
    - `reactions` object[], nullable: Emoji reactions from caregivers: `emoji`, `ts`, `user` (display name), `mine`.

## Other responses

- `401`: Missing or invalid credentials

---

[API](https://skmtc.dev/getmyluna/apis/luna-api.md) · [All operations](https://skmtc.dev/getmyluna/apis/luna-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getmyluna/apis/luna-api/revisions/ef7b359c9648?raw)
