API Reference
Complete reference for all Workflow SDK functions and primitives by package.
All the functions and primitives that come with Workflow SDK by package.
Workflow Globals
Global APIs available inside workflow functions, including deterministic APIs, Web Platform APIs, and environment variables.
workflow
Core workflow primitives including steps, context management, streaming, webhooks, and error handling.
workflow/api
API reference for runtime functions from the workflow/api package.
workflow/runtime
Runtime functions for resolving the World instance and the low-level World SDK.
workflow/observability
Utilities to hydrate step I/O, parse display names, and decrypt workflow data.
workflow/next
Next.js integration for Workflow SDK that automatically configures bundling and runtime support.
workflow/nitro
Nitro module for workflow bundling and runtime support.
workflow/nuxt
Nuxt module for workflow bundling and runtime support.
workflow/sveltekit
SvelteKit Vite plugin for workflow bundling and runtime support.
workflow/astro
Astro integration for workflow bundling and runtime support.
workflow/vite
Standalone Vite plugin for workflow bundling and runtime support.
workflow/nest
NestJS module for workflow bundling and runtime support.
workflow/errors
Semantic error types for handling workflow storage backend failures.
@workflow/serde
Serialization symbols for custom class serialization in workflows.
@workflow/ai
Helpers for integrating AI SDK for building AI-powered workflows.
@workflow/vitest
Vitest plugin and test helpers for integration testing workflows in-process.