asteroid-odyssey TypeScript SDK to execute agents, 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
Quickstart
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
- Executions
- Files
- Profiles
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-Asteroid-Agents-Api-Keyheader.
Related Resources
Python SDK
See the Python SDK guide
API
Browse the API landing page and common workflows

