Overview
- Category
- Productivity
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/habit-tracker
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/habit-tracker/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
habit· string · required- Enter habit name.
completed_dates· string · required- Enter completed dates.
through_date· string · required- Enter track through.
{
"type": "object",
"properties": {
"habit": {
"type": "string",
"description": "Enter habit name."
},
"completed_dates": {
"type": "string",
"description": "Enter completed dates."
},
"through_date": {
"type": "string",
"description": "Enter track through."
}
},
"required": [
"habit",
"completed_dates",
"through_date"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
current_streak· number- Current streak produced by the tool.
longest_streak· number- Longest streak produced by the tool.
completed_days· number- Completed days produced by the tool.
calendar· array- Recent calendar produced by the tool.
{
"type": "object",
"properties": {
"current_streak": {
"type": "number",
"description": "Current streak produced by the tool."
},
"longest_streak": {
"type": "number",
"description": "Longest streak produced by the tool."
},
"completed_days": {
"type": "number",
"description": "Completed days produced by the tool."
},
"calendar": {
"type": "array",
"description": "Recent calendar produced by the tool."
}
},
"additionalProperties": false
}
Habit Tracker worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/habit-tracker/execute" \
-H "Content-Type: application/json" \
-d '{
"habit": "Read for 20 minutes",
"completed_dates": "2026-07-10, 2026-07-11, 2026-07-13, 2026-07-14",
"through_date": "2026-07-15"
}'
{
"ok": true,
"data": {
"slug": "habit-tracker",
"result": {
"values": {
"current_streak": 0,
"longest_streak": 2,
"completed_days": 4,
"calendar": [
{
"date": "2026-07-10",
"status": "Complete",
"habit": "Read for 20 minutes"
},
{
"date": "2026-07-11",
"status": "Complete",
"habit": "Read for 20 minutes"
},
{
"date": "2026-07-13",
"status": "Complete",
"habit": "Read for 20 minutes"
},
{
"date": "2026-07-14",
"status": "Complete",
"habit": "Read for 20 minutes"
}
]
},
"display": {
"display": "0"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.