Get time spents
Retrieve all time spent records. Supports filtering via query parameters and pagination. Supports date range filtering with start_date and end_date.
Query parameters
-
Page number for pagination
-
Number of results per page
-
Whether to include relations
-
Start date for date range filter
-
End date for date range filter
GET
/data/time-spents/
curl \
--request GET 'http://api.example.com/data/time-spents/' \
--header "Authorization: $API_KEY"
Response examples (200)
Array-1
[
{}
]
{
"data": [
{}
],
"total": 100,
"nb_pages": 2,
"limit": 50,
"offset": 0,
"page": 1
}