Execute an Agent Spec flow
Agent Spec
Execute an Agent Spec flow
Submit an Agent Spec flow for execution on the configured runtime (WayFlow, PyAgentSpec, or other compatible runtimes).
The flow is posted as Agent Spec JSON. The runtime returns an execution ID for tracking progress via polling or WebSocket.
POST
Execute an Agent Spec flow
Authorizations
JWT token for authentication
Body
application/json
Request to execute an Agent Spec flow on a runtime
Agent Spec Flow — a directed, potentially cyclic graph of nodes. Flows function as "subroutines" encapsulating repeatable processes. They separate control-flow (execution order) from data-flow (data routing).
Initial input values for the flow
Example:
{
"user_query": "What is the weather today?"
}Response
Flow execution started successfully