Skip to main content

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.

PageWhat you can do
InstallationInstall actionflows, create a client, handle errors
ActionFlowsList and get flow metadata
Action AgentsList agents, start sessions, send messages, stream chat
RunsStart 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 in Actionflow Studio or an agent in Action Agent Studio
  • ActionFlow artifacts and Artifacts (no upload method). A flow can still read files you already stored, through run inputs
  • 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

On this page