For the complete documentation index, see llms.txt. This page is also available as Markdown.

REST API

This page provides a reference for the Rumi Agent REST API.

Base URL

http://<host>:<port>/rumi-agent

Default port: 7778

System Discovery

List Systems

GET /v2/systems

Returns all managed systems with their containers, scripts, and configuration.

Parameter
Type
Description

excludeInternal

query (boolean)

Exclude internal systems

List System Names

GET /v2/systems/names

Returns only the names of available systems.

Parameter
Type
Description

excludeInternal

query (boolean)

Exclude internal systems

Script Execution

List Scripts

Returns available scripts for a system.

Parameter
Type
Description

systemName

query (string)

System name (required)

Execute Script

Executes a deployment script.

Field
Type
Description

Body

InvokeSystemScriptRequest

System name, script name, parameters

Response: Execution UUID for tracking.

Cancel Execution

Cancels a running script execution.

Parameter
Type
Description

uuid

query (string)

Execution UUID to cancel

Application Command and Control

List Commands

Returns available application commands across all deployed systems.

Invoke Command

Invokes an application command.

Field
Type
Description

Body

InvokeAppCommandRequest

Command name, target application, parameters

XAR Deployment

Unpack XAR

Uploads and unpacks a XAR file, creating a new system.

System Management

Archive System

Archives a system, moving it to the .archived/ directory.

Restore System

Restores a previously archived system.

Delete System

Permanently removes a system.

Configuration

Get Configuration

Returns the current Agent configuration.

Update Configuration

Updates the Agent configuration.

Health and Information

Ping

Health check endpoint.

Info

Returns Agent version, status, and runtime information.

Data Sources

Returns available data sources (InfluxDB connection details).

OpenAPI Specification

The Agent auto-generates an OpenAPI/Swagger 2.0 specification at build time:

This specification includes complete request/response schemas for all endpoints.

Last updated