Skip to main content

Run a Function

Open Integrate on a ready Function to see code snippets generated from its input schema. Published Functions currently run as asynchronous Batch jobs.

Install and authenticate

Create a deployment key in the app’s API Keys panel. You can persist the same values with sutro login.

Submit rows

The dictionary keys must match the Function’s configured input fields.
batch_run_function() accepts a list of dictionaries, Pandas or Polars DataFrames, local CSV or Parquet files, and HTTPS download URLs.

Run with your own provider

The OpenAI-compatible endpoints section in Integrate provides the optimized system prompt, output schema, and recommended model. Copy these artifacts into your own compatible provider when you need real-time execution. This runs the Function’s exported configuration; it does not invoke the published Function by name or use a synchronous Sutro endpoint.