Install and Sign In
In your project directory:beam whoami to check your workspace.
Run a Function in the Cloud
Save this asapp.py:
app.py
{'result': 144}.
Deploy a Web Endpoint
Replaceapp.py with:
app.py
Call the API
Use the URL printed by the deploy command and an API token from Settings → API Keys:{"result":144}. Use beam logs quickstart --follow to stream logs, or beam deployment stop YOUR_DEPLOYMENT_ID to stop it.