[feat] Add graph API endpoint