Schemas of the native REST API whose name starts with A.
About
Service information.
Name
Type
Required
Description
apiVersion
string
yes
API version.
isLeader
boolean
yes
Whether this node is the leader.
name
string
yes
Product name.
nodeId
integer (int64)
yes
Store node id.
records
integer
yes
Number of records.
storeVersion
integer (int64)
yes
Current store version.
uptimeSeconds
integer (int64)
yes
Uptime in seconds.
version
string
yes
Build version.
AcknowledgeRequest
Acknowledge request.
Name
Type
Required
Description
targetId
string
yes
Entity whose state is acknowledged.
ActionView
Rule action.
Values: "allow", "drop", "reject", "pass"
AddHostRequest
Body for POST /v1/clusters/{id}/hosts (AddHost_Task).
Name
Type
Required
Description
force
boolean or null
When true, return an existing same-name host instead of failing; a registered host in this cluster is reset (its certificate revoked) so its agent can join again with the join token.
managementAddress
string or null
Optional management address; defaults to name.
name
string
yes
Host display name / FQDN (must match the agent's hostname at join).
POST /v1/auth/mfa body: the challenge token and exactly one of code and recoveryCode.
Name
Type
Required
Description
code
string or null
Six-digit TOTP code.
pendingToken
string
yes
pendingToken from the login response (mfaToken is accepted as an alias).
recoveryCode
string or null
A recovery code.
AuthPasswordRequest
POST /v1/auth/password body.
Name
Type
Required
Description
currentPassword
string
yes
Current password.
newPassword
string
yes
New password (12..=256 characters, not common, not containing the username).
AuthResponse
Response of the browser login endpoints (/v1/auth/login, /mfa, /refresh, /password, /totp/confirm). Token responses also set the kyv_refresh and kyvernon_csrf cookies. Shape agreed with the UI (ui/app/src/auth/contract.ts).
Name
Type
Required
Description
outcome
string
yes
session (a session, possibly restricted to the password change, see session.passwordRotationRequired), mfa_enrolment_required (a session restricted to TOTP enrolment) or mfa_required (no session; answer with pendingToken).
pendingToken
string or null
For mfa_required: the single-use challenge token for POST /v1/auth/mfa.
pendingTokenExpiresAt
string or null
For mfa_required: expiry of the challenge (5 minutes).
recoveryCodes
array of string or null
Only from POST /v1/auth/totp/confirm: ten single-use recovery codes, shown once.