TypeScript SDK
Official actionflows TypeScript client. Install it, then discover ActionFlows and Action Agents, start runs, and chat from your backend.
TypeScript SDK
The actionflows package is a typed client over the REST API. Design graphs and agents in the app. Use the SDK from a server to discover them, run them, and chat.
Start with Installation, then open the page for the resource you need.
| Page | What you can do |
|---|---|
| Installation | Install actionflows, create a client, handle errors |
| ActionFlows | List and get flow metadata |
| Action Agents | List agents, start sessions, send messages, stream chat |
| Runs | Start a run, poll or stream it, list history, cancel, inspect the queue |
Not in the SDK
These stay in the ActionFlows app (or raw HTTP). The client has no methods for them:
- Creating or editing a flow graph or an agent in Studio
- ActionFlow artifacts and Artifacts (no
uploadmethod). A flow can still read files you already stored, through runinputs - Knowledge Base collections
- HITL Approvals inbox
- Direct model calls (Claude, GPT, and others). Put an AI node on an ActionFlow, then run that flow
- Inbound webhooks. Those are HTTP URLs, not SDK methods