# Get booth runtime **GET /api/booths/{id}/runtime** Allows you to retrieve the runtime of a booth in the given period and the immediate previous period of the same length, and the delta between them. ## Servers - http://localhost:4000: http://localhost:4000 () ## Authentication methods - Api key ## Parameters ### Path parameters - **id** (string) id of the booth ### Query parameters - **unit** (string) Unit of window to get the runtime - **length** (numeric) Number of units in the given units ## Responses ### 200 OK #### Body: application/json (object) - **current_period** (object) - **delta** (object) - **previous_period** (object) ### 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)