Goals
The goals endpoints of the Lifous API.
A * marks a required field. Path fields go in the address, query fields after a ?, body fields in JSON.
/api/v1/goalsYour visions and goals
Your visions (with their area of life) and your goals, each with its vision, why, target day, status and how many of its steps are done. A step is a task linked to the goal.
{ "visions": [ { "id": "…", "title": "A healthy body", "area": "physical", "archived": false } ], "goals": [ { "id": "…", "visionId": "…", "title": "Run 10 km", "status": "active", "targetDate": "2027-03-01", "steps": { "done": 2, "total": 5 }, … } ] }MCP tool: list_goals
/api/v1/goalsSet a goal
A new goal, active, optionally under one of your visions and with a target day. Plan limits apply to goals still open.
| Field | In | Type | Meaning |
|---|---|---|---|
| title * | body | string | Up to 160 characters. |
| why | body | string | Why it matters, up to 2,000 characters. |
| visionId | body | uuid | One of your visions. |
| targetDate | body | YYYY-MM-DD | When you aim to reach it. |
{ "title": "Run 10 km", "targetDate": "2027-03-01" }MCP tool: create_goal