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.

experimentalversion 1.0.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVerestLifecycle

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

send the client publishes, EVerest consumes (3) receive EVerest publishes, the client consumes (4)

Servers

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest_api/1/lifecycle

Operations

Client to EVerest

send_request_stop_modules

send Stop modules
Topic
everest_api/1/lifecycle/m2e/stop_modules
Reply
Sent to $message.header#/replyTo as 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

object
  • 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

Request to stop all modules
{
  "headers": {
    "replyTo": "arbitrary/reply/topic"
  }
}

send_request_get_everest_version

send Request EVerest version
Topic
everest_api/1/lifecycle/m2e/get_everest_version
Reply
Sent to $message.header#/replyTo as 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

object
  • 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

Request EVerest version
{
  "headers": {
    "replyTo": "arbitrary/reply/topic"
  }
}

send_request_start_modules

send Start modules
Topic
everest_api/1/lifecycle/m2e/start_modules
Reply
Sent to $message.header#/replyTo as 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

object
  • 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

Request to start modules
{
  "headers": {
    "replyTo": "arbitrary/reply/topic"
  }
}

EVerest to client

receive_reply_stop_modules

receive Reply to stop_modules request
Topic
Dynamic: the replyTo address 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

object StopModulesResult

Result when requesting to stop the modules

Definition of StopModulesResult

Example

No modules to stop
{
  "status": "NoModulesToStop"
}

receive_reply_get_everest_version

receive Reply to get EVerest version request
Topic
Dynamic: the replyTo address 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

Definition of EVerestVersion

Example

EVerest Version report
{
  "name": "everest-core",
  "version": "2026.02.0",
  "git_version": "a1b2c3d4e5f6g7h8i9j0"
}

receive_reply_start_modules

receive Reply to start_modules request
Topic
Dynamic: the replyTo address 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

Definition of StartModulesResult

Example

Modules starting
{
  "status": "Starting"
}

receive_status

receive Receive execution 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.

Definition of ExecutionStatusUpdateNotice

Examples

Modules stopped, configuration service available
{
  "tstamp": "2026-03-30T17:45:00Z",
  "everest_running": true,
  "module_status": "NotRunning",
  "configuration_api_available": "RW",
  "lifecycle_api_ro": false
}
EVerest not running (manager shutdown, or last will on an unclean death)
{
  "everest_running": false
}

Messages

MessageSummaryUsed by
send_request_stop_modules
Stop modules request

Request EVerest to stop all currently running modules.

send_request_stop_modules
receive_reply_stop_modules
Stop modules reply

Reply indicating the result of stopping modules.

receive_reply_stop_modules
send_request_get_everest_version
Get EVerest version request

Request EVerest to send its version.

send_request_get_everest_version
receive_reply_get_everest_version
EVerest version reply

Reply to get EVerest version request.

receive_reply_get_everest_version
send_request_start_modules
Start modules request

Request EVerest to start modules.

send_request_start_modules
receive_reply_start_modules
Start modules reply

Reply indicating the result of starting modules.

receive_reply_start_modules
receive_status
Execution status update

Published when EVerest execution status changes.

receive_status

Schemas

StopModulesResultEnum string
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)
enumStoppingNoModulesToStopRejected
StartModulesResultEnum string
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)
enumStartingRestartingNoConfigToStartRejected
ModuleExecutionStatusEnum string
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
enumRunningNotRunningStartingStoppingFailedToStartRestartTriggered
StopModulesResult object
object

Result when requesting to stop the modules

Additional properties allowed.

  • statusstring requiredStopModulesResultEnum

    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
object

Result when requesting to start the modules

Additional properties allowed.

  • statusstring requiredStartModulesResultEnum

    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
string

Availability of the configuration_API

  • N_A: Not available
  • RO: Available, read-only
  • RW: Available, read-write
enumN_ARORW
ExecutionStatusUpdateNotice object
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
  • module_statusstring ModuleExecutionStatusEnum

    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
  • configuration_api_availablestring ConfigurationApiAvailability

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