# Example:
# From JavaScript, you can access the defined endpoints using
# getWebAppBackendUrl('first_api_call')

@app.route('/first_api_call')
host_url = request.host_url
url = f"{host_url}projects/{project_key}/analysis/{visualML_key}/ml/p/{analysis_key}/list/results/sessions"