asteroid-odyssey TypeScript SDK to execute workflows, monitor executions, work with files, and manage profiles from your application.
The SDK exports a
client singleton and individual endpoint functions. Configure the client once with your API key, then call the functions directly.Install
Run a workflow
The end-to-end example — execute, poll to a terminal status, read the result — lives on Deploy a workflow. This page covers what is specific to the SDK.Client Configuration
All SDK functions share the singletonclient. Configure it once at startup:
client override if you need per-request auth:
Common Functions
The most frequently used functions are listed below. See the API reference for the full set.Common Patterns
Execute and poll
The full run loop, including the statuses that wait for a person
Every execute field
Inputs, profiles, files, metadata, and version pinning
Files
Stage files before an execution and download what the workflow produced
Profiles
Credentials, cookies, proxies, and pools
Notes
- Use
inputsfor execution variables —dynamicDatais deprecated. executionActivitiesGetreturnsArray<AgentsExecutionActivity>directly, not a wrapped object.- All functions return
{ data, error }. Checkerrorbefore usingdata. - File list responses include a
downloadUrlper file. Fetch it with your API key in theX-Api-Keyheader.
Related Resources
Python SDK
See the Python SDK guide
API
Browse the API landing page and common workflows

