# 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.

Checked 2026-12-02 · https://xale.app/docs/ai/activities-plan-and-log-them

## Reading them

`xale_read_categories` 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.

```json
{ "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](https://xale.app/docs/ai/people-and-people-groups).

## Planning one

```json
{ "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_complete_block` 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](https://xale.app/docs/ai/plan-whole-days-with-meals-and-prep).

## Related

- For people: [How do I add an Activity to my day in Xale?](https://xale.app/help/activities-plan-the-good-parts)
- Tools: [xale_read_categories](https://xale.app/docs/ai/tools/xale_read_categories)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Tools: [xale_complete_block](https://xale.app/docs/ai/tools/xale_complete_block)
- Read next: [Plan whole days · with meals and prep](https://xale.app/docs/ai/plan-whole-days-with-meals-and-prep)
