lifecycle_API¶
Warning
Experimental API since 2026.10.0. This API is exempt from the EVerest stability guarantees and the deprecation period. Its channels, operations and message payloads may change or be removed in any release without notice until it is promoted to stable. See the policy on experimental components and the experimental feature index.
EVerest API definition for lifecycle control
API for EVerest modules and clients to control the modules lifecycle. Provides facilities to (re)start and stop modules and monitor their status. Experimental. This API is exempt from the EVerest stability guarantees and the deprecation period; channels, operations and message payloads may change without further notice until it is promoted to stable.
Specification: lifecycle_API.yaml · pionix:de:everest:lifecycle_API
Servers¶
default mqtt
default local MQTT
- Host
localhost:1883- Topic prefix
everest_api/1/lifecycle
Operations¶
Client to EVerest¶
send_request_stop_modules¶
- Topic
everest_api/1/lifecycle/m2e/stop_modules- Reply
- Sent to
$message.header#/replyToas receive_reply_stop_modules.
Request EVerest to stop all currently running modules.
Message Stop modules request application/json
Message send_request_stop_modules
Request EVerest to stop all currently running modules.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "arbitrary/reply/topic"
}
}
send_request_get_everest_version¶
- Topic
everest_api/1/lifecycle/m2e/get_everest_version- Reply
- Sent to
$message.header#/replyToas receive_reply_get_everest_version.
Request EVerest to send its version.
Message Get EVerest version request application/json
Message send_request_get_everest_version
Request EVerest to send its version.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "arbitrary/reply/topic"
}
}
send_request_start_modules¶
- Topic
everest_api/1/lifecycle/m2e/start_modules- Reply
- Sent to
$message.header#/replyToas receive_reply_start_modules.
Request EVerest to start modules.
Message Start modules request application/json
Message send_request_start_modules
Request EVerest to start modules.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "arbitrary/reply/topic"
}
}
EVerest to client¶
receive_reply_stop_modules¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_stop_modules.
Message Stop modules reply application/json
Message receive_reply_stop_modules
Reply indicating the result of stopping modules.
Payload
Example
{
"status": "NoModulesToStop"
}
receive_reply_get_everest_version¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_everest_version.
Message EVerest version reply application/json
Message receive_reply_get_everest_version
Reply to get EVerest version request.
Payload
object EVerestVersion
Version designators of the running EVerest instance
Example
{
"name": "everest-core",
"version": "2026.02.0",
"git_version": "a1b2c3d4e5f6g7h8i9j0"
}
receive_reply_start_modules¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_start_modules.
Message Start modules reply application/json
Message receive_reply_start_modules
Reply indicating the result of starting modules.
Payload
object StartModulesResult
Result when requesting to start the modules
Example
{
"status": "Starting"
}
receive_status¶
- Topic
everest_api/1/lifecycle/e2m/status
Published when EVerest execution status changes.
Message Execution status update application/json
Message receive_status
Published when EVerest execution status changes.
Payload
object ExecutionStatusUpdateNotice
Execution status summary. Will include all the optional fields, if everest_running is true. A false everest_running carries no other field: the manager publishes exactly this payload when it shuts down, and registers it as its MQTT last will for the case where it dies before getting that far.
Examples
{
"tstamp": "2026-03-30T17:45:00Z",
"everest_running": true,
"module_status": "NotRunning",
"configuration_api_available": "RW",
"lifecycle_api_ro": false
}
{
"everest_running": false
}
Messages¶
Schemas¶
StopModulesResultEnum string¶
Possible results for stop module requests
- Stopping: Accepted and modules are commanded to stop but haven't done so yet
- NoModulesToStop: Accepted, but a no-op since there were no modules running
- Rejected: Rejected, for some reason (e.g. not allowed)
StoppingNoModulesToStopRejectedStartModulesResultEnum string¶
Possible results for start module requests
- Starting: Accepted and modules are commanded to start but haven't done so yet
- Restarting: Modules are commanded to stop and will be commanded to start once they have stopped
- NoConfigToStart: Accepted, but there is no configuration slot marked to boot from
- Rejected: Rejected, for some reason (e.g. not allowed)
StartingRestartingNoConfigToStartRejectedModuleExecutionStatusEnum string¶
State of the modules
- Running: Modules are running
- NotRunning: Modules are not running
- Starting: Transitional state Stopped->Running
- Stopping: Transitional state Running->Stopped
- FailedToStart: A start/restart was accepted but the configuration failed to validate, so the modules stayed stopped
- RestartTriggered: Indicates immediately if a restart is intended
RunningNotRunningStartingStoppingFailedToStartRestartTriggeredStopModulesResult object¶
Result when requesting to stop the modules
Additional properties allowed.
-
Possible results for stop module requests
- Stopping: Accepted and modules are commanded to stop but haven't done so yet
- NoModulesToStop: Accepted, but a no-op since there were no modules running
- Rejected: Rejected, for some reason (e.g. not allowed)
enumStoppingNoModulesToStopRejected
StartModulesResult object¶
Result when requesting to start the modules
Additional properties allowed.
-
Possible results for start module requests
- Starting: Accepted and modules are commanded to start but haven't done so yet
- Restarting: Modules are commanded to stop and will be commanded to start once they have stopped
- NoConfigToStart: Accepted, but there is no configuration slot marked to boot from
- Rejected: Rejected, for some reason (e.g. not allowed)
enumStartingRestartingNoConfigToStartRejected
ConfigurationApiAvailability string¶
Availability of the configuration_API
- N_A: Not available
- RO: Available, read-only
- RW: Available, read-write
N_ARORWExecutionStatusUpdateNotice object¶
Execution status summary. Will include all the optional fields, if everest_running is true. A false everest_running carries no other field: the manager publishes exactly this payload when it shuts down, and registers it as its MQTT last will for the case where it dies before getting that far.
Additional properties allowed.
-
tstampstring
Timestamp of the status update in RFC3339 format
format date-time -
everest_runningboolean required
-
State of the modules
- Running: Modules are running
- NotRunning: Modules are not running
- Starting: Transitional state Stopped->Running
- Stopping: Transitional state Running->Stopped
- FailedToStart: A start/restart was accepted but the configuration failed to validate, so the modules stayed stopped
- RestartTriggered: Indicates immediately if a restart is intended
enumRunningNotRunningStartingStoppingFailedToStartRestartTriggered -
Availability of the configuration_API
- N_A: Not available
- RO: Available, read-only
- RW: Available, read-write
enumN_ARORW -
lifecycle_api_roboolean
Indicates whether the lifecycle_API itself is in read-only mode
EVerestVersion object¶
Version designators of the running EVerest instance
Additional properties allowed.
-
namestring required
Arbitrary name (like "everest-core")
-
versionstring required
Underlying release (like 2026.02.0)
-
git_versionstring required
Exact git revision