Skip to main content

handle_shutdown_status

Function handle_shutdown_status 

Source
pub(crate) async fn handle_shutdown_status(
    __arg0: State<AppState>,
    __arg1: Path<String>,
) -> impl IntoResponse
Expand description

GET /api/v1/agent/shutdown/{request_id} — where a shutdown waiting on the user’s override stands (§6.5): pending, kept_by_user, proceeding, shut_down, superseded or failed.