Skip to content

Admin API

Method NameRequest TypeResponse TypeDescription
RegisterServiceRegistryRequestRegistryResponseRegister a remote agent or service
StartApplicationApplicationRequestStartResponseStart a remote application
StartVMStartVMRequestStartResponseStart a VM
StartServiceStartServiceRequestStartResponseStart a remote service
PauseApplicationApplicationRequestApplicationResponsePause (freeze) a remote application
ResumeApplicationApplicationRequestApplicationResponseResume (un-freeze) a remote application
StopApplicationApplicationRequestApplicationResponseStop a remote application
SetLocaleLocaleRequestEmptySet locale (broadcasted across system)
SetTimezoneTimezoneRequestEmptySet timezone (broadcasted across system)
PoweroffEmptyEmptySystem poweroff command
RebootEmptyEmptySystem reboot command
SuspendEmptyEmptySystem suspend command
WakeupEmptyEmptySystem wakeup command
GetUnitStatusUnitStatusRequest.systemd.UnitStatusGet systemd unit status
GetStatsStatsRequest.stats.StatsResponseGet stats information
QueryListEmptyQueryListResponseGet list of monitored units
WatchEmptyWatchItemGet stream of monitored units
FieldTypeLabelDescription
AppNamestringApplication name
VmNamestringoptionalName of the VM hosting the application
ArgsstringrepeatedApplication arguments
FieldTypeLabelDescription
CmdStatusstringStatus of the RPC command
AppStatusstringStatus of the application

Empty message

FieldTypeLabelDescription
LocalestringString with locale value. Format: X/Open Portability Guide / GNU libc.
FieldTypeLabelDescription
NamestringName of the unit
DescriptionstringDescription of the unit
VmStatusstringStatus of the VM hosting the unit
TrustLevelstringTrust Level (future use)
VmTypestringType of the VM (future use)
ServiceTypestringType of the service (future use)
VmNamestringoptionalName of the VM to query; None for host running services
AgentNamestringoptionalName of the managing agent; None for agents
FieldTypeLabelDescription
ListQueryListItemrepeatedList of query responses
FieldTypeLabelDescription
NamestringComponent name for registry entry
ParentstringParent component identifier (registry name)
Typeuint32Component type
TransportTransportConfigTransportConfig
Statesystemd.UnitStatusUnit status of the component (systemd)
FieldTypeLabelDescription
ErrorstringoptionalError message
FieldTypeLabelDescription
registryIdstringRegistry ID for newly started app, service or vm
FieldTypeLabelDescription
ServiceNamestringName of the service to start
VmNamestringName of the VM hosting service
FieldTypeLabelDescription
VmNamestringName of the VM to start
FieldTypeLabelDescription
VmNamestringVM name to query status information
FieldTypeLabelDescription
TimezonestringString with timezone value. Format: tz database name, usually Area/City or Etc/GMT+3.
FieldTypeLabelDescription
ProtocolstringProtocol identifier, one of tcp, vsock, unix
AddressstringIPv4 address, vsock CID, or unix socket path
PortstringPort number
NamestringHost name
FieldTypeLabelDescription
VmNamestringName of the VM hosting the unit
UnitNamestringName of the unit
FieldTypeLabelDescription
InitialQueryListResponse
AddedQueryListItem
UpdatedQueryListItem
RemovedQueryListItem
.proto TypeNotesGo Type
doublefloat64
floatfloat32
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64
uint32Uses variable-length encoding.uint32
uint64Uses variable-length encoding.uint64
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64
sfixed32Always four bytes.int32
sfixed64Always eight bytes.int64
boolbool
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.string
bytesMay contain any arbitrary sequence of bytes.[]byte