Python SDK
Sutro directly:
Interfaces
base_url, set_base_url(), and serving_base_url are deprecated. Use
api_url or set_api_url(). Synchronous run_function() is not available.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install the Sutro SDK and choose an interface.
pip install sutro
# or: uv pip install sutro
import sutro as so
Sutro directly:
from sutro import Sutro
client = Sutro(api_url="https://your-deployment.example.com", api_key="sk_...")
| Interface | Purpose |
|---|---|
batch_run_function() | Run a published Function |
infer() | Run a standalone model |
infer_per_model() | Submit the same input to several models |
| Job methods | Monitor, retrieve, download, list, or cancel jobs |
| Remote inputs | Submit large CSV or Parquet objects by HTTPS URL |
base_url, set_base_url(), and serving_base_url are deprecated. Use
api_url or set_api_url(). Synchronous run_function() is not available.