惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Y
Y Combinator Blog
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
M
MIT News - Artificial intelligence
博客园 - Franky
V
Visual Studio Blog
I
InfoQ
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
博客园 - 司徒正美
L
LangChain Blog

Workflow SDK Documentation

Patterns for Defining Tools Human-in-the-Loop Building Durable AI Agents Queueing User Messages Resumable Streams Sleep, Suspense, and Scheduling Streaming Updates from Tools API Reference Workflow Globals Changelog Resilient run start Cookbook Building a World Deploying Astro Express Fastify Hono Getting Started NestJS Next.js Nitro Nuxt Python SvelteKit Vite corrupted-event-log fetch-in-workflow hook-conflict Errors
stepEntrypoint
2026-06-12 · via Workflow SDK Documentation

The HTTP route handler that executes step functions.

The HTTP route handler that executes step functions. It receives step execution requests from the queue, routes them to the appropriate step function, and reports results back to the workflow run.

Unlike workflowEntrypoint(), this is the handler itself rather than a factory — step bundles register their step functions globally, and the handler routes by step name.

Framework adapters mount this for you at /.well-known/workflow/v1/step — you only need it when wiring workflow support into a custom server environment.

import { stepEntrypoint } from "workflow/runtime";

// Mount on your server, e.g. a fetch-style route:
export const POST = stepEntrypoint; 
const stepEntrypoint: (req: Request) => Promise<Response>;

A fetch-style request handler.

stepEntrypoint exists in workflow 4.x only. In 5.x the combined handler created by workflowEntrypoint() executes steps inline, and the separate step endpoint was removed.