Core
End a session or terminate an agent runtime
Changed onCloses the calling session. Workers may send X-Runtime-Instance-ID, the per-boot identifier of the calling process. It is ignored unless MULTI_RUNTIME_ENABLED is set. Pooled runtimes remain active unless runtimeShutdown is true. With multi-runtime mode on, the header is required and static runtimes retire independently. With the flag off, static agents are marked offline.
post/close
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/close
- AuthHTTP bearer
Headers
X-Runtime-Instance-IDstring
Identifies the concrete runtime instance (worker process) making the call, as generated at its boot. Required to retire a runtime when multi-runtime mode (MULTI_RUNTIME_ENABLED) is on; ignored otherwise.
Request body
Response
Session closed or runtime retired
Changes
- info
added optional request body
- info
- info
endpoint added
- info