Data types

Every schema of the REST API with its fields, types, constraints and values.

The named types of the REST API, in alphabetical order. Field names are in the JSON spelling (camelCase). A field marked required is always present; required maps and arrays are never null.

ActionAccepted

FieldTypeDescription
accepted (required)boolean
messagestring

ActorType

Type: string. Values:

  • user
  • token
  • system
  • gitops
  • agent

Agent

FieldTypeDescription
id (required)stringFormat uuid.
kind (required)AgentKind
serviceName (required)stringExample otelcol-contrib.
version (required)stringExample 0.162.0.
hostname (required)string
osType (required)stringExample windows.
osDescription (required)string
arch (required)stringExample amd64.
identifyingAttributes (required)StringMap
nonIdentifyingAttributes (required)StringMap
labels (required)StringMap
capabilities (required)integerOpAMP AgentCapabilities bitmask. Format int64.
connection (required)AgentConnection
healthAgentHealth
remoteConfig (required)RemoteConfigState
assignment (required)AgentAssignment
updaterUpdaterLink
packageStatusPackageStatuses
effectiveConfigHashHash
effectiveConfigUpdatedAtstringFormat date-time.
availableComponentsHashHash
enrollmentTokenIdstringFormat uuid.
firstSeenAt (required)stringFormat date-time.
updatedAt (required)stringFormat date-time.

AgentAssignment

FieldTypeDescription
fleetNamestring
assignedConfigHashHash
desiredConfigHashHash
failedConfigHashHash
targetVersionstringEffective target version of the fleet (Git target or UI selection; absent while on hold).
errorstring
assignedAtstringFormat date-time.

AgentConnection

FieldTypeDescription
status (required)ConnectionStatus
replicaIdstring
transportstringOne of websocket, http.
remoteAddrstring
connectedAtstringFormat date-time.
disconnectedAtstringFormat date-time.
lastSeenAtstringFormat date-time.

AgentCounts

FieldTypeDescription
total (required)integer
collectors (required)integer
updaters (required)integer
online (required)integer
offline (required)integer
healthy (required)integer
unhealthy (required)integer
healthUnknown (required)integer

AgentDetail

FieldTypeDescription
agent (required)Agent
configSync (required)ConfigSyncState
outdated (required)boolean
latestVersionstring
capabilityNames (required)array of stringItems: example AcceptsRemoteConfig.
activeRolloutTargets (required)array of RolloutTarget
linkedAgentAgentSummary

AgentEvent

FieldTypeDescription
id (required)integerFormat int64.
agentId (required)stringFormat uuid.
time (required)stringFormat date-time.
type (required)stringOne of connected, disconnected, registered, description_changed, version_changed, health_changed, config_offered, config_applied, config_failed, assigned, package_offered, package_status, command, rollout_target, identity_conflict, bridge_locked.
severity (required)stringOne of info, warning, error.
message (required)string
detailsAnyMap

AgentEventList

FieldTypeDescription
items (required)array of AgentEvent
nextBefore (required)integerFormat int64.

AgentFacets

FieldTypeDescription
total (required)integer
status (required)array of FacetValue
health (required)array of FacetValuevalues healthy | unhealthy | unknown.
kinds (required)array of FacetValue
versions (required)array of FacetValue
fleets (required)array of FacetValuevalue "" = unassigned.
osTypes (required)array of FacetValue
siteTypes (required)array of FacetValue
countries (required)array of FacetValue
configSync (required)array of FacetValue

AgentHealth

FieldTypeDescription
healthy (required)boolean
statusstringExample StatusOK.
lastErrorstring
startTimestringFormat date-time.
componentsmap of string to ComponentHealth
updatedAt (required)stringFormat date-time.

AgentKind

bridge = the OpAMP Bridge of the OpenTelemetry Operator, recognised by the service.name io.opentelemetry.operator-opamp-bridge or the attribute opentelemetry.io/opamp.bridge.mode. The server sends it remote configuration only when a fleet sets spec.bridge.manage and the Bridge runs in standalone mode, never a restart command, and it is not part of version rollouts.

Type: string. Values:

  • collector
  • updater
  • bridge
  • unknown

AgentSummary

FieldTypeDescription
id (required)stringFormat uuid.
kind (required)AgentKind
hostname (required)string
serviceName (required)string
version (required)string
outdated (required)boolean
osType (required)string
arch (required)string
status (required)ConnectionStatus
lastSeenAtstringFormat date-time.
healthyboolean
healthStatusstring
fleetNamestring
configSync (required)ConfigSyncState
targetVersionstring
siteStringMapsite.* attributes (site.type, site.id, site.name, site.country, site.region, site.timezone).
labelsStringMap
hasUpdater (required)boolean

AgentSummaryPage

FieldTypeDescription
items (required)array of AgentSummary
total (required)integer
limit (required)integer
offset (required)integer

AnyMap

Type: map of string to any.

APIToken

FieldTypeDescription
id (required)stringFormat uuid.
name (required)string
displayPrefix (required)stringExample myra_3kQ9zXw.
role (required)Role
createdBy (required)string
createdAt (required)stringFormat date-time.
expiresAtstringEffective expiry: the earlier of the stored expiry and createdAt plus auth.apiTokenMaxTtl. Absent only for a token without an expiry on a server configured without a maximum. Format date-time.
lastUsedAtstringFormat date-time.
revokedAtstringFormat date-time.

APITokenList

FieldTypeDescription
items (required)array of APIToken

ApproveWaveRequest

FieldTypeDescription
wave (required)integerMinimum 0.
reasonstringAt most 500 characters.

Artifact

