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:
- Initialization - Protocol connection and capability negotiation
- Components - Component discovery, introspection, and execution
- Blob Storage - Content-addressable data storage and retrieval
- Runs - Workflow run submission and status retrieval
Complete Method Reference
| Method | Direction | Type | Description |
|---|---|---|---|
| Initialization | |||
initialize | Runtime → Component | Request | Negotiate protocol version and establish capabilities |
initialized | Runtime → Component | Notification | Confirm initialization is complete |
| Components | |||
components/list | Runtime → Component | Request | Discover all available components |
components/info | Runtime → Component | Request | Get detailed component information and schema |
components/execute | Runtime → Component | Request | Execute a component with input data |
| Blob Storage | |||
blobs/put | Component → Runtime | Request | Store JSON data and receive content-addressable ID |
blobs/get | Component → Runtime | Request | Retrieve data by blob ID |
| Runs | |||
runs/submit | Component → Runtime | Request | Submit a workflow run for execution |
runs/get | Component → Runtime | Request | Retrieve run status and results |