.. _everest_api_entrypoint_API: ############### entrypoint\_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 :ref:`policy on experimental components ` and the :ref:`experimental feature index `. .. container:: everest-api overview .. raw:: html
experimentalversion 1.0.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVerest
.. container:: lead EVerest API definition for the API entrypoint interface API for EVerest API clients discovering the EVerest API capabilities. 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. .. raw:: html

Specification: entrypoint_API.yaml · pionix:de:everest:entrypoint_API

send the client publishes, EVerest consumes (2) receive EVerest publishes, the client consumes (3)
Servers ======= .. container:: everest-api .. raw:: html

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest_api
Operations ========== .. container:: everest-api .. raw:: html
Client to EVerest ----------------- .. _everest_api_entrypoint_API_op_send_request_discover: send\_request\_discover ~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
send Request API capability discovery.
Topic
everest_api/discover
Reply
Sent to $message.header#/replyTo as receive_reply_discover.
Allow API clients to discover the available capabilities of the API. Reply will not be monolithic but come in as many messages as there are modules. .. raw:: html
Message Discover API application/json

Message send_request_discover

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

requesting available APIs
{
        "headers": {
          "replyTo": "your/arbitrary/reply/topic"
        }
      }
.. _everest_api_entrypoint_API_op_send_request_query_module: send\_request\_query\_module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
send Request all modules that implement {api_type} to reveal their API parameters.
Topic
everest_api/query-modules/{api_type}
Reply
Sent to $message.header#/replyTo as receive_reply_query_module.
Allow API clients to discover specific types of APIs. Reply will not be monolithic but come in as many messages as there a matching modules. .. raw:: html
Message Query API modules application/json

Message send_request_query_module

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

requesting available APIs of type {api_type}
{
        "headers": {
          "replyTo": "your/arbitrary/reply/topic"
        }
      }
EVerest to client ----------------- .. _everest_api_entrypoint_API_op_receive_reply_discover: receive\_reply\_discover ~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
receive Reply to discover request
Topic
Dynamic: the replyTo address from the request's headers. Answers send_request_discover.
.. raw:: html
Message Reply to request to discover the API application/json

Message receive_reply_discover

Reply to request to discover the API.

Payload

object ApiDiscoverResponse

Type for API discovery results

Definition of ApiDiscoverResponse

Example

Reply from each module is an array of (id, type, <version>) tuples
{
        "apis": [
          {
            "module_id": "module_1",
            "type": "display_message",
            "version": 1
          },
          {
            "module_id": "module_1",
            "type": "session_cost_consumer",
            "version": 1
          }
        ]
      }
.. _everest_api_entrypoint_API_op_receive_reply_query_module: receive\_reply\_query\_module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
receive Reply to query modules request
Topic
Dynamic: the replyTo address from the request's headers. Answers send_request_query_module.
.. raw:: html
Message Reply to request to query module application/json

Message receive_reply_query_module

Reply to request to query module.

Payload

object ApiDiscoverResponse

Type for API discovery results

Definition of ApiDiscoverResponse

Example

Reply from each module is an array of (id, type, <version>) tuples
{
        "apis": [
          {
            "module_id": "dm_1",
            "type": "display_message",
            "version": 1
          }
        ]
      }
.. _everest_api_entrypoint_API_op_receive_ready_beacon: receive\_ready\_beacon ~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
receive Receive Ready Beacon
Topic
everest_api/ready_beacon
Announces that the entrypoint API can be queried, subject to the conditions below. The payload is an empty JSON object and the message is not retained: a client connecting later never receives it and should send a discover request on its own. Clients must be prepared to receive this beacon more than once. Only if every API module is configured with 'allow\_global\_read: true' does the beacon guarantee that discover and query-modules/{api\_type} requests are answered; without that setting it guarantees nothing. The beacon never indicates that the API modules themselves are ready. .. raw:: html
Message Receive ready beacon application/json

Message receive_ready_beacon

A beacon to indicate the entrypoint API is ready to be queried

Payload

Empty object announcing that the entrypoint API is ready to be queried

Additional properties allowed.

Example

Ready Beacon
{}
Messages ======== .. container:: everest-api .. raw:: html
MessageSummaryUsed by
send_request_discover
Discover API
send_request_discover
receive_reply_discover
Reply to request to discover the API

Reply to request to discover the API.

receive_reply_discover
send_request_query_module
Query API modules
send_request_query_module
receive_reply_query_module
Reply to request to query module

Reply to request to query module.

receive_reply_query_module
receive_ready_beacon
Receive ready beacon

A beacon to indicate the entrypoint API is ready to be queried

receive_ready_beacon
Schemas ======= .. container:: everest-api .. raw:: html
ApiDiscoverResponse object
object

Type for API discovery results

Additional properties allowed.

ApiParameter object
object

Parameters for a single API

Additional properties allowed.

CommunicationParameters object
object

Parameters of the communication monitoring between EVerest and client

Additional properties allowed.

  • heartbeat_period_msinteger

    Period of heartbeat messages from EVerest to the client

  • communication_check_period_sinteger

    Maximum expected interval for alive messages from client to EVerest

  • request_reply_timeout_sinteger

    Timeout within which a client must reply to request from EVerest

ReadyBeacon object
object

Empty object announcing that the entrypoint API is ready to be queried

Additional properties allowed.