Skip to main content
Use the asteroid-odyssey Python SDK to execute workflows, monitor executions, work with files, and manage profiles from your application.
The SDK provides generated API classes. Instantiate Configuration with your API key, create an ApiClient, then use the API classes directly.

Install

Or with uv:

Client Configuration

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.

API Classes

Import these from asteroid_odyssey.api.*: Models live under asteroid_odyssey.models.*.

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
Send a message to a running workflow, and read its timeline:

Notes

  • Model attributes are snake_case even though the JSON is camelCase. The API field executionResult reads as execution.execution_result in Python.
  • Use inputs for execution variables — dynamic_data is deprecated.
  • execution_activities_get returns a list of AgentsExecutionActivity objects directly.
  • agent_profiles_list accepts an optional organization_id filter.
  • The SDK’s default base URL is https://odyssey.asteroid.ai/agents/v2. Override via Configuration(host=...).

TypeScript SDK

See the TypeScript SDK guide

API

Browse the API landing page and common workflows