All in all, your first RESTful API in Python is about piecing together clear endpoints, matching them with the right HTTP ...
def build_benign_graph(args): ...