# Get time spents **GET /data/persons/{person_id}/time-spents** Get all time spents for the given person. Optionally can accept date range parameters. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters #### Path parameters - **person_id** (string(uuid)) Person unique identifier #### Query parameters - **start_date** (string(date)) Start date for date range filter - **end_date** (string(date)) End date for date range filter ## Responses ### 200: All time spents for the given person #### Body Parameters: application/json (array[object]) - **id** (string(uuid)) Time spent unique identifier - **person_id** (string(uuid)) Person unique identifier - **duration** (number(float)) Time spent duration in hours - **date** (string(date)) Date of time spent entry ### 400: Invalid date range parameters [Powered by Bump.sh](https://bump.sh)