# Get modes duration **GET /api/booths/{id}/duration_by_mode** Allows you to retrieve the list of modes and their duration for a given booth in a given date range. ## Servers - http://localhost:4000: http://localhost:4000 () ## Authentication methods - Api key ## Parameters ### Path parameters - **id** (string) id of the booth ### Query parameters - **from** (string) an ISO8601 formatted date to query data from - **to** (string) an ISO8601 formatted date to query data until ## Responses ### 200 OK #### Body: application/json (object) - **data** (array[object]) List of durations per booth mode ### 400 Bad request #### Body: application/json (object) - **error** (string) Human readable version of the error status code ### 401 Unauthorized #### Body: application/json (object) - **error** (string) Human readable version of the error status code [Powered by Bump.sh](https://bump.sh)