Skip to content

Counts for the nav badges​

GET
/api/tasks/counts

{ total, overdue, today } over the user's active tasks — the same
numbers the Tasks page shows in its top bar, computed with the same
function, for pages that do not load the list.

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Responses​

Task counts

application/json
JSON
{
"data": {
"total": 0,
"overdue": 0,
"today": 0
}
}

Samples​

Powered by VitePress OpenAPI