The API endpoints could be better organised and follow RESTful principles. Also, we could add a /docs endpoint to provide the API documentation.