client.workflows is the entry point for listing and fetching workflows. Start workflow runs with root client.run().
List
limit, offset, search (substring), name (exact slug), kind ('workflow' | 'block').
Get
version is the current published release tag (e.g. "1.2.4"), or null if no version is published yet.
Trigger a run
Three ways to run, depending on how long you want to wait.Async (returns immediately)
client.runs.get.
Sync (server holds up to 60s)
waitForCompletion seconds, status/output are populated. Otherwise the response includes runId.
Long-running (client polls)
pollIntervalMs and timeoutMs. See Executions.
Pin a version
Override step output
List versions
File inputs
See File inputs. The TL;DR: pass aFile, Blob, or { content, filename, mimeType } and the SDK uploads via multipart/form-data automatically.