pub(crate) async fn handle_host_jobs(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: Json<Value>,
) -> ResponseExpand description
POST /api/v1/host/jobs: what the operator decides in the Jobs tab that
starts agents, relayed by the host with its own token. action is
create (definition: a job definition, a spawn job included),
update (id, fields: an edit, which may raise the job’s caps) or
run_now (id). confirm_no_cost: true confirms a job whose agent’s
provider reports no cost (§5.3).