Via Python SDK
The simplest way to call a Function:invoke_function.py
Run Parameters
Handling Results
Via HTTP API
Call Functions as HTTP endpoints:POST Request
Response
Via cURL
Basic cURL Request
Generate cURL Command
Get the exact cURL command for your Function:Via JavaScript/Node.js
Call from JavaScript applications:With Axios
Streaming Logs
Watch function execution in real-time:Via SDK
Via HTTP (Server-Sent Events)
Async Invocation
Create and Start Separately
For long-running functions:Check Run Status
Stop a Running Function
Webhook Integration
As Webhook Endpoint
Use Functions as webhook receivers:Testing Webhooks
Test webhook locally:Error Handling
SDK Error Handling
Disable Raise on Failure
HTTP Error Handling
Batch Invocations
Run Multiple Functions
batch_invocation.py
Sequential Invocations
Local vs Cloud Execution
Cloud Execution (Default)
- Scalable
- No local resources needed
- Built-in logging
- Session replays available
Local Execution
- Debugging
- Development/testing
- No cloud execution costs
- Decryption key (from Console) - passed when creating Function instance
- Function code accessible locally
Rate Limits
Account Limits
Functions have rate limits based on your plan:- Free: 10 concurrent runs
- Pro: 50 concurrent runs
- Enterprise: Custom limits

