---
title: API Reference
description: Complete reference for all Workflow SDK functions and primitives by package.
docs_index: /llms.txt
lastUpdated: 2026-10-13
type: overview
summary: Browse all available functions and primitives organized by package.
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

All the functions and primitives that come with Workflow SDK by package.

#### [Workflow Globals](/docs/api-reference/workflow-globals)

Global APIs available inside workflow functions, including deterministic APIs, Web Platform APIs, and environment variables.

#### [workflow](/docs/api-reference/workflow)

Core workflow primitives including steps, context management, streaming, webhooks, and error handling.

#### [workflow/api](/docs/api-reference/workflow-api)

API reference for runtime functions from the `workflow/api` package.

#### [workflow/runtime](/docs/api-reference/workflow-runtime)

Runtime functions for resolving the World instance and the low-level World SDK, including storage and analytics queries.

#### [workflow/observability](/docs/api-reference/workflow-observability)

Utilities to hydrate step I/O, parse display names, and decrypt workflow data.

#### [workflow/next](/docs/api-reference/workflow-next)

Next.js integration for Workflow SDK that automatically configures bundling and runtime support.

#### [workflow/nitro](/docs/api-reference/workflow-nitro)

Nitro module for workflow bundling and runtime support.

#### [workflow/nuxt](/docs/api-reference/workflow-nuxt)

Nuxt module for workflow bundling and runtime support.

#### [workflow/sveltekit](/docs/api-reference/workflow-sveltekit)

SvelteKit Vite plugin for workflow bundling and runtime support.

#### [workflow/astro](/docs/api-reference/workflow-astro)

Astro integration for workflow bundling and runtime support.

#### [workflow/vite](/docs/api-reference/workflow-vite)

Standalone Vite plugin for workflow bundling and runtime support.

#### [workflow/nest](/docs/api-reference/workflow-nest)

NestJS module for workflow bundling and runtime support.

#### [workflow/errors](/docs/api-reference/workflow-errors)

Semantic error types for handling workflow storage backend failures.

#### [@workflow/serde](/docs/api-reference/workflow-serde)

Serialization symbols for custom class serialization in workflows.

#### [@workflow/ai](/docs/api-reference/workflow-ai)

Deprecated AI integration APIs kept for existing applications. Use `@ai-sdk/workflow` for new agents.

#### [@workflow/vitest](/docs/api-reference/vitest)

Vitest plugin and test helpers for integration testing workflows in-process.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)