OpenAPI 3.1.0raw.githubusercontent.com2026-08-20351711.3 MB

d06bca6c3ff5

Core

Mark an agent or runtime offline on shutdown

Retires the calling process. Workers may send X-Runtime-Instance-ID, the per-boot identifier of the calling process. It is ignored unless MULTI_RUNTIME_ENABLED is set. With multi-runtime mode on, the header is required and only that runtime is retired; the agent goes offline once no live runtime remains. With the flag off, the agent is marked offline as before.

post/close

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.

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.

Response

Runtime (and agent, when last) marked offline