Report agent liveness
Changed onRefreshes the calling agent's status. 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 must identify a live runtime of this agent; an absent, unknown, offline, or foreign identifier makes the call a no-op instead of an error, so workers predating the flag keep running. While the API is draining after SIGTERM, every response (this one included) carries X-Swarm-Draining: 1: workers hand off in-flight tasks and take no new work.
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/ping
- AuthHTTP bearer
Headers
Identifies the concrete runtime instance (worker process) making the call, as generated at its boot. Required to refresh a runtime's liveness when multi-runtime mode (MULTI_RUNTIME_ENABLED) is on; ignored otherwise.
Response
Liveness recorded (or accepted as a no-op)
Changes
- info
endpoint added
- info