pub async fn start_run(
__arg0: State<AppState>,
body: Bytes,
) -> Result<impl IntoResponse, ApiError>Expand description
POST /v1/graph-runs: start a run of a stored graph, and return its id at
once (the same fire-and-return shape POST /v1/runs uses).
Resolution is synchronous and up front: 404 unknown_graph for an unknown
hash, 400 bad_request for out-of-bounds labels, 404 unknown_agent /
404 unknown_tool (naming the node) for a reference the server cannot
supply. Only once everything resolves is the run spawned.