FieldTypeDescription
id (required)stringFormat uuid.
distribution (required)string
version (required)string
os (required)string
arch (required)string
format (required)stringOne of tar.gz, zip.
filename (required)string
size (required)integerFormat int64.
sha256Hash
signatureVerified (required)boolean
signatureIdentitystring
verificationErrorstring
sourceUrl (required)string
status (required)ArtifactStatus
errorstring
createdAt (required)stringFormat date-time.
updatedAt (required)stringFormat date-time.

ArtifactList

FieldTypeDescription
items (required)array of Artifact

ArtifactPage

FieldTypeDescription
items (required)array of Artifact
total (required)integer
limit (required)integer
offset (required)integer

ArtifactStatus

Type: string. Values:

  • pending
  • downloading
  • ready
  • failed

AuditEvent

FieldTypeDescription
id (required)integerFormat int64.
time (required)stringFormat date-time.
actorType (required)ActorType
actorId (required)string
actorName (required)string
action (required)stringExample rollout.pause.
targetTypestringExample rollout.
targetIdstring
result (required)stringOne of success, failure.
detailsAnyMap
sourceIpstring
requestIdstring

AuditEventPage

FieldTypeDescription
items (required)array of AuditEvent
total (required)integer
limit (required)integer
offset (required)integer

AuthConfigInfo

FieldTypeDescription
oidcEnabled (required)boolean
oidcDisplayNamestring
devLoginEnabled (required)boolean
bootstrapPasswordEnabled (required)booleanThe bootstrap admin is active and accepts its password (POST /auth/bootstrap-login with username and password).
bootstrapTokenEnabled (required)booleanThe bootstrap admin is active and accepts a one-time token (POST /auth/bootstrap-login with token).
ui (required)UIConfigInfo

Blueprint

FieldTypeDescription
name (required)string
descriptionstring
labelsStringMap
extendsstring
parametersarray of ParameterSpec
configAnyMap
fragmentsarray of Fragment
removearray of string
source (required)SourceRef

BlueprintDetail

FieldTypeDescription
blueprint (required)Blueprint
chain (required)array of string
parameters (required)array of ParameterSpec
usedBy (required)array of string
issues (required)array of Issue
webUrlstring

BlueprintSummary

FieldTypeDescription
name (required)string
descriptionstring
extendsstring
parameterCount (required)integer
fragmentCount (required)integer
usedBy (required)array of string
source (required)SourceRef
issueCount (required)integer

BlueprintSummaryList

FieldTypeDescription
items (required)array of BlueprintSummary

BootstrapLoginRequest

Exactly one of password (together with username) and token.

FieldTypeDescription
usernamestringUser name of the bootstrap admin (password sign-in).
passwordstringFormat password.
tokenstringOne-time token of the bootstrap admin (token sign-in). Format password.

BridgeSpec

FieldTypeDescription
manage (required)booleanOpts the fleet in to configure the OpAMP Bridge agents that its selector matches. Without it a Bridge never receives remote configuration from the fleet. The opt-in takes effect for Bridges in standalone mode only. Default false.

ChangelogEntry

FieldTypeDescription
source (required)stringOne of core, contrib, releases.
file (required)stringExample CHANGELOG.md.
version (required)string
componentstringExample receiver/kafka.
text (required)string
issuesarray of integer

ChannelInfo

FieldTypeDescription
name (required)string
type (required)stringOne of webhook, teams, slack.
events (required)array of string
minSeverity (required)stringOne of info, warning, critical.
target (required)string

ChannelInfoList

FieldTypeDescription
items (required)array of ChannelInfo

ClearFleetVersionSelectionRequest

FieldTypeDescription
reasonstringAt most 500 characters.

CollectorSpec

FieldTypeDescription
distributionstringDefault otelcol-contrib.
versionstringExample 0.162.0.

ComponentDetails

FieldTypeDescription
modulestring
metadataStringMap

ComponentHealth

FieldTypeDescription
healthy (required)boolean
statusstring
lastErrorstring
startTimestringFormat date-time.
statusTimestringFormat date-time.
componentsmap of string to ComponentHealth

ComponentSet

FieldTypeDescription
hash (required)Hash
components (required)map of string to map of string to ComponentDetailskind (“receivers”, “processors”, “exporters”, “extensions”, “connectors”) -> type -> details.

ConfigDocument

FieldTypeDescription
hash (required)Hash
contentType (required)stringExample text/yaml.
body (required)stringYAML text.
updatedAtstringFormat date-time.
source (required)stringOne of effective, desired, assigned.
redactedbooleanSecret-bearing values of an effective config were replaced by “[REDACTED]” (keys such as password, token, secret, api key, authorization, header values, credentials in URLs). The hash identifies the stored original.

ConfigSyncState

none = unassigned/no config; in_sync = agent applied the desired config; pending = offered/applying/offline; failed = agent reported FAILED for the desired config; drift = desired differs from assigned (rollout pending or rolled back).

Type: string. Values:

  • none
  • in_sync
  • pending
  • failed
  • drift

ConnectionStatus

Type: string. Values:

  • online
  • offline

CreateAPITokenRequest

FieldTypeDescription
name (required)string1 to 100 characters.
role (required)Role
expiresAtstringExpiry of the token. Optional: without it the token gets the maximum lifetime auth.apiTokenMaxTtl (default 90 days; no expiry only where the server is configured with 0). A later expiry is refused (422). Format date-time.

CreatedAPIToken

FieldTypeDescription
token (required)APIToken
secret (required)stringFull token “myra_…” - shown only once.

CreatedEnrollmentToken

FieldTypeDescription
token (required)EnrollmentToken
secret (required)stringFull token “myre_…” - shown only once.

CreateEnrollmentTokenRequest

FieldTypeDescription
name (required)string1 to 100 characters.
labelsStringMap
expiresAtstringFormat date-time.

