Using the REST API
This guide covers interacting with the Rumi Agent through its REST API.
Overview
The Agent exposes a REST API at http://<host>:<port>/rumi-agent (default port: 7778). The API provides endpoints for system management, script execution, application command-and-control, and monitoring.
System Discovery
List Systems
GET /rumi-agent/v2/systemsReturns all systems known to the embedded Controller, including their containers, scripts, and configuration.
Query parameters:
excludeInternal(boolean) — Exclude internal systems from the response.
List System Names
GET /rumi-agent/v2/systems/namesReturns only the names of available systems (lightweight alternative to the full system listing).
Script Execution
List Scripts
Returns the scripts available for the specified system, including parameter metadata.
Execute a Script
Request body: InvokeSystemScriptRequest containing the system name, script name, and parameter values.
The response includes a UUID for tracking the execution.
Cancel Execution
Cancels a running script execution.
Application Command and Control
List Commands
Returns the application commands available across all deployed systems.
Invoke a Command
Request body: InvokeAppCommandRequest specifying the command, target application, and parameters.
XAR Deployment
Deploy a XAR
Uploads and unpacks a XAR file, creating a new system.
System Management
Archive a System
Archives a system, moving it to the .archived/ directory.
Restore a System
Restores a previously archived system.
Delete a System
Permanently removes a system.
Configuration
Get Configuration
Returns the current Agent configuration.
Update Configuration
Updates the Agent configuration.
Health and Information
Health Check
Returns a simple health check response.
Agent Information
Returns Agent version, status, and runtime information.
Data Sources
Returns the available data sources (InfluxDB connection details).
See the REST API Reference for the complete endpoint specification.
Last updated

