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"}

Changes