CreateSavedFilterRequest

FieldTypeDescription
name (required)string1 to 100 characters.
page (required)stringExample agents.
query (required)AnyMap
sharedbooleanDefault false.

DatabaseInfo

FieldTypeDescription
ok (required)boolean
serverVersionstring
migrationVersion (required)integerFormat int64.

DevLoginRequest

FieldTypeDescription
username (required)string
password (required)stringFormat password.

Duration

Go duration string

Type: string. Example 30s.

EnrollmentToken

FieldTypeDescription
id (required)stringFormat uuid.
name (required)string
displayPrefix (required)string
labelsStringMap
createdBy (required)string
createdAt (required)stringFormat date-time.
expiresAtstringFormat date-time.
lastUsedAtstringFormat date-time.
revokedAtstringFormat date-time.
useCount (required)integerFormat int64.

EnrollmentTokenList

FieldTypeDescription
items (required)array of EnrollmentToken

ExecutorSummary

FieldTypeDescription
name (required)string
type (required)ExecutorType
descriptionstring
target (required)stringRedacted destination URL.
source (required)SourceRef
usedBy (required)array of string

ExecutorSummaryList

FieldTypeDescription
items (required)array of ExecutorSummary

ExecutorType

none = versions are only reported; updater = OpAMP package offers to myriarch-updater; webhook/awx = external call (Executor object); manual = version rollouts are created and wait for the reported version without any external call (the version is changed outside of myriarchd, e.g. image tag by merge request).

Type: string. Values:

  • none
  • updater
  • webhook
  • awx
  • manual

FacetValue

FieldTypeDescription
value (required)string
count (required)integer

FailureAction

Type: string. Values:

  • pause
  • rollback

FailureThreshold

FieldTypeDescription
maxFailedintegerMinimum 0.
maxFailedPercentintegerRange 0 to 100.

FeatureFlags

FieldTypeDescription
oidc (required)boolean
devLogin (required)boolean
bootstrapAdmin (required)booleanThe bootstrap admin (break-glass account) accepts sign-ins.
gitops (required)boolean
releases (required)boolean
devMode (required)boolean

Fleet

FieldTypeDescription
name (required)string
descriptionstring
labelsStringMap
displayNamestring
priority (required)integer
selector (required)Selector
blueprint (required)string
parametersAnyMap
collector (required)CollectorSpec
update (required)UpdateSpec
rollout (required)FleetRolloutSpec
bridgeBridgeSpec
source (required)SourceRef

FleetBehind

FieldTypeDescription
fleet (required)string
targetVersion (required)string
agents (required)integer
versions (required)array of VersionCount
breakingCount (required)integer
sourcePath (required)string

FleetCounts

FieldTypeDescription
fleet (required)string
total (required)integer
online (required)integer
healthy (required)integer
inSync (required)integer
pending (required)integer
failed (required)integer
targetVersionstringEffective target version of the fleet (Git target or UI selection).
onTarget (required)integer

FleetDetail

FieldTypeDescription
fleet (required)Fleet
status (required)FleetStatus
blueprintChain (required)array of string
configPolicy (required)RolloutPolicy
versionPolicy (required)RolloutPolicy
executorExecutorSummary
issues (required)array of Issue
webUrlstring

FleetRolloutSpec

FieldTypeDescription
configPolicystringDefault default.
versionPolicystringDefault default.

FleetStatus

FieldTypeDescription
agents (required)FleetCounts
versions (required)array of VersionCount
activeRollouts (required)array of RolloutSummary
behindLatest (required)booleanThe effective target version is lower than the latest stable release.
latestVersionstring
renderErrors (required)integer
versionTarget (required)FleetVersionTarget

FleetSummary

FieldTypeDescription
fleet (required)Fleet
status (required)FleetStatus

FleetSummaryList

FieldTypeDescription
items (required)array of FleetSummary

FleetVersionOptions

FieldTypeDescription
fleet (required)string
distribution (required)stringExample otelcol-contrib.
allowed (required)booleanAn operator may select a version now (frame enabled, executor set, no blocking rollout).
notAllowedCodestringOne of selection_disabled, no_executor, blocking_rollout.
notAllowedReasonstring
target (required)FleetVersionTarget
executor (required)ExecutorType
versionPolicy (required)stringName of the rollout policy a selection uses (selection.rolloutPolicy, else spec.rollout.versionPolicy, else “default”).
activeRolloutRolloutSummary
options (required)array of VersionOption
platforms (required)array of PlatformCountos/arch of the member collectors (artifacts the update needs).

FleetVersionSelection

A target version chosen by an operator in the UI/API (one per fleet).

FieldTypeDescription
fleet (required)string
version (required)stringExample 0.162.0.
state (required)VersionSelectionState
stateReasonstringWhy the selection is invalidated (English), e.g. “version 0.162.0 is outside the frame of commit 1a2b3c4 (>=0.161.0, <0.162.0)”.
gitVersionstringspec.collector.version in Git when the selection was made (absent = none).
gitCommitstringApplied GitOps revision when the selection was made.
selectedBy (required)stringDisplay name of the operator (or API token); resolved by the server like RolloutWave.approvedBy.
selectedAt (required)stringFormat date-time.
reasonstring
rolloutIdstringVersion rollout created for this selection. Format uuid.
plannedAtstringWhen the leader planned the fleet for this selection. Format date-time.
updatedAt (required)stringFormat date-time.

FleetVersionTarget

Effective target version of a fleet and where it comes from.

FieldTypeDescription
versionstringEffective target version (absent: source none or hold).
source (required)VersionTargetSource
gitVersionstringspec.collector.version (absent = not set).
selectionEnabled (required)booleanspec.update.selection.enabled.
frameVersionSelectionSpec
selectionFleetVersionSelection

