Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /tasks | List, paginated |
POST | /tasks | Create (parent optional) |
GET | /tasks/:id | Fetch one |
PATCH | /tasks/:id | Update — including marking complete |
DELETE | /tasks/:id | Delete |
Fields
| Field | Type | Notes |
|---|---|---|
id | uuid | |
parent_object_type | person | company | deal | null | Optional |
parent_object_id | uuid | null | If parent_object_type is set, must exist |
title | string | Required |
description | string | null | |
status | string | Defaults to "open". Free-form |
due_at | datetime | null | ISO 8601 |
completed_at | datetime | null | Set when the task is done |
created_at | datetime |