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/next
Next.js integration for Workflow SDK that automatically configures 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.