Fragment

FieldTypeDescription
name (required)string
whenstringExample [[ eq (attr "os.type") "windows" ]].
configAnyMap
removearray of string

GitCommit

FieldTypeDescription
sha (required)string
authorstring
messagestring
time (required)stringFormat date-time.

GitOpsBrief

FieldTypeDescription
state (required)stringOne of ok, error, syncing, never.
appliedCommitstring
issueCount (required)integer

GitOpsObjectRef

FieldTypeDescription
kind (required)ObjectKind
name (required)string
path (required)string
commit (required)string
webUrlstring

GitOpsObjectRefList

FieldTypeDescription
items (required)array of GitOpsObjectRef

GitOpsSync

FieldTypeDescription
id (required)integerFormat int64.
startedAt (required)stringFormat date-time.
finishedAtstringFormat date-time.
trigger (required)stringOne of poll, webhook, manual, startup.
commitGitCommit
result (required)stringOne of applied, unchanged, invalid, error.
issues (required)array of Issue
addedarray of string
changedarray of string
removedarray of string

GitOpsSyncPage

FieldTypeDescription
items (required)array of GitOpsSync
total (required)integer
limit (required)integer
offset (required)integer

GitOpsSyncStatus

FieldTypeDescription
source (required)string
branchstring
pathstring
state (required)stringOne of ok, error, syncing, never.
lastSyncAtstringFormat date-time.
lastSuccessAtstringFormat date-time.
appliedCommitGitCommit
latestCommitGitCommit
issues (required)array of Issue
objectCounts (required)map of string to integerkind -> count.

Hash

Lower-case hex encoded hash

Type: string. Pattern ^[0-9a-f]*$.

InstallBundle

The installer bundle for one platform.

FieldTypeDescription
os (required)stringOne of linux, windows.
arch (required)stringOne of amd64, arm64.
version (required)stringThe version of the bundle. Example 0.2.0.
filename (required)stringExample myriarch-updater_0.2.0_linux_amd64.tar.gz.
status (required)stringOne of pending, preparing, ready, failed.
sha256stringThe SHA-256 of the archive in lower case hex: its line in the signed checksums.txt of the release. The copied command pins it. Ready only.
sizeintegerThe size of the archive in bytes. Ready only. Format int64.
errorstringWhy the last attempt failed. Failed only.

InstallBundleList

FieldTypeDescription
source (required)stringrelease: the bundles of the release that this server runs. directory: the archives of a directory of a development server. none: the server has no bundles. One of release, directory, none.
versionstringThe version of the bundles. Not for none. Example 0.2.0.
reasonstringWhy there are none (source none): the server is not a release of the project. One of local_build.
items (required)array of InstallBundleOne bundle for each platform of install.platforms.

InstallCommand

FieldTypeDescription
platform (required)stringExample linux/amd64.
shell (required)stringThe shell that the command is for, run as root (sudo) or in an elevated Windows PowerShell. One of bash, powershell.
command (required)stringThe text to copy. Lines end in LF.
bundle (required)InstallBundle
tokenFilestringThe file with the token that the command reads (variant token_file).

InstallCommands

FieldTypeDescription
variant (required)stringOne of token_inline, token_file, lab.
server (required)stringThe address of the server in the commands (server.publicUrl). Example https://fleet.example.com.
version (required)stringThe version of the installer bundles. Example 0.2.0.
insecure (required)booleanTrue for the variant lab: the commands lower the checks of the installer for a development server.
tokenPlaceholderstringThe text in each command that stands for the enrollment token. The person replaces it, in every command, with the token. Not for the variant token_file. Example @@MYRIARCH_ENROLLMENT_TOKEN@@.
commands (required)array of InstallCommand

InstallCommandsRequest

The request for install commands. It holds no secret. attributes may hold site.type and site.id (required), site.name, site.country, site.region, site.timezone and deployment.environment.name: the options of the installers for the site.

FieldTypeDescription
variantstringThe default is token_inline. lab is for development servers only. One of token_inline, token_file, lab. Example token_inline.
platformsarray of stringThe platforms (os/arch) to render a command for, each of install.platforms. Without any, all of them. At most 8 items. Items: example linux/amd64.
fleetstringThe fleet that the person expects. The installer passes it to the plan, and the server refuses a host that it assigns elsewhere (fleet_mismatch). Example linux-hosts.
attributesStringMap
collectorVersionstringA collector version that the host asks for. The plan accepts it inside the Git frame of the fleet only. Example 0.162.0.
tokenFilesInstallTokenFiles
caFilestringThe path of the PEM file with the CA of the server on a Linux host. A Windows host uses the certificate store of the machine. Example /etc/ssl/myriarch-ca.pem.

InstallPlan

The plan for a host, as JSON. The text form has the same content in the lines format, fleet, version.source, opamp.endpoint, collector.version, collector.url, collector.grant, supervisor.version, supervisor.url, supervisor.grant and updater.install.

FieldTypeDescription
format (required)integerOne of 1.
fleet (required)stringThe fleet that the host would join. Example linux-hosts.
version (required)InstallPlanVersion
opamp (required)InstallPlanOpAMP
collector (required)InstallPlanArtifact
supervisor (required)InstallPlanArtifact
updater (required)InstallPlanUpdater

InstallPlanArtifact

FieldTypeDescription
version (required)stringThe version without “v”. Example 0.162.0.
url (required)stringThe URL of the artifact on the origin of the server. Add “.sha256” and “.sigstore.json” for the checksum and the Sigstore bundle.
grant (required)stringThe install grant (a “myrd_” token) for this artifact, sent as a bearer token. It is bound to the enrollment token of the request and expires after install.grantTtl.

