---
title: "Recalculate the REMAINING live day for one of the traveller's eight stated intents (tired, raining, woke_late, broke_tod"
method: POST
path: "/actions/replan_with_intent"
tags: ["live"]
---

# Recalculate the REMAINING live day for one of the traveller's eight stated intents (tired, raining, woke_late, broke_tod

`POST /actions/replan_with_intent`

## Request

- Base URL: `https://findinghorizons.ca/api/v1`
- URL: `https://findinghorizons.ca/api/v1/actions/replan_with_intent`
- Auth: OAuth 2 (authorization code, authorization URL `https://findinghorizons.ca/api/mcp/authorize`, token URL `https://findinghorizons.ca/api/mcp/oauth/token`, scopes: `trips:read`)

Recalculate the REMAINING live day for one of the traveller's eight stated intents (tired, raining, woke_late, broke_today, something_crazy, slower_afternoon, missed_transport, no_more_museums). Deterministic — the app's own rules, no AI, no spend. Returns the plan delta with per-op reasons; it writes nothing. missed_transport requires delayMinutes.

## Request body

- object
  - `tripId` string, required: Trip id from get_my_trips
  - `intent` 'tired' | 'raining' | 'woke_late' | 'broke_today' | 'something_crazy' | 'slower_afternoon' | 'missed_transport' | 'no_more_museums', required: One of the eight intents.
  - `nowMs` number, required: Epoch ms of the traveller's NOW.
  - `delayMinutes` number: Required for missed_transport.
  - `today` string: The traveller's own date, YYYY-MM-DD, where the action needs one

## Response `200`

Done — { ok, api, action, result, card, operation? }

## Other responses

- `400`: Bad body / missing Idempotency-Key
- `401`: No or invalid token
- `403`: Scope not granted
- `422`: The action said no
- `429`: Rate limited

---

[API](https://skmtc.dev/findinghorizons/apis/finding-horizons-api.md) · [All operations](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/llms.txt) · [OpenAPI document](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/revisions/e347f6070173?raw)
