Lifous

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.

GET/api/v1/goals

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

Answer
{ "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

POST/api/v1/goals

Set a goal

A new goal, active, optionally under one of your visions and with a target day. Plan limits apply to goals still open.

FieldInTypeMeaning
title *bodystringUp to 160 characters.
whybodystringWhy it matters, up to 2,000 characters.
visionIdbodyuuidOne of your visions.
targetDatebodyYYYY-MM-DDWhen you aim to reach it.
Body
{ "title": "Run 10 km", "targetDate": "2027-03-01" }

MCP tool: create_goal