InstallPlanOpAMP

FieldTypeDescription
endpoint (required)stringThe OpAMP endpoint of the host: wss:// for an https public URL (ws:// for the http URL of a development server). Example wss://fleet.example.com/v1/opamp.

InstallPlanRequest

The request for a plan. It holds no secret. attributes may only hold host.name, site.type, site.id, site.name, site.country, site.region, site.timezone and deployment.environment.name (values of 1 to 253 characters without control characters or surrounding spaces); os.type and host.arch come from os and arch, and the labels come from the enrollment token.

FieldTypeDescription
os (required)stringOne of linux, windows. Example linux.
arch (required)stringamd64 or arm64; aliases such as x86_64 and aarch64 are accepted. Windows is amd64 only. Example amd64.
attributesStringMap
fleetstringThe fleet that the person expects. The server decides; a fleet that does not agree is refused with 409 fleet_mismatch. Example linux-hosts.
collectorVersionstringA collector version without “v” that the host asks for, accepted inside the Git frame of the fleet only. Example 0.162.0.

InstallPlanUpdater

FieldTypeDescription
install (required)booleanWhether the myriarch-updater is installed: the fleet updates its collectors through the updater executor.

InstallPlanVersion

FieldTypeDescription
source (required)stringWhere the version comes from: spec.collector.version (git), the choice in the UI (ui), the version before the running version rollout (rollout) or the version that the host asked for (request). One of git, ui, rollout, request.

InstallTokenFiles

The paths of the file with the token on the host (variant token_file), for each operating system that is rendered.

FieldTypeDescription
linuxstringExample /etc/myriarch/enrollment-token.
windowsstringExample C:\ProgramData\Secrets\myriarch-token.txt.

Issue

FieldTypeDescription
severity (required)IssueSeverity
code (required)stringExample unknown_component.
message (required)string
filestring
lineinteger
pathstringExample service::pipelines::logs.
objectstringExample Fleet/edge-nl.

IssueSeverity

Type: string. Values:

  • error
  • warning

LiveAgentRemovedData

FieldTypeDescription
id (required)stringFormat uuid.

LiveFleetUpdatedData

FieldTypeDescription
name (required)stringFleet name.

MaintenanceWindow

FieldTypeDescription
daysarray of stringItems: one of Mon, Tue, Wed, Thu, Fri, Sat, Sun.
start (required)stringPattern ^([01][0-9]|2[0-3]):[0-5][0-9]$. Example 21:30.
end (required)stringPattern ^([01][0-9]|2[0-3]):[0-5][0-9]$. Example 05:30.
timezonestringDefault agent. Example Europe/Brussels.

MatchFleetsRequest

FieldTypeDescription
agentIdstringFormat uuid.
attributesStringMap

MatchFleetsResponse

FieldTypeDescription
fleetstring
candidates (required)array of string
errorstring
inventoryLabelsStringMap

Me

FieldTypeDescription
type (required)stringOne of user, token.
id (required)string
name (required)string
emailstring
role (required)Role
authMethod (required)stringOne of oidc, local, bootstrap, api_token.
permissions (required)array of stringfleets:set_version (operator+): select/clear the UI target version of a fleet within the Git frame. Items: one of read, saved_filters:write, agents:operate, agents:delete, rollouts:operate, fleets:set_version, releases:acknowledge, gitops:sync, artifacts:manage, notifications:test, audit:read, tokens:manage, enrollment:manage, users:manage.
csrfTokenstring

ObjectKind

Type: string. Values:

  • Fleet
  • Blueprint
  • RolloutPolicy
  • Executor
  • Inventory

OutdatedSummary

FieldTypeDescription
latestVersionstring
count (required)integer
percent (required)number

OverviewStats

FieldTypeDescription
generatedAt (required)stringFormat date-time.
agents (required)AgentCounts
versions (required)array of VersionCount
outdated (required)OutdatedSummary
configSync (required)array of FacetValue
fleets (required)array of FleetCounts
unassigned (required)integer
activeRollouts (required)array of RolloutSummary
latestReleaseReleaseSummary
gitops (required)GitOpsBrief

PackageInstallStatus

Type: string. Values:

  • installed
  • install_pending
  • installing
  • install_failed
  • downloading

PackageStatus

FieldTypeDescription
name (required)string
agentHasVersionstring
agentHasHashHash
serverOfferedVersionstring
serverOfferedHashHash
status (required)PackageInstallStatus
errorMessagestring
downloadPercentnumber

PackageStatuses

FieldTypeDescription
serverProvidedAllPackagesHashHash
errorMessagestring
packages (required)map of string to PackageStatus
updatedAt (required)stringFormat date-time.

ParameterSpec

FieldTypeDescription
name (required)string
type (required)ParameterType
descriptionstring
defaultany
requiredboolean
enumarray of any
patternstring
minnumber
maxnumber
fromAttributestring

ParameterType

Type: string. Values:

  • string
  • int
  • number
  • bool
  • duration
  • list
  • map

PlatformCount

FieldTypeDescription
os (required)stringExample linux.
arch (required)stringExample amd64.
agents (required)integer

PrefetchRequest

FieldTypeDescription
distribution (required)stringExample otelcol-contrib.
version (required)stringExample 0.162.0.
platformsarray of stringPlatforms (os/arch) to fetch. Omitted or empty means the server default: the configured artifacts.prefetchPlatforms (empty by default); when none are configured either, the distinct platforms of the connected collectors of the fleets that use this distribution. The request fails with 422 if that set is empty too. Items: example windows/amd64.

Problem

