Skip to main content

Methods Reference

The Stepflow Protocol defines methods and notifications for communication between the runtime and component servers. This reference provides a complete overview of all available methods organized by category.

Method Categories

The protocol methods are organized into four main categories:

  1. Initialization - Protocol connection and capability negotiation
  2. Components - Component discovery, introspection, and execution
  3. Blob Storage - Content-addressable data storage and retrieval
  4. Flows - Workflow expression evaluation and context access

Complete Method Reference

MethodDirectionTypeDescription
Initialization
initializeRuntime → ComponentRequestNegotiate protocol version and establish capabilities
initializedRuntime → ComponentNotificationConfirm initialization is complete
Components
components/listRuntime → ComponentRequestDiscover all available components
components/infoRuntime → ComponentRequestGet detailed component information and schema
components/executeRuntime → ComponentRequestExecute a component with input data
Blob Storage
blobs/putComponent → RuntimeRequestStore JSON data and receive content-addressable ID
blobs/getComponent → RuntimeRequestRetrieve data by blob ID
Flows
flows/evaluateComponent → RuntimeRequestEvaluate workflow expressions in runtime context