REST Command Invocation service (RCI) is a standard Kaa platform service that exposes REST APIs for invoking commands on endpoints.


RCI supports a number of interfaces to perform its functional role. The key supported interfaces are summarized in the following diagram.

RCI interfaces diagram

For inter-service communication, Kaa services mainly use REST APIs and messaging protocols that run over NATS messaging system.

Command Invocation Protocol (12/CIP)

RCI implements Command Invocation Protocol (12/CIP) for forwarding commands to endpoints and consuming invocation results. It acts as Command invocation caller and listens to results from Command invocation agent.

Command invocation flow

The overall command invocation sequence diagram can be illustrated as follows:

RCI sequence diagram