---
title: API Reference
description: Complete reference for all Workflow SDK functions and primitives by package.
type: overview
summary: Browse all available functions and primitives organized by package.
---

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

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