FieldTypeDescription
type (required)stringURI reference (“about:blank”).
title (required)string
status (required)integer
detailstring
instancestring
code (required)stringOne of bad_request, unauthorized, forbidden, not_found, conflict, precondition_failed, validation_failed, too_many_requests, internal, not_implemented, unavailable, csrf_failed.
requestIdstring
issuesarray of Issue

ProgressSource

updater = steps reported by the myriarch-updater (health component “dev.myriarch.update”); package_status = only the OpAMP package status of the updater is known (older or simulated updater without the component); executor = webhook/awx/manual executors (no host-side steps: offered, then waiting for the reported version).

Type: string. Values:

  • updater
  • package_status
  • executor

Release

FieldTypeDescription
distribution (required)string
version (required)string
tag (required)string
publishedAtstringFormat date-time.
prerelease (required)boolean
htmlUrlstring
notesstring
breakingChanges (required)array of ChangelogEntry
deprecations (required)array of ChangelogEntry
assets (required)array of ReleaseAsset
detectedAt (required)stringFormat date-time.
acknowledgedBystringDisplay name of the user (or API token) that acknowledged the release; resolved by the server like RolloutWave.approvedBy.
acknowledgedAtstringFormat date-time.

ReleaseAsset

FieldTypeDescription
name (required)string
url (required)string
size (required)integerFormat int64.
osstring
archstring
formatstringOne of tar.gz, zip, msi, deb, rpm, apk, binary.
contentTypestring

ReleaseDetail

FieldTypeDescription
release (required)Release
isLatest (required)boolean
fleetsBehind (required)array of FleetBehind
agentsBehind (required)integer
gitopsSnippet (required)stringYAML snippet setting spec.collector.version.
updatableFleets (required)array of ReleaseFleetOptionEvery fleet of the release’s distribution and whether this release can be selected for it in the UI (selectable first, then by name).

ReleaseFleetOption

FieldTypeDescription
fleet (required)string
displayNamestring
target (required)FleetVersionTarget
selectable (required)boolean
reasonCodestringOne of selection_disabled, no_executor, blocking_rollout, current_target, outside_frame, downgrade_not_allowed, prerelease_not_allowed, unknown_version.
reasonstring
agentsToUpdate (required)integer

ReleaseSummary

FieldTypeDescription
distribution (required)string
version (required)string
tag (required)string
publishedAtstringFormat date-time.
prerelease (required)boolean
htmlUrlstring
breakingCount (required)integer
deprecationCount (required)integer
acknowledged (required)boolean
fleetsBehind (required)integer
isLatest (required)boolean

ReleaseSummaryPage

FieldTypeDescription
items (required)array of ReleaseSummary
total (required)integer
limit (required)integer
offset (required)integer

RemoteConfigState

FieldTypeDescription
status (required)RemoteConfigStatus
lastHashHash
errorMessagestring
updatedAtstringFormat date-time.

RemoteConfigStatus

Type: string. Values:

  • unset
  • applying
  • applied
  • failed

RenderRequest

FieldTypeDescription
agentIdstringFormat uuid.
attributesStringMap
fleetstring
parametersAnyMap
validatebooleanfalse skips only the check against the agent’s reported component list (unknown_component); structural checks always run. Default true.

RenderResponse

FieldTypeDescription
blueprint (required)string
fleetstring
layers (required)array of string
parameters (required)AnyMap
parameterSources (required)map of string to stringValues: one of default, fleet, attribute, inventory, override.
hashHash
body (required)string
issues (required)array of Issue

Replica

FieldTypeDescription
id (required)string
hostname (required)string
version (required)string
startedAt (required)stringFormat date-time.
lastHeartbeatAt (required)stringFormat date-time.
isLeader (required)boolean
connections (required)integer

Role

Type: string. Values:

  • viewer
  • operator
  • admin

Rollout

FieldTypeDescription
id (required)stringFormat uuid.
kind (required)RolloutKind
fleetName (required)string
policyName (required)string
policy (required)RolloutPolicy
status (required)RolloutStatus
statusReasonstring
fromRefstring
toRef (required)stringGit commit (config rollouts) or version (version rollouts).
gitCommitstring
executorExecutorType
currentWave (required)integer
waves (required)array of RolloutWave
counts (required)RolloutCounts
createdBy (required)string“gitops”, “system”, or the display name of the operator/API token for UI-triggered rollouts (stored as “user:<uuid>”/“token:<uuid>”, resolved like RolloutWave.approvedBy). Example gitops.
origin (required)RolloutOrigin
requestReasonstringReason the operator gave when selecting the version (origin ui).
createdAt (required)stringFormat date-time.
startedAtstringFormat date-time.
updatedAt (required)stringFormat date-time.
finishedAtstringFormat date-time.
annotationsAnyMapEngine annotations (persisted state, values may be objects): executorRef, distribution, updateParams (object), selection (object, origin ui: {version, selectedBy, selectedAt, reason}), ackedFailures, healthTrack, rollbackStartedAt, rollbackSent (internal). Clients must not assume string values.

RolloutActionRequest

FieldTypeDescription
reasonstringAt most 500 characters.

RolloutCounts

FieldTypeDescription
total (required)integer
pending (required)integer
waitingWindow (required)integer
inProgress (required)integer
succeeded (required)integer
failed (required)integer
skipped (required)integer
cancelled (required)integer
rolledBack (required)integer

RolloutKind

Type: string. Values:

  • config
  • version

RolloutOrigin

What caused the rollout: gitops = the goal comes from Git (new commit, spec.collector.version; also after an operator cleared a UI selection - the clear itself is in the audit log), ui = the target version was selected by an operator in the UI/API (selectFleetVersion), system = anything else. Derived from createdBy for rollouts created before this field existed (“gitops” -> gitops, “user:”/“token:” -> ui, else system).

Type: string. Values:

  • gitops
  • ui
  • system

