Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ohemilyy/universe/llms.txt

Use this file to discover all available pages before exploring further.

Every command available in the Universe interactive console is also available over HTTP through the POST /api/commands/execute endpoint. The Master node captures the command output and returns it as a JSON array of strings, making it easy to integrate cluster management into external tooling.

POST /api/commands/execute

Executes a single console command and returns all output lines produced by that command. Request body
command
string
required
The full command string, exactly as you would type it in the interactive console. For example: "instance list" or "instance create default".
Response — 200 OK
command
string
required
The command string that was executed, echoed back for reference.
output
string[]
required
Ordered list of output lines produced by the command. Empty array if the command produces no output.

Examples

curl -X POST http://localhost:7000/api/commands/execute \
  -H "Content-Type: application/json" \
  -d '{"command": "cluster status"}'
Example response
{
  "command": "instance list",
  "output": [
    "ID       CONFIG    NODE    HOST         PORT   STATE",
    "a1b2c3   default   node-1  127.0.0.1   25565  ONLINE"
  ]
}

Notes

All commands that work in the interactive console work here. The full list is in the console commands reference.
Command output is captured from a CapturingCommandSource that collects every sendMessage call. Commands that produce no output return an empty output array, not an error.
Commands like stop and exit will begin a graceful shutdown of the Master node. Use them only when intentional.

Build docs developers (and LLMs) love