SDK version note
The client mapping shown here assumes synth-ai>=0.11.0.
Mental model
There are two different runtime surfaces:| Surface | Primary use | Core paths |
|---|---|---|
| Hosted containers CRUD | Manage container records and metadata | /v1/containers/* |
| Container pools + rollouts | Run repeatable tasks/rollouts and consume artifacts/usage | /v1/pools/*, /v1/rollouts/* |
/api/managed-agents/anthropic/v1/*
SDK mapping (synth-ai)
| SDK client | Intended use |
|---|---|
client.containers | Hosted container CRUD |
client.pools / client.horizons_private | Pools, tasks, rollouts, artifacts, usage |
client.managed_agents | Anthropic-compatible managed-agents via backend BFF |
Example: list pools
Example: list containers
End-to-end container pools example
Use this sequence for a minimal pool-to-rollout flow.Common rollout errors
| Symptom | Likely cause |
|---|---|
401/403 | invalid/missing SYNTH_API_KEY |
404 pool not found | wrong pool_id or cross-org resource |
404 rollout not found | wrong rollout_id |
409 or capacity-style failure | org/pool concurrent rollout limit reached |
| artifacts endpoint empty | rollout not completed yet |
Common confusion to avoid
client.managed_agentsis not a pools/rollouts API.- Pools/rollouts are not the Anthropic-compatible managed-agents session APIs.
- Keep endpoint families separate in docs, code samples, and production runbooks.