RolloutPolicy

FieldTypeDescription
name (required)string
descriptionstring
labelsStringMap
waves (required)array of WaveSpec
maxConcurrentinteger
healthWaitDuration
applyTimeoutDuration
offlineGracePeriodDuration
failureThreshold (required)FailureThreshold
onFailureFailureAction
maintenanceWindowsarray of MaintenanceWindow
timezoneAttributestringDefault site.timezone.
defaultTimezonestring
source (required)SourceRef

RolloutPolicyList

FieldTypeDescription
items (required)array of RolloutPolicy

RolloutStatus

Type: string. Values:

  • pending
  • running
  • waiting_approval
  • paused
  • completed
  • failed
  • aborted
  • rolling_back
  • rolled_back
  • superseded

RolloutSummary

FieldTypeDescription
id (required)stringFormat uuid.
kind (required)RolloutKind
fleetName (required)string
policyName (required)string
status (required)RolloutStatus
statusReasonstring
fromRefstring
toRef (required)string
gitCommitstring
currentWave (required)integer
waveCount (required)integer
counts (required)RolloutCounts
origin (required)RolloutOrigin
createdBystringSame as Rollout.createdBy (display name).
createdAt (required)stringFormat date-time.
updatedAt (required)stringFormat date-time.
finishedAtstringFormat date-time.

RolloutSummaryPage

FieldTypeDescription
items (required)array of RolloutSummary
total (required)integer
limit (required)integer
offset (required)integer

RolloutTarget

FieldTypeDescription
rolloutId (required)stringFormat uuid.
agentId (required)stringFormat uuid.
hostnamestring
wave (required)integer
status (required)TargetStatus
fromRefstring
toRef (required)string
attempts (required)integer
startedAtstringFormat date-time.
verifiedAtstringFormat date-time.
finishedAtstringFormat date-time.
lastErrorstring
executorRefstring
updatedAt (required)stringFormat date-time.
progressTargetProgress

RolloutTargetPage

FieldTypeDescription
items (required)array of RolloutTarget
total (required)integer
limit (required)integer
offset (required)integer

RolloutWave

FieldTypeDescription
index (required)integer
name (required)string
selectorSelector
percentintegerPercentage waves only: cumulative share of all targets of the rollout that is reached with this wave (1 to 100). Not progress.
requireApproval (required)boolean
status (required)WaveStatus
approvedBystringDisplay name of the user (or API token) that approved the wave; the server resolves the stored actor reference. Unresolvable references (deleted users) are returned as stored (“user:<id>”).
approvedAtstringFormat date-time.
startedAtstringFormat date-time.
finishedAtstringFormat date-time.
counts (required)RolloutCounts

SavedFilter

FieldTypeDescription
id (required)stringFormat uuid.
userId (required)stringFormat uuid.
name (required)string
page (required)stringExample agents.
query (required)AnyMap
shared (required)boolean
createdAt (required)stringFormat date-time.

SavedFilterList

FieldTypeDescription
items (required)array of SavedFilter

SelectFleetVersionRequest

FieldTypeDescription
version (required)stringPattern ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z][0-9A-Za-z.-]*)?$. Example 0.162.0.
reasonstringAt most 500 characters.
expectedTargetVersionstringOptimistic concurrency - the effective target the operator saw ("" = none). Mismatch -> 409.

SelectFleetVersionResponse

FieldTypeDescription
target (required)FleetVersionTarget
planned (required)booleanThe leader planned the fleet for this selection within the wait time.
rolloutIdstringFormat uuid.
targetsintegerTargets of the rollout (when rolloutId is set).
messagestringEnglish hint, e.g. “no collector of the fleet needs an update”.

Selector

All matchAttributes and matchExpressions must match (AND). Empty selector matches all agents.

FieldTypeDescription
matchAttributesStringMap
matchExpressionsarray of SelectorRequirement

SelectorOperator

Type: string. Values:

  • In
  • NotIn
  • Exists
  • DoesNotExist
  • Glob

SelectorRequirement

FieldTypeDescription
key (required)stringExample site.type.
operator (required)SelectorOperator
valuesarray of string

SettingsSummary

FieldTypeDescription
gitopsSource (required)string
gitopsBranch (required)string
gitopsPollInterval (required)Duration
releasesRepo (required)string
releasesPollInterval (required)Duration
trackedDistributions (required)array of string
artifactSource (required)string
signatureVerification (required)boolean
defaultTimezone (required)string
offlineAfter (required)Duration
retentionAgentEvents (required)Duration
retentionAudit (required)Duration

SourceRef

FieldTypeDescription
path (required)stringExample fleets/edge-nl.yaml.
commit (required)string
contentHashHash

StringMap

Type: map of string to string.

SystemInfo

FieldTypeDescription
version (required)string
commit (required)string
buildDate (required)string
replicaId (required)string
leaderIdstring
replicas (required)array of Replica
publicUrl (required)string
opampEndpoint (required)stringExample wss://fleet.example.com/v1/opamp.
database (required)DatabaseInfo
features (required)FeatureFlags
settings (required)SettingsSummary

TargetProgress

Live progress of a version-rollout target, derived by the rollout engine (leader) from the target, the OpAMP package status of the linked myriarch-updater and the myriarch-updater’s update-phase health component “dev.myriarch.update” (docs/design/version-selection.md, Target progress, and docs/design/updater-protocol.md, Update health component). Refreshed on every engine tick after a change (about 1-2 s) and frozen when the target reaches a final status. Absent for config rollouts and for targets that were never started.

