api.md

Created about 12 hours ago

attributes
source_pathreferences/workflows/api.md
source_sha256322efb2052b95557a4735bb3418d584e003ce989ffabc6385dc294d2709603f7
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/workflows/api.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Workflow APIs

Fetch the documentation for the operation before writing code; use its current signatures and serialization rules.

Task Documentation
Implement steps; create, batch, inspect, pause, resume, restart, or terminate instances; check parameter and return types Workers API
Access a step's name, occurrence, retry attempt, and resolved configuration Step context
Configure retries, backoff, timeouts, non-retryable failures, or relative/absolute sleeps Sleeping and retrying
Pass initial parameters, wait for an external event, or send an event to an instance Events and parameters
Start instances from a Worker or another Workflow, or schedule execution Trigger Workflows
Trigger and manage instances from the command line Wrangler commands
Manage Workflows over HTTP, including authentication and request bodies Workflows REST API

Decide whether input is available at creation or must arrive later as an event. Starting a child instance does not establish that it has completed; choose how the parent will observe completion. Check current instance ID retention and creation semantics before designing duplicate-trigger handling.

See configuration.md and patterns.md.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.