v23

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0127977.1 KB
OAuth2-specific

Get hours

Returns the total coding hours for the authenticated user. Requires an OAuth2 access token (Bearer header).

get/api/v1/authenticated/hours

Query parameters

start_datestring date

Start date (YYYY-MM-DD)

end_datestring date

End date (YYYY-MM-DD)

Response

successful

start_datestring date
end_datestring date
total_secondsnumber

Example response

{
  "start_date": "2024-03-13",
  "end_date": "2024-03-20",
  "total_seconds": 153000
}