---
title: "List days"
method: GET
path: "/days"
tags: ["Days"]
---

# List days

`GET /days`

## Request

- Base URL: `https://app.splot.health/v1`
- URL: `https://app.splot.health/v1/days`
- Auth: HTTP bearer

Lists the days in a range that are marked as fully or partly logged.

## Query parameters

- `from` string, date, required
- `to` string, date, required

## Response `200`

The marked days.

- DayList
  - `days` Day[], required: The days in the range that are marked, oldest first. A day not listed is unmarked.
    - `day` string, date, required: The calendar day.
    - `logging` 'complete' | 'partial', nullable, required: `partial` when some of what was eaten that day isn't logged, so its totals are only a lower bound; `complete` when all of it is; `null` when unmarked.

## Other responses

- `400`: The body or query is invalid; `issues` says which fields. Or the body is not valid JSON.
- `401`: The key is missing, revoked or expired.
- `403`: The key's permission doesn't allow this request, or you haven't yet agreed to how Splot handles health information.
- `429`: Too many requests. Wait for `Retry-After` seconds.

---

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