# Get all types **GET /types** Get all energy generator types, optionally filtered by renewable status ## Servers - http://localhost/api/v1: http://localhost/api/v1 () - https://localhost/api/v1: https://localhost/api/v1 () ## Parameters ### Query parameters - **renewable** (boolean) Filter by renewable status (true/false) ## Responses ### 200 OK #### Body: application/json (array[object]) - **createdAt** (string) - **description** (string) - **id** (string) - **isRenewable** (boolean) - **name** (string) - **updatedAt** (string) ### 400 Bad Request #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) ### 500 Internal Server Error #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)