v6

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

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