latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-14485121706.3 KB

d52fab9681ed

Shutdown Server

Initiate graceful server shutdown.

Accepts an optional JSON body {"reason": "..."}. Schedules a SIGTERM to the current process shortly after the response is sent so that the Uvicorn server exits cleanly.

post/shutdown

Response

Successful Response

{"stackTrail":"paths:/shutdown:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}