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 policy on experimental components and the experimental feature index.

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

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.

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

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

Servers

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest_api

Operations

Client to EVerest

send_request_discover

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.

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

send_request_query_module

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.

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

receive_reply_discover

receive Reply to discover request
Topic
Dynamic: the replyTo address from the request's headers. Answers send_request_discover.
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
    }
  ]
}

receive_reply_query_module

receive Reply to query modules request
Topic
Dynamic: the replyTo address from the request's headers. Answers send_request_query_module.
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
    }
  ]
}

receive_ready_beacon

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.

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

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

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.