FieldTypeDescription
phase (required)UpdatePhase
source (required)ProgressSource
attemptintegerTarget attempt this progress belongs to.
fromVersionstring
toVersionstring
downloadPercentnumberRange 0 to 100.
errorstringError of the failed step or of the target (English).
steps (required)array of UpdateStepFixed order offered, downloading, verifying, installing, restarting, health_check, rolling_back (only when a rollback happened), health_wait. Executor source: offered, installing (external update until the version is reported), health_wait.
updatedAt (required)stringFormat date-time.

TargetStatus

Type: string. Values:

  • pending
  • waiting_window
  • in_progress
  • verifying
  • succeeded
  • failed
  • skipped
  • cancelled
  • rolled_back

UIConfigInfo

Language options of the web UI (ui.* in the server configuration). Contains no secrets.

FieldTypeDescription
defaultLanguage (required)stringBCP 47 tag the UI uses when the user has no stored choice and no browser language matches a shipped locale.
languagesarray of stringRestricts the languages the UI offers. Entries are BCP 47 tags and match a shipped language by the full tag or the primary subtag (“de-DE” enables “de”). Omitted or empty means every language the UI ships.

UpdatePhase

Current phase of a version update on one target. offered = the update was handed to the executor (package offered to the myriarch-updater / external call accepted) and the host has not started yet; downloading .. health_check, rolling_back = reported by the myriarch-updater; health_wait = the collector reports the target version and myriarchd’s health wait (policy healthWait) runs; succeeded / failed / cancelled = final target state; rolled_back = the host runs the previous version again (automatic rollback by the myriarch-updater, target status failed, or rollout rollback, target status rolled_back).

Type: string. Values:

  • offered
  • downloading
  • verifying
  • installing
  • restarting
  • health_check
  • rolling_back
  • health_wait
  • succeeded
  • failed
  • rolled_back
  • cancelled
FieldTypeDescription
agentId (required)stringFormat uuid.
online (required)boolean
ambiguousbooleanCollector side only - more than one online myriarch-updater with the same credential claims this collector; package offers are not made in that state.

UpdateSpec

FieldTypeDescription
executorExecutorType
executorRefstring
paramsAnyMap
selectionVersionSelectionSpec

UpdateStep

FieldTypeDescription
name (required)UpdateStepName
status (required)UpdateStepStatus
startedAtstringFormat date-time.
finishedAtstringFormat date-time.
detailstringShort English detail, e.g. “sha256 + sigstore verified”, or the error of a failed step.

UpdateStepName

Type: string. Values:

  • offered
  • downloading
  • verifying
  • installing
  • restarting
  • health_check
  • rolling_back
  • health_wait

UpdateStepStatus

Type: string. Values:

  • pending
  • running
  • done
  • failed
  • skipped

UpdateUserRequest

FieldTypeDescription
roleRole
disabledboolean

User

FieldTypeDescription
id (required)stringFormat uuid.
subject (required)string
provider (required)stringOne of oidc, local, bootstrap.
emailstring
namestring
role (required)Role
roleSource (required)stringOne of mapping, manual.
disabled (required)boolean
createdAt (required)stringFormat date-time.
lastLoginAtstringFormat date-time.

UserList

FieldTypeDescription
items (required)array of User

VersionComparison

FieldTypeDescription
distribution (required)string
from (required)string
to (required)string
versions (required)array of string
breakingChanges (required)array of ChangelogEntry
deprecations (required)array of ChangelogEntry

VersionCount

FieldTypeDescription
version (required)string
count (required)integer
outdated (required)boolean

VersionOption

FieldTypeDescription
version (required)string
selectable (required)boolean
reasonCodestringWhy the version cannot be selected (absent when selectable). One of current_target, outside_frame, downgrade_not_allowed, prerelease_not_allowed, unknown_version.
reasonstringEnglish explanation of reasonCode.
known (required)booleanThe release tracker knows this release.
prerelease (required)boolean
isLatest (required)booleanLatest stable release of the distribution.
isCurrentTarget (required)boolean
isGitVersion (required)booleanEquals spec.collector.version.
isDowngrade (required)booleanLower than the current effective target.
publishedAtstringFormat date-time.
agentsToUpdate (required)integerMember collectors whose reported version differs from this version.
breakingCount (required)integerBreaking changes between the current effective target (else the lowest member version) and this version; 0 if unknown.
deprecationCount (required)integer

VersionSelectionSpec

spec.update.selection in Git: the frame within which operators may choose the target version of the fleet in the UI/API (docs/concepts/fleets.md). Exactly one of versionRange / versions is set when enabled.

FieldTypeDescription
enabled (required)booleanUI/API-triggered version updates are allowed (default false).
versionRangestringSemantic version constraint (Masterminds semver v3 syntax, versions without “v”). Example >=0.161.0, <=0.162.0.
versionsarray of stringExplicit list of selectable versions (alternative to versionRange). Items: example 0.162.0.
allowDowngrade (required)booleanVersions lower than the current effective target may be selected (default false).
requireReason (required)booleanA reason is mandatory when selecting or clearing (default false).
rolloutPolicystringRolloutPolicy for rollouts caused by a UI selection (default spec.rollout.versionPolicy).

VersionSelectionState

Type: string. Values:

  • active
  • invalidated

VersionTargetSource

Where the effective target version of a fleet comes from: git = spec.collector.version; ui = an active UI selection; hold = a UI selection that a later Git change excluded from the frame (no target, no new version rollouts until an operator selects an allowed version, clears the selection or Git changes spec.collector.version); none = no target (no Git version, no selection).

Type: string. Values:

  • git
  • ui
  • hold
  • none

WaveSpec

FieldTypeDescription
name (required)string
selectorSelector
percentintegerRange 1 to 100.
requireApprovalboolean

WaveStatus

Type: string. Values:

  • pending
  • waiting_approval
  • running
  • completed
  • failed
  • skipped