# Time blocks · what they are

A time block is anything in the person's day: a meeting, an appointment, a meal, a workout, travel, focus time, prep. Add them freely with `xale_plan_block`; put a Task or Habit into the day with `xale_schedule_intention`.

Checked 2026-12-02 · https://xale.app/docs/ai/time-blocks-what-they-are

## Fields

| Field | What it is |
| --- | --- |
| `id`, `title` | The block |
| `startAt` | Epoch milliseconds |
| `durationMin` | Minutes |
| `status` | `planned` when made; it changes when the block is completed |
| `blockType` | What kind of block, below |
| `subtaskId`, `habitInstanceId`, `activityId` | What it's for, by kind. A Task placed in the day names its subtask in `subtaskId`. |
| `transition` | For a transition: `phase` (`lead-in` or `wind-down`), `relatedKind`, `relatedId` |
| `areaIds` | Areas, read only |
| `onGoogleCalendar` | Whether Xale has put it on the person's Google Calendar |

## Kinds

| `blockType` | What it is | Made with |
| --- | --- | --- |
| `quickblock` | Any time in the day, freeform | `xale_plan_block` |
| `transition` | A lead-in before, or a wind-down after, a block or Milestone | `xale_plan_block` |
| `activity` | Time for one of the person's Activities, such as a meal | `xale_plan_block` |
| `subtask` | A Task placed in the day: the block is for one subtask of the Task | `xale_schedule_intention` |
| `habit` | An occurrence of a Habit | `xale_schedule_intention` |
| `other` | An older kind of block, kept with its own title | In Xale |

## Doing things with blocks

| To | Use |
| --- | --- |
| Add a quickblock, transition or Activity | `xale_plan_block` |
| Put a Task or Habit into the day | `xale_schedule_intention` (`kind`, `id`, `startAt`, optional `durationMin`, 5 to 1,440) |
| Move a block | `xale_move_block` with a new `startAt`; it keeps its length, and a Habit's occurrence moves with it |
| Complete a block | `xale_complete_block`: a Habit block completes the occurrence, an Activity block logs the Activity, a subtask block ticks the subtask |

## Not the same as

- A Milestone: a date the person plans towards, not time in the day.
- `calendarEvents`: read-only entries from Google and other calendars. See [Subscribed calendars](https://xale.app/docs/ai/subscribed-calendars-what-you-see).

## Related

- For people: [How do I add a time block in Xale?](https://xale.app/help/time-blocks-add-one)
- For people: [How do I move a time block in Xale?](https://xale.app/help/time-blocks-move-and-resize)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Tools: [xale_schedule_intention](https://xale.app/docs/ai/tools/xale_schedule_intention)
- Tools: [xale_move_block](https://xale.app/docs/ai/tools/xale_move_block)
- Tools: [xale_complete_block](https://xale.app/docs/ai/tools/xale_complete_block)
- Tools: [xale_read_today](https://xale.app/docs/ai/tools/xale_read_today)
- Tools: [xale_read_schedule](https://xale.app/docs/ai/tools/xale_read_schedule)
- Read next: [Quickblocks · and Transitions](https://xale.app/docs/ai/quickblocks-and-transitions)
- Read next: [Time in the day · as a time block](https://xale.app/docs/ai/time-in-the-day-as-a-time-block)
