Xale's model Days
Activities Plan and log them
Activities are the person's own kinds of time, such as a meal or exercise. You can read them, plan time for one, and log it by completing its block.
Reading them
xale_ returns the person's Activities as activities: each an id, a name and an emoji. A time block names its Activity by that activityId, so this is where you get the id.
{ "activities": [{ "id": "act_lunch", "name": "Lunch", "emoji": "🥗" }] }The list holds up to 200, in the person's order. The same call also returns relationshipTypes and personGroups, the names behind ids on People: see People · and people groups.
Planning one
{ "blockType": "activity", "activityId": "act_lunch", "startAt": 1796385600000, "durationMin": 45, "requestId": "plan-2026-12-04-lunch" }The block takes its title from the Activity. Duration is 5 to 1,440 minutes, 30 if left out. In reads, the block has blockType: "activity" and its activityId.
Logging one
xale_ on an Activity block marks the block done and logs the Activity, as the app does.
The person's list
The person edits their list of Activities in Xale. Pro allows 200 Activities.
Planning whole days with meals, activities and prep is one of the nudges the person chose. See Plan whole days · with meals and prep.
- Checked against main
8aef9b15