The account's role in it: owner, admin, operator or user
created_at
string (date-time)
AccountSecurityEvents
Field
Type
What it is
events
array of object
Newest first
events[].id
integer
events[].action
string, one of login, logout, totp_failed, password_changed, totp_enabled, totp_disabled, totp_recovery_codes, session_signed_out, session_replaced, session_limit, password_reset, password_reset_link_sent, totp_disabled_by_admin, session_ended_by_admin, user_disabled, user_enabled, impersonation_started
events[].at
string or null (date-time)
events[].ip
string
The address of an entry the account wrote itself, "" otherwise
events[].actor
string
Who did it when that was someone else, "" otherwise
events[].reason
string
The reason an admin gave, for impersonation_started
AgentAnswer
An answer of a device's NeoDesk agent.
Field
Type
Required
What it is
success
true
yes
data
yes
What the agent answered, or the snapshot the server keeps
cached
boolean
Only when true: the agent is offline and data is the snapshot the server keeps
collected_at
string (date-time)
With cached: when the device collected the snapshot
pending
boolean
With cached: the snapshot is older than a minute and a new collection is queued for when the agent comes back
AgentQueued
The agent is offline and a collection is queued for when it comes back.
Field
Type
Required
What it is
success
true
yes
pending
true
yes
data
object
yes
data.pending
true
data.command
string
The collection queued for the device
AlertRule
An alert rule as it is stored.
Field
Type
What it is
id
integer
name
string
description
string
enabled
integer or boolean
1 or 0 on SQLite, true or false on PostgreSQL
condition_type
string, one of cpu_usage, memory_usage, disk_usage, offline_duration, idle_duration, date_field_within, custom
date_field_within watches a date field of the devices: condition_field names it, condition_value is the days ahead, and the comparison is lte
condition_op
string, one of gt, gte, lt, lte, eq, neq
condition_value
number
severity
string, one of info, warning, critical
scope_device_id
string or null
The one device the rule watches, null for every device
cooldown_seconds
integer
Seconds between two alerts of the rule for one device
notify_emails
string
Addresses separated by commas that get the alert mail, "" for none
condition_field
string or null
Only on rules of the type date_field_within: the key of the date field the rule watches, null when its field key is gone
created_by
string or null
created_at
string or null (date-time)
On SQLite the stored text, on PostgreSQL an ISO time with
updated_at
string or null (date-time)
On SQLite the stored text, on PostgreSQL an ISO time with
ApiToken
An API token of the console
Field
Type
What it is
id
string
name
string
hint
string
ndt_<id>_…: the start of the token, never the secret
user_id
integer
username
string
The account it acts as
permissions
array of string
read_only
boolean
allow_list
array of string
Addresses or networks it works from; empty for any
state
string, one of active, expired, revoked
created_at
string or null (date-time)
expires_at
string or null (date-time)
last_used_at
string or null (date-time)
last_used_ip
string or null
revoked_at
string or null (date-time)
revoked_by
string or null
The username that revoked it
full
boolean
Full access: made with every permission of its account, it may do whatever the account may do, also with permissions the account gains later. permissions are then the ones it was made with. A token that is not full keeps to its permissions.
ApiTokenUses
What the token made, counted by kind
Field
Type
guest_links
integer
device_tokens
integer
support_sessions
integer
invites
integer
pairing_codes
integer
share_links
integer
organization_invitations
integer
AttestationBadge
Field
Type
Required
What it is
success
true
yes
config
object
yes
The stored texts; empty texts use the defaults
config.badgeTitle
string
yes
config.tierLabels
object
yes
config.tierLabels.bronze
string
yes
config.tierLabels.iron
string
yes
config.tierLabels.platinum
string
yes
config.tierLabels.titanium
string
yes
config.tierLabels.obsidian
string
yes
presentation
object
yes
How the badge reads in the request language, with the defaults filled in
presentation.brand
string
presentation.badgeTitle
string
presentation.tierLabels
object
presentation.tierLabels.bronze
string
yes
presentation.tierLabels.iron
string
yes
presentation.tierLabels.platinum
string
yes
presentation.tierLabels.titanium
string
yes
presentation.tierLabels.obsidian
string
yes
presentation.tierLabel
string or null
AttestationResult
The result of a performance test as stored
Field
Type
What it is
valid
boolean
True when the test reached a tier
mode
string, one of loadtest, estimated
loadtest when the count comes from the load test, estimated when it was worked out from the machine
tier
string or null, one of bronze, iron, platinum, titanium, obsidian, null
maxConnections
number
The connections the server held
signalConnections
integer
relaySessions
integer
thresholdPercent
integer
The load in percent of processor, memory or disk at which the test stops adding connections (80)
testedAt
string (date-time)
completedAt
string (date-time)
durationMs
integer
aborted
boolean
metricsHost
string
The host name the metrics came from
finalMetrics
object
finalMetrics.cpuPercent
number
finalMetrics.memPercent
number
finalMetrics.diskPercent
number
baseline
object
The machine before the test: CPU, memory and disk use
rampSteps
array of object
rampSteps[].at
string (date-time)
rampSteps[].connections
integer
rampSteps[].signalConnections
integer
rampSteps[].relaySessions
integer
rampSteps[].cpuPercent
number
rampSteps[].memPercent
number
rampSteps[].diskPercent
number
rampSteps[].errorPercent
number
targets
object
The signal and relay addresses the test connected to
probeLog
array
errorPercent
number
diskBaselineHigh
boolean
True when the disk was 75% full or more before the test
wsResolved
boolean
Whether the WebSocket addresses could be worked out
AuditAlarmRecord
A security alarm a RustDesk client reported.
Field
Type
What it is
id
integer
alarm_type
integer
0 to 6
alarm_name
string
host_id
string
peer_id
string
ip
string
details
string
JSON text
created_at
string (date-time)
AuditConnectionRecord
A connection a RustDesk client reported.
Field
Type
What it is
id
integer
host_id
string
The device that reported it
host_uuid
string
peer_id
string
The other side
peer_name
string
action
string
Such as connect
conn_type
integer
The connection type, 0 to 4
session_id
string
ip
string
created_at
string (date-time)
AuditEvent
Field
Type
What it is
timestamp
string (date-time)
action
string
What happened, such as peer_banned
actor
string
Who did it: an account, api, system or an IP address
target
string
details
object
More about it, as text values
AuditFileRecord
A file transfer a RustDesk client reported.
Field
Type
What it is
id
integer
host_id
string
host_uuid
string
peer_id
string
direction
integer, one of 0, 1
0 or 1
path
string
is_file
integer
1 for a file, 0 for a folder
num_files
integer
files_json
string
The files as JSON text, at most 100
ip
string
peer_name
string
created_at
string (date-time)
AuditPerson
Field
Type
id
integer
username
string
display_name
string
AutomationSmtpSettings
The SMTP settings in use, the password masked.
Field
Type
Required
What it is
configured
boolean
yes
false when no mail server is set; the answer then has no other member
host
string
port
integer
secure
boolean
user
string
pass
string
"********" when a password is stored, else ""
from
string
alert_email
string
Addresses separated by commas that get alert mails
tlsVerify
boolean
Whether the mail server's certificate is checked; left out when the settings don't say
AutomationSuccess
Field
Type
Required
success
true
yes
BackupSchedule
Field
Type
Required
What it is
enabled
boolean
yes
intervalHours
integer
yes
Hours between backups, 1 to 720
retentionCount
integer
yes
How many scheduled backups to keep, 1 to 365
destinationType
string, one of local, path
yes
local writes to the console's backup folder, path to destinationPath
destinationPath
string
yes
The absolute folder for the path type; empty for local, except in the answer to a save, which names the local folder
timeOfDay
string
The time of day as HH:MM, on intervals of whole days only
changedAt
string (date-time)
When the timing was last changed; a time of day counts from then
BackupScheduleStatus
The state of the last scheduled runs
Field
Type
What it is
lastAttemptAt
string or null (date-time)
lastSuccessAt
string or null (date-time)
lastFile
string or null
The file name of the last backup
lastSha256
string or null
lastValidation
object or null
lastError
string or null
lastPruned
integer
Old backups deleted after the last run
BillingClockSettings
Field
Type
What it is
ntp_servers
string
Time servers, separated by commas
max_skew_ms
integer
How far off the clock may be, in milliseconds, before it counts as out of sync
require_synced_clock
boolean
Refuse billed sessions while the clock is out of sync
trust_os_ntp
boolean
Count the clock as in sync when the operating system syncs it
server_timezone
string
The server's time zone (SERVER_TIMEZONE): billing months, reports, schedules and file names count their days in it
BillingClockStatus
The server's clock as the billing sees it.
Field
Type
What it is
synced
boolean
offset_ms
integer
How far the server's clock is off, in milliseconds
last_check_at
string (date-time)
ntp_server
string
The time server of the best answer; left out when none answered
stratum
integer
Left out when no time server answered
max_skew_ms
integer
require_sync_for_billing
boolean
last_error
string
Left out when the last check worked
os_clock_synced
boolean
Whether the operating system says its clock is synced; left out when not asked
BillingConnectionCheck
Whether a device may start a billed session, and the contract that applies: the device's own (older data), else its device group's, else its organization's.
Field
Type
Required
What it is
allowed
boolean
yes
false when the contract is suspended or the server's clock is not in sync
reason
string, one of clock_unsynced, billing_suspended
Why the session is refused; left out when allowed
has_billing
boolean
yes
true when a contract applies to the device
org_id
string
Left out when the device has no organization
contract_id
string
Left out without a contract
package_id
string
Left out without a contract
package_name
string
Left out without a contract
remaining_minutes
integer
Left out without a contract
currency
string
Left out without a contract
BillingContract
A billing contract: a package given to a device group, an organization or a device.
Field
Type
What it is
id
string
target_type
string, one of device_group, org, device, folder
What the package is given to
target_key
string
The device group GUID, organization id or device id
target_name
string
The name of the target, left out when unknown
package_id
string
package_name
string
Left out when the package is gone
status
string
active or suspended. A suspended contract refuses new billed sessions.
remaining_minutes
integer
Included minutes left in the current billing month
current_period_ym
string
The billing month (YYYY-MM) remaining_minutes applies to; left out before the first session
overage_rate_minor
integer
Price per hour beyond the included minutes, in minor units of currency: cents of EUR, yen of JPY, fils of BHD, where the contract sets its own; left out otherwise
hourly_rate_minor
integer
Price per hour of the included minutes, in minor units of currency: cents of EUR, yen of JPY, fils of BHD
currency
string
The package's ISO 4217 code
valid_from
string (date-time)
Left out when not set
valid_until
string (date-time)
Left out when not set
created_at
string (date-time)
updated_at
string (date-time)
org_id
string
The target_key again when target_type is org; left out otherwise
org_name
string
The target_name again when target_type is org; left out otherwise
BillingPackage
A billing package: the support minutes a contract gets each month and the price beyond them.
Field
Type
What it is
id
string
name
string
description
string
Left out when empty
included_minutes
integer
Minutes a contract of the package gets each billing month
rounding_minutes
integer
A session is billed in steps of this many minutes, rounded up
overage_rate_minor
integer
Price per hour once the included minutes are used up, in minor units of currency: cents of EUR, yen of JPY, fils of BHD
currency
string
ISO 4217 code; the package's contracts and their sessions bill in it
created_at
string (date-time)
updated_at
string (date-time)
BillingPackagePreview
What a package billed in one month over all its contracts.
The month's overage amount, one entry per currency, sorted by code: amounts in different currencies are never added up. Empty when nothing was billed beyond the included minutes.
available_periods
array of string
Months with totals, the current month first
BillingSession
A billed remote session.
Field
Type
What it is
id
string
org_id
string
contract_id
string
Left out when no contract applied
operator_id
string
Who connected: the client id or console account the signal server recorded
operator_name
string
The console account of the operator, left out when unknown
device_id
string
device_name
string
Left out when unknown
relay_uuid
string
Left out when not known
transport
string
status
string, one of active, pending_report, closed
pending_report: the session ended and waits for its work report
billing_phase
string, one of included, overage
started_at
string (date-time)
ended_at
string (date-time)
Left out while the session runs
raw_seconds
integer
billed_minutes
integer
raw_seconds rounded up to the package's rounding_minutes
included_minutes_used
integer
overage_minutes
integer
amount_included_minor
integer
The included minutes at the contract's hourly rate, in minor units of currency: cents of EUR, yen of JPY, fils of BHD, rounded half away from zero once for the session
amount_overage_minor
integer
The overage minutes at the overage rate, in minor units of currency: cents of EUR, yen of JPY, fils of BHD, rounded half away from zero once for the session
currency
string
ISO 4217 code of the contract's package when the session started
clock_offset_ms_at_start
integer
How far the server's clock was off when the session started
clock_synced_at_start
boolean
created_at
string (date-time)
updated_at
string (date-time)
BillingStats
Field
Type
What it is
active_sessions
integer
Billed sessions running now
contracts_expiring_30d
integer
Contracts whose valid_until falls in the next 30 days
BillingWorkReport
The work report an operator writes after a billed session.
Field
Type
What it is
id
integer
session_id
string
operator_id
string
Who wrote the report
summary
string
category
string
Left out when empty
ticket_ref
string
Left out when empty
created_at
string (date-time)
BlocklistEntry
Field
Type
What it is
value
string
The IP address, CIDR network or device ID
type
string, one of ip, id, cidr
reason
string
created_at
string (date-time)
BrandingMessage
Field
Type
Required
success
true
yes
message
string
yes
BrandingProfileChange
Field
Type
What it is
name
string
Trimmed and cut at 80 characters; at most 80 characters
description
string
Cut at 200 characters; at most 200 characters
branding
object
The settings to keep in the profile, flat or nested
BrandingProfileId
Field
Type
Required
success
true
yes
data
object
yes
data.id
integer
yes
CdapAlert
Field
Type
alert_id
string
device_id
string
label
string
severity
string, one of critical, warning, info
message
string
firing
boolean
fired_at
string (date-time)
cleared_at
string (date-time)
CdapDelegation
Field
Type
What it is
id
string
grantor
string
The admin who gave the role
grantee
string
The account that gets the role
device_id
string
widget_ids
array of string or null
The widgets it covers; empty or null means all of the device
role
string, one of operator, admin
expires_at
string (date-time)
created_at
string (date-time)
reason
string
CdapDeviceInfo
A CDAP device. A device that is not connected but has a saved manifest has only id, connected (false) and manifest.
RFC 3339 in UTC with milliseconds; null when never edited
deleted
boolean
yes
reactions
object
yes
Who reacted, by emoji
event
object
What a line of the system says, like {"event":"assigned","by":"Anna","to":"Ben"}
ChatParty
Field
Type
Required
kind
string, one of device, user, system
yes
id
string
yes
name
string
yes
ChatPerson
A console account as the chat shows it.
Field
Type
Required
What it is
id
integer
yes
The account id
name
string
yes
First and last name, else the user name
username
string
yes
role
string
yes
status
string
yes
offline when the account has no chat open, else its status in the chat, like online
ClientAddressBookAnswer
Field
Type
Required
What it is
data
string
yes
The address book as JSON text: {"tags": [...], "peers": [{"id", "username", "hostname", "platform", "alias", "tags", ...}], "tag_colors": ...}; "{}" when empty
ClientBranding
The branding NeoDesk Desktop and RustDesk clients get from the server API.
Field
Type
Required
What it is
schema_version
1
yes
revision
string
yes
Changes with every save: the time of the save in Unix milliseconds. "0" means there is no branding of the server's own to apply, "1" is a server in custom mode whose client branding was never saved
mode
string, one of neodesk, custom
yes
In neodesk mode the clients get NeoDesk's own branding
powered_by
boolean
yes
Whether the client must show the "Powered by NeoDesk" badge next to the branding
Changes whenever a setting changes; the console sends it as X-Branding-Revision with /css/branding.css
ConsoleBrandingReadability
The readability checks of the colors: ok, and the issues found.
Field
Type
issues
array of object
issues[].id
string
issues[].message
string
issues[].messageKey
string
issues[].messageParams
object
issues[].messageParams.item
string
issues[].messageParams.type
string
issues[].severity
string
ok
boolean
ConsoleBrandingSettings
The console's branding settings by their stored names, every one but colors and loginSlides as text (flags as "true" or "false").
Field
Type
What it is
appName
string
appDescription
string
logoType
string
logoIcon
string
logoSvg
string
logoUrl
string
logoText
string
logoTextAccent
string
fontHeading
string
fontBody
string
faviconSvg
string
bgType
string
bgColor
string
bgGradient
string
bgImageUrl
string
bgBlur
string
bgOverlay
string
bgSize
string
glassEnabled
string
glassColor
string
glassBlur
string
glassOpacity
string
loginBgType
string
loginBgColor
string
loginBgGradient
string
loginBgImageUrl
string
loginBgOverlay
string
loginTitle
string
loginSubtitle
string
loginPromoMode
string
loginSlides
array of object
The slides of the sign-in page
footerText
string
showPoweredBy
string
agentBgType
string
agentBgColor
string
agentBgGradient
string
agentBgImageUrl
string
agentShowPoweredBy
string
customCss
string
appearanceSchemaVersion
string
themeMode
string
colors
object
Color names such as bgPrimary or accentBlue and their values
rdclientBgType
string
rdclientBgColor
string
rdclientBgGradient
string
rdclientBgImageUrl
string
rdclientBgOverlay
string
rdclientBgSize
string
ConsoleError
A console error.
Field
Type
Required
What it is
success
false
yes
error
string
yes
What went wrong, in English
code
string
A stable code for some errors, such as session_required, token_invalid, token_read_only, token_not_allowed, token_not_full, token_rate_limited or panel_access_denied
ConsoleLanguage
Field
Type
Required
What it is
code
string
yes
The language code, like de or pt-BR
name
string
yes
The name in English
native
string
yes
The name in the language itself
flag
string
yes
rtl
boolean
yes
Written right to left
ConsolePlainError
The error answer of the inventory, activity and data guard routes, without success.
Field
Type
Required
error
string
yes
ConsoleReport
A report of the console, made on demand.
Field
Type
What it is
type
string, one of devices, activity, security, tickets, network, inventory, alerts
label
string
The name of the type, such as Device Summary
generated_at
string (date-time)
ISO time in UTC
filters
object
from and to as the request gave them; left out when not given
filters.from
filters.to
data
object
The report. Its fields depend on the type.
ConsoleSuccess
The console's answer to a write that has nothing more to say.
Field
Type
Required
success
true
yes
data
ConsoleThemeFile
A theme file: the appearance model and the flat settings. An import lays the flat settings over the appearance part.
Only on servers with sites: the site it is at, {id, name}
fields
object
The values of the device fields the account sees, by key (defaults applied); only when it sees any field. A field of the device's organization without a value is null; one of another organization is left out.
DeviceFolder
A folder of devices.
Field
Type
What it is
id
integer
name
string
color
string
A CSS color, like #6366f1
icon
string
sort_order
integer
created_at
string (date-time)
device_count
integer
How many of the devices the account sees are in it
allowed_users
array of string
Usernames that may see the folder's devices
allowed_groups
array of string
GUIDs of the user groups whose members may see the folder's devices
site_id
string or null
Only on servers with sites: the site the folder is pinned to
DeviceGroup
A device group with its access lists and member count.
The features policy group. A setting left out has no rule.
Field
Type
What it is
allow_file_transfer
boolean
allow_clipboard
boolean
allow_audio
boolean
allow_recording
boolean
allow_printing
boolean
false: the operator can't print from the device to their own printer
OrgPolicyNetwork
The network policy group, which the server applies itself. A setting left out has no rule.
Field
Type
What it is
block_direct_p2p
boolean
allowed_relay_servers
array of string
Relay servers as host or host:port; an IPv6 address with a port in brackets
ip_allowlist
array of string
IP addresses or ranges such as 192.168.1.0/24
OrgPolicySaved
Field
Type
Required
status
"ok"
yes
category
string, one of connection, features, security, network, update
yes
OrgPolicySecurity
The security policy group. A setting left out has no rule.
Field
Type
What it is
require_2fa
boolean
password_min_length
integer
at least 6, at most 128
password_require_special
boolean
password_max_age_days
integer
at least 0, at most 365
allowed_operators
array of string
Account names that may connect without asking
allow_uninstall
boolean
false: people on the device can't remove the NeoDesk app. Left out allows it
allow_shell
boolean
false: devices without a desktop turn their shell off. Left out allows it
shell_login
string, one of account, device_password
How devices without a desktop let a shell in: account (the server vouches for the console account, the default) or device_password (they ask the device password)
OrgPolicyUpdate
The update policy group. A setting left out has no rule.
Field
Type
auto_update
boolean
channel
string, one of stable, beta
Organization
An organization of the server API.
Field
Type
Required
What it is
id
string
yes
A UUID
name
string
yes
slug
string
yes
logo_url
string
Left out when empty
settings
string
A JSON text the organization keeps, "{}" when it was made without one; left out when empty
created_at
string (date-time)
yes
OrganizationAvailableAccount
A console account that is not a member of the organization yet.
Field
Type
Required
What it is
id
integer
yes
username
string
yes
role
string
yes
is_server_admin
boolean
auth_provider
string
local, ldap or oidc; empty for accounts made before the column existed
totp_enabled
boolean
created_at
string (date-time)
last_login
string (date-time)
Left out before the first sign-in
OrganizationDevice
A device of an organization.
Field
Type
Required
What it is
org_id
string
yes
device_id
string
yes
assigned_user_id
string
Left out when empty
department
string
Left out when empty
location
string
Left out when empty
building
string
Left out when empty
tags
string
Text as it was given, such as "office,ground-floor"; left out when empty
OrganizationInvitation
An invitation to a sign-in in an organization.
Field
Type
Required
What it is
id
string
yes
A UUID
org_id
string
yes
token
string
The invitation code, 64 hex characters, only in the answer that makes the invitation. The person opens it on the web console's /invite page and picks a username and password there
email
string
Left out when the invitation was made without one
role
string, one of user
yes
expires_at
string (date-time)
yes
used_at
string (date-time)
Left out while nobody used the invitation
OrganizationOk
Field
Type
Required
status
"ok"
yes
OrganizationPeerCredential
A device of an organization with a saved connect password. The password itself is never in an answer.
Field
Type
Required
What it is
org_id
string
yes
peer_id
string
yes
password_set
true
yes
updated_at
string (date-time)
Left out when not known
updated_by
string
The account or API key that saved it, such as apikey:console-bridge; left out when not known
OrganizationSetting
One stored setting of an organization.
Field
Type
Required
What it is
org_id
string
yes
key
string
yes
value
string
yes
The stored text. The policy groups are kept here as JSON text under policy_<group>, the shared address book switch as shared_address_book_enabled
OrganizationUser
A user of an organization: a sign-in of the organization for NeoDesk Desktop, or a console account linked as a member.
Field
Type
Required
What it is
id
string
yes
A UUID
org_id
string
yes
server_user_id
integer
The console account a member stands for; left out for a sign-in of the organization itself
username
string
yes
display_name
string
Left out when empty
email
string
Left out when empty
role
string, one of owner, admin, operator, user
yes
The role in the organization. Users, members and invitations made through the API get user; a role in a request body is not read
avatar_url
string
Left out when empty
last_login
string (date-time)
Left out before the first sign-in
created_at
string (date-time)
yes
PairingCode
A pairing code that can still be redeemed, without the code itself.
Field
Type
What it is
id
string
The first 16 hex digits of the code's hash
label
string
created_at
string (date-time)
expires_at
string (date-time)
created_by
string
PanelAccessPolicy
What an account or a user group may use, resolved
Field
Type
What it is
subject_type
string, one of user, group
subject_id
string
sections
object
Per section key, in catalog order
features
object
Per client feature key
groups
array of object
The account's user groups; not in a group's policy
groups[].guid
string
groups[].name
string
PanelAccessRules
Field
Type
sections
array of object
sections[].resource_key
string
sections[].access_level
string, one of none, read, write
features
array of object
features[].feature_key
string
features[].enabled
boolean
PeerAvailability
The online and offline changes the server saw on one day.
Field
Type
What it is
peer_id
string
enabled
boolean
The server keeps availability history
retention_days
integer
day
string
YYYY-MM-DD
tz_offset_minutes
integer
from
string (date-time)
to
string (date-time)
count
integer
events
array of object
events[].id
integer
events[].peer_id
string
events[].from_status
string
events[].to_status
string
events[].source
string
events[].created_at
string (date-time)
PeerSnapshot
The live state of a device registered with the signal server.
Field
Type
What it is
id
string
ip
string
nat_type
integer
conn_type
string
udp, tcp or ws
status
string, one of ONLINE, DEGRADED, CRITICAL, OFFLINE
version
string
local_addr
string
banned
boolean
disabled
boolean
first_seen
string (date-time)
last_heartbeat
string (date-time)
heartbeat_count
integer
missed_beats
integer
ip_history
array of string
uptime_seconds
number
time_since_last_beat_seconds
number
has_pk
boolean
The device registered its public key
PendingEmailChange
A new email address that waits for its confirmation
Field
Type
What it is
email
string
The new address
expires_at
string (date-time)
Until when the confirmation link works
expired
boolean
PendingEnrollment
A device waiting in the server API's enrollment queue.
q and a number. Send it back to keep the question's answers together; a new question gets one.
kind
string, one of rating, text, choice, yesno
yes
label
string
yes
1 to 200 characters; at most 200 characters
required
boolean
long
boolean
A long text field; only for text
options
array of string
The choices, 2 to 8 different ones; only for choice; at most 8 items
QuickSupportSession
A quick support session as the helper who made it sees it.
Field
Type
Required
What it is
id
string
yes
16 hex digits, the id of its code
status
string, one of waiting, opened, asking, allowed, declined, ended, expired
yes
waiting: nobody opened the link yet; opened: the app took the code; asking: the app asks the person; allowed: the person let the helper in; declined, ended and expired are over
name
string
yes
The person the session is for
email
string
yes
folder_id
integer or null
yes
The folder the computer goes into
created_by
string
yes
created_at
string (date-time)
yes
expires_at
string (date-time)
yes
When the link stops working, an hour after it was made
redeemed_at
string or null (date-time)
yes
When the app took the code; null before
consent_at
string or null (date-time)
yes
When the person allowed or declined; null before
ended_at
string or null (date-time)
yes
null while the session runs
ended_by
string
yes
Who ended it: supporter, customer, timeout, token_ended (its API token ended) or refused (the server refused the computer); empty while it runs
end_reason
string
Why the server ended it, like device_revoked or device_blocked; left out otherwise
device_id
string
yes
The computer's ID once the app reported it
hostname
string
yes
platform
string
yes
password_ready
boolean
yes
The app handed over a session password that support sessions password can take
RelayNode
A relay node of a site. A revoked node is offline with no traffic.
Field
Type
What it is
id
string
name
string
site_id
string
online
boolean
version
string
last_seen
string or null (date-time)
created_at
string (date-time)
lan_addr
string
public_addr
string
active_sessions
integer
up_bytes
integer
down_bytes
integer
forwarded_devices
integer
How many devices reach the server through the node now
revoked
boolean
revoked_at
string or null (date-time)
RemoteCommand
A command sent to a device's agent, as it is stored.
Field
Type
What it is
id
integer
device_id
string
command_type
string, one of shell, powershell, script, restart_service, reboot
payload
string
status
string
pending until the agent fetches it, then what the agent reports
result
string or null
What the agent reported. Lists leave it out and give has_result
has_result
boolean
In lists only: whether the command has a result that is not empty
created_by
string
created_at
string or null (date-time)
On SQLite the stored text, on PostgreSQL an ISO time with
executed_at
string or null (date-time)
On SQLite the stored text, on PostgreSQL an ISO time with
completed_at
string or null (date-time)
On SQLite the stored text, on PostgreSQL an ISO time with
RemoteTarget
An RDP or VNC endpoint the server reaches. The password is never in it.
Field
Type
What it is
id
string
rt_ and 32 hexadecimal characters
org_id
string
The organization the target belongs to; missing for none
name
string
protocol
string, one of rdp, vnc
platform
string
host
string
port
integer
username
string
credential_mode
string, one of saved, prompt, none
saved: the server keeps the password; prompt: ask for it at each session; none
tls_mode
string, one of required, preferred, disabled
cert_fingerprint
string
The trusted certificate fingerprint, hexadecimal
enabled
boolean
last_test_at
string (date-time)
last_test_status
string
last_test_error
string
created_by
string
created_at
string (date-time)
updated_at
string (date-time)
RemoteTargetDevice
A remote target as the console lists it: the target with the fields of a device of the device list.
Field
Type
What it is
id
string
rt_ and 32 hexadecimal characters
org_id
string
The organization the target belongs to; missing for none
name
string
protocol
string, one of rdp, vnc
platform
string
host
string
port
integer
username
string
credential_mode
string, one of saved, prompt, none
saved: the server keeps the password; prompt: ask for it at each session; none
tls_mode
string, one of required, preferred, disabled
cert_fingerprint
string
The trusted certificate fingerprint, hexadecimal
enabled
boolean
last_test_at
string (date-time)
last_test_status
string
last_test_error
string
created_by
string
created_at
string (date-time)
updated_at
string (date-time)
hostname
string
The name, or the host when there is no name
display_name
string
The same as hostname
os
string
The platform
device_type
string
The protocol
remote_target
true
remote_protocol
string
The protocol
soft_deleted
boolean
true when the target is turned off
online
false
status
string, one of OFFLINE, DISABLED
DISABLED when the target is turned off, else OFFLINE
last_online
string or null (date-time)
last_test_at, or null
note
string
host:port
groups
array of object
The device groups the target is in
RestartTransaction
A restart transaction: the changes one account saved that need a restart of the server
Field
Type
What it is
id
string
phase
string, one of pending, restarting, ready, failed, unknown
status
string
The same as phase
ready
boolean
failed
boolean
startedAt
string or null (date-time)
updatedAt
string or null (date-time)
changes
array of object
The saved settings that wait for the restart
changes[].key
string
changes[].label
string
error
string or null
Why it failed, like service_restart_failed_rolled_back
token
string
Only in the answer to a confirm: the token for GET /api/settings/restart-status
restart
object
Only in the answer to a confirm: what the restart reported
restart.source
string
restart.daemonReload
object or null
restart.restarts
array of object
RustDeskPeer
A device in the shape RustDesk clients read.
Field
Type
What it is
id
string
info
object
info.device_name
string
info.os
string
info.username
string
info.version
string
status
integer
user
string
user_name
string
note
string
device_group_name
string
tags
array of string
online
boolean
alias
string
From the account's address book
hash
string
SavedReport
A report someone saved.
Field
Type
What it is
id
integer
title
string or null
report_type
string, one of devices, activity, security, tickets, network, inventory, alerts
filters
string or object
The period as JSON: text on SQLite, an object on PostgreSQL
created_by
string
The username of whoever saved it
created_at
string (date-time)
As the database holds it
payload
string or object
The report's data: JSON text on SQLite, an object on PostgreSQL
ScalingRelay
An entry of the console's relay inventory. The server does not route by it: its own settings decide which relays clients use.
Field
Type
What it is
id
string
"r-" and sixteen hex digits
name
string
address
string
host:port
location
string
max_sessions
number
max_bandwidth_bps
number
connected_devices
number
Always 0: the console has no live data of relays
active_sessions
number
Always 0
bandwidth_bps
number
Always 0
cpu_percent
number
Always 0
memory_percent
number
Always 0
status
string
Always unknown
created_at
string (date-time)
updated_at
string (date-time)
ScalingRule
A rule of the inventory that assigns devices to a relay. The server does not apply it.
Field
Type
What it is
id
string
"r-" and sixteen hex digits
name
string
match_type
string, one of subnet, group, tag, country, device_id
match_value
string
target_relay
string
fallback
string
priority
number
enabled
boolean
created_at
string (date-time)
updated_at
string (date-time)
ServerAuditEvent
An event of the server API's audit log
Field
Type
What it is
timestamp
string (date-time)
action
string
actor
string
api, admin, system, an address or a username
target
string
details
object
ServerChatGroup
A chat group on the server API.
Field
Type
Required
What it is
id
string
yes
group: and 8 characters
name
string
yes
members
string
yes
The member IDs, comma separated
created_by
string
yes
created_at
string (date-time)
yes
ServerChatMessage
A chat message as the server API stores it.
Field
Type
Required
What it is
id
integer
yes
conversation_id
string
yes
A device ID, or group:<id> for a group
from_id
string
yes
The sender: a device ID, or operator:<name>
from_name
string
yes
to_id
string
The device or group it went to; left out when empty
text
string
yes
read
boolean
yes
created_at
string (date-time)
yes
ServerError
A server API error.
Field
Type
Required
What it is
error
string
yes
What went wrong, in English
ServerPeer
A device as the server API answers it. Fields marked "only when set" are left out when empty.
Field
Type
What it is
id
string
uuid
string
pk
string
The device's public key, base64
ip
string
user
string
Only when set: the user signed in on the device
hostname
string
os
string
platform
string
The same as os
version
string
status
integer
1, or 0 for a disabled device
status_text
string
The stored status: ONLINE, OFFLINE, DEGRADED or CRITICAL
nat_type
integer
last_online
string (date-time)
created_at
string (date-time)
disabled
boolean
banned
boolean
ban_reason
string
banned_at
string (date-time)
soft_deleted
boolean
deleted_at
string (date-time)
note
string
tags
string
Comma-separated
display_name
string
device_type
string
linked_peer_id
string
live_online
boolean
Online now, by its signal registration, a recent heartbeat or a connected agent
signal_ready
boolean
Registered with the signal server now
live_status
string, one of ONLINE, DEGRADED, CRITICAL, OFFLINE
cdap_connected
boolean
The NeoDesk agent is connected
mesh_connected
boolean
The MeshCentral agent is connected
mesh_node_id
string
key_refused
boolean
Only when true: the device came back with another key, which the signal server refuses
blocked
string
Only when set: device_revoked or device_blocked
ServerPeerRow
A device as stored, without the live status.
Field
Type
What it is
id
string
uuid
string
pk
string
base64
ip
string
user
string
hostname
string
os
string
version
string
status
string
ONLINE, OFFLINE, DEGRADED or CRITICAL
nat_type
integer
last_online
string (date-time)
created_at
string (date-time)
disabled
boolean
banned
boolean
ban_reason
string
banned_at
string (date-time)
soft_deleted
boolean
deleted_at
string (date-time)
note
string
tags
string
Comma-separated
display_name
string
device_type
string
linked_peer_id
string
ServerStrategy
Field
Type
What it is
id
integer
guid
string
name
string
user_group_guid
string
device_group_guid
string
enabled
boolean
permissions
object
The features the strategy sets: Y allows, N forbids
permissions.enable-file-transfer
string, one of Y, N
permissions.disable-clipboard
string, one of Y, N
permissions.enable-clipboard
string, one of Y, N
permissions.enable-audio
string, one of Y, N
permissions.enable-tunnel
string, one of Y, N
permissions.enable-camera
string, one of Y, N
permissions.enable-remote-restart
string, one of Y, N
permissions.enable-block-input
string, one of Y, N
created_at
string (date-time)
updated_at
string (date-time)
SetupGuideStatus
Field
Type
Required
What it is
visible
boolean
yes
Whether the overview shows the guide to your account
steps
array of object
yes
steps[].id
string, one of password, two_factor, address, https, computer, session, people, backup
yes
steps[].done
boolean
yes
docker
boolean
There, and true, on a container install, where HTTPS comes from the install script
SignedInSessions
Field
Type
Required
What it is
success
true
yes
data
object
yes
data.sessions
array of object
data.sessions[].id
string
The handle that ends the session
data.sessions[].current
boolean
The session that asked
data.sessions[].browser
string
"" when the user agent does not say
data.sessions[].system
string
data.sessions[].ipAddress
string
data.sessions[].userAgent
string
data.sessions[].createdAt
string (date-time)
The sign-in
data.sessions[].lastActivityAt
string (date-time)
In
data.sessions[].expiresAt
string (date-time)
In
data.limit
object
data.limit.max
integer
Sessions an account may have at once
data.limit.source
string, one of env, setting, default
env: SESSION_MAX_PER_USER; setting: One session per account
Site
A site: a location with its networks and relay nodes. The answer to a write has no networks or nodes.
Field
Type
What it is
id
string
name
string
org_id
string
"" for a site of no organization
org_name
string
vpn_group
string
"" or a label; sites with the same label are joined by a VPN, so their nodes reach each other's LAN addresses
How many devices the account may see are at the site; 0 in the answer to a write
SiteNetwork
Field
Type
Required
What it is
cidr
string
yes
The network in CIDR notation
kind
string, one of private, public
yes
private for a LAN range, public for an internet address range
SitePinAnswer
Field
Type
Required
What it is
success
true
yes
data
object
yes
data.pin
object or null
yes
The pinned site, null when the pin was taken away
data.pin.id
string
data.pin.name
string
Strategy
A strategy: the features RustDesk clients may use in a session, for the devices, accounts and device groups it is given to.
Field
Type
What it is
guid
string
name
string
user_group_guid
string
The user group the strategy is for; empty for none
device_group_guid
string
The device group the strategy is for; empty for none
enabled
boolean
permissions
object
The features the strategy sets: Y allows, N forbids; a key not set is left to the client
permissions.enable-file-transfer
string, one of Y, N
permissions.disable-clipboard
string, one of Y, N
permissions.enable-clipboard
string, one of Y, N
permissions.enable-audio
string, one of Y, N
permissions.enable-tunnel
string, one of Y, N
permissions.enable-camera
string, one of Y, N
permissions.enable-remote-restart
string, one of Y, N
permissions.enable-block-input
string, one of Y, N
permission_keys
array of string, one of enable-file-transfer, disable-clipboard, enable-clipboard, enable-audio, enable-tunnel, enable-camera, enable-remote-restart, enable-block-input
Every key a strategy can set
created_at
string or null (date-time)
updated_at
string or null (date-time)
StrategyAssignmentSummary
The devices, accounts and device groups a strategy is given to directly.
Field
Type
What it is
peer_count
integer
user_count
integer
device_group_count
integer
peers
array of string
Guids of the devices
users
array of string
Guids of the accounts
groups
array of string
Guids of the device groups
StrategyTargets
Whom a strategy is given to or taken from. At least one list must have an entry.
Field
Type
What it is
peers
array of string
Devices, by id, guid or uuid
users
array of string
Accounts, by guid, username or id
groups
array of string
Device groups, by guid or name
StudioFlow
A flow of the CDAP studio.
Field
Type
What it is
id
string
name
string
description
string
status
string
draft, or deployed once marked so
version
integer
created_by
string
The username of the account that made the flow
created_at
string (date-time)
updated_at
string (date-time)
flow_json
string
The flow as JSON text: {"nodes": [...], "wires": [...]}
StudioFlowListed
A flow of the CDAP studio without its nodes and wires.
Field
Type
What it is
id
string
name
string
description
string
status
string
draft, or deployed once marked so
version
integer
created_by
string
The username of the account that made the flow
created_at
string (date-time)
updated_at
string (date-time)
Tenant
A tenant of the console.
Field
Type
Required
What it is
id
integer
yes
name
string
yes
slug
string
yes
contact_name
string or null
contact_email
string or null
max_devices
integer
0 when the tenant has no limit set
notes
string or null
active
integer or boolean
yes
1 or 0 on SQLite, true or false on PostgreSQL
created_at
string (date-time)
updated_at
string (date-time)
TenantError
An error of the tenant routes.
Field
Type
Required
error
string
yes
TenantOk
Field
Type
Required
ok
true
yes
Ticket
Field
Type
What it is
id
integer
title
string
description
string or null
status
string or null, one of open, in_progress, resolved, closed, null
priority
string or null, one of low, medium, high, critical, null
category
string or null
device_id
string or null
The device the ticket is about; empty or null for none
created_by
string
The user name of who opened it
assigned_to
string or null
The user name of who handles it
sla_due_at
string or null (date-time)
When the ticket is due: 4 hours after it was opened for critical, 8 for high, 24 for medium, 72 for low
resolved_at
string or null (date-time)
closed_at
string or null (date-time)
created_at
string (date-time)
updated_at
string (date-time)
source
string, one of staff, device
Who opened the ticket: staff, or device for the app on the computer
reporter
string or null
The name the person at the computer gave, for a ticket the computer opened
TicketAttachment
Field
Type
id
integer
filename
string
mimetype
string or null
size_bytes
integer
uploaded_by
string
created_at
string (date-time)
TicketComment
Field
Type
What it is
id
integer
ticket_id
integer
author
string
body
string
is_internal
integer or boolean
Whether only accounts with device.edit see it: 1 or 0 on SQLite, true or false on PostgreSQL
created_at
string (date-time)
from
string, one of staff, device
Who wrote it: staff, or device for the person at the computer
TimeSyncConfig
Field
Type
What it is
ntp_servers
string
NTP servers, separated by commas: host names or IP addresses
max_skew_ms
integer
The largest offset that counts as synced, in milliseconds; at least 1, at most 600000
require_synced_clock
boolean
Whether billing needs a synced clock
trust_os_ntp
boolean
Whether the operating system's NTP sync counts
server_timezone
string
The server's time zone (SERVER_TIMEZONE), an IANA name; missing or empty is UTC
TimeSyncStatus
Field
Type
What it is
synced
boolean
offset_ms
integer
How far the clock is off, in milliseconds
last_check_at
string (date-time)
ntp_server
string
The server that answered
stratum
integer
max_skew_ms
integer
require_sync_for_billing
boolean
last_error
string
os_clock_synced
boolean
Whether the operating system says its clock is synced; missing when it can't tell
ToolkitFailure
A tool that was given a good request but could not do its work answers this with status 200.
Field
Type
Required
What it is
success
false
yes
error
string
yes
Why the tool failed
UpdateInstallResult
What an install of a release did
Field
Type
Required
What it is
applied
array of string
The files put in place
failed
array of object
failed[].file
string
failed[].error
string
removed
array of string
skipped
array of string
npmInstalled
boolean
servicesRestarted
array of string
servicesFailed
array of object
backupPath
string or null
The backup made before the install, null without one
backedUp
integer
Files in the backup
needsConsoleRestart
boolean
needsServerRestart
boolean
needsAgentRestart
boolean
selectedComponents
array of string
shaSaved
boolean
serverBuild
object or null
serverDeploy
object or null
criticalFailures
array of object
criticalFailures[].file
string
criticalFailures[].error
string
nonCriticalFailures
array of object
nonCriticalFailures[].file
string
nonCriticalFailures[].error
string
signature
object
signature.ok
boolean
yes
signature.verified
boolean
yes
Whether the release manifest's signature was checked and is good
signature.code
string
signature.reason
string
version
string
The version installed
consoleRestartBlocked
string
Why the console does not restart by itself, when it does not
UserGroup
Field
Type
What it is
guid
string
name
string
note
string
team_id
string
"" for none
member_count
integer
IntegrationTarget
A webhook, syslog target or notification channel, with its secrets masked.
Field
Type
Required
What it is
id
string
yes
kind
string, one of webhook, syslog, slack, teams, discord, ntfy, gotify, pushover
yes
webhook and syslog send every event as it is; the others are notification channels that write a message
name
string
yes
url
string
yes
Where the events go: the webhook's address, or the syslog receiver as udp://, tcp:// or tls:// host:port. Empty for a notification channel
events
array of string
yes
The events it subscribed to (see integrations events)
scope_type
string, one of ``, organization, device_group
yes
Empty for the events of the whole server
scope_id
string
yes
The organization or device group the events are limited to; empty without a scope
headers
object
yes
The custom headers, each value masked as ********
secret
string
yes
******** when a signing secret is stored, empty otherwise. The answer of integrations create holds the secret itself once
settings
object
yes
The settings of the kind, such as topic, server, priority, format, language and time_zone
secrets
object
yes
The credentials of the kind (webhook_url, token, user_key, app_token), each set one masked as ********
enabled
boolean
yes
disabled_reason
string
Why the server switched it off: failures or gone; empty otherwise
notice
string, one of ``, failures, gone
While it is off: failures when the server switched it off after deliveries kept failing, gone when the receiver answered 410 Gone
failures
integer
Failed deliveries in a row
failing_since
string (date-time)
When the run of failures began; null for none
last_success_at
string (date-time)
Null for never
last_failure_at
string (date-time)
Null for never
created_by
string
The username of who made it
created_at
string (date-time)
updated_at
string (date-time)
IntegrationTargetInput
A new webhook, syslog target or notification channel, or the fields to change of one. A field left out stays as it is (on create: its default).
Field
Type
What it is
kind
string, one of webhook, syslog, slack, teams, discord, ntfy, gotify, pushover
Required to make one; a change keeps the kind
name
string
1 to 80 characters; required to make one; at most 80 characters
url
string
Required for webhook (an http or https address the server may reach) and syslog (udp://, tcp:// or tls:// host:port); at most 2000 characters; at most 2000 characters
The events to subscribe to; a webhook needs at least one, a channel may have none and then gets only what names it (an alert rule's channels, a workflow step)
scope_type
string, one of ``, organization, device_group
Empty for every event of the server
scope_id
string
The organization ID or device group GUID for scope_type organization or device_group; it must exist
headers
object
Custom headers sent with each delivery, at most 20, values up to 4096 bytes. The object replaces all of them; a value sent as ******** keeps the stored one
secret
string
The webhook's signing secret, at least 16 characters. A new webhook without one, or with ********, gets a random one. ******** keeps the stored one
settings
object
The settings of the kind. ntfy: topic, server, priority (1 to 5); gotify: server, priority (0 to 10); pushover: priority (-2 to 1); syslog: format (json or cef), facility (0 to 23), app_name, hostname, ca_pem, tls_server_name; every channel: language and time_zone. The object replaces the settings
secrets
object
The credentials of the kind. slack, teams and discord: webhook_url; ntfy: token; gotify: token; pushover: user_key and app_token. The object replaces them; a value sent as ******** keeps the stored one
enabled
boolean
On by default. Switching a target on again clears its run of failures; switching it off cancels the deliveries still waiting
IntegrationDelivery
One delivery of an event to a webhook, syslog target or channel.
Field
Type
Required
What it is
id
string
yes
sink
string
yes
The queue that sends it: endpoints for webhooks and channels, syslog for syslog targets
target_id
string
yes
event_id
string
yes
event_type
string
yes
The event, or webhook.test for a test
status
string, one of pending, succeeded, failed, cancelled
yes
pending: waiting for its next attempt; failed: given up after the last attempt or refused for good; cancelled: the target was switched off or deleted first
attempts
integer
yes
next_attempt_at
string (date-time)
When the next attempt is due
last_status
integer
The receiver's HTTP status of the last attempt; 0 for none and for syslog
last_error
string
response_excerpt
string
The start of the receiver's answer, at most 1024 bytes
duration_ms
integer
created_at
string (date-time)
updated_at
string (date-time)
IntegrationEvent
An event as webhooks receive it.
Field
Type
Required
What it is
id
string
yes
type
string
yes
occurred_at
string (date-time)
organization_id
string
device
object
The device it is about, when there is one
device.id
string
yes
device.name
string
subject
string
What it is about in a few words
link
string
The address of the alert, device, ticket or page in the console
data
object
More about it; the members depend on the type
MailIntakeMailbox
A mailbox the server reads over IMAP, with the password masked.
Field
Type
Required
What it is
id
string
yes
mbx_ and a UUID
name
string
yes
address
string
yes
The support address: mails about a ticket ask for replies to it
host
string
yes
port
integer
yes
security
string, one of tls, starttls
yes
tls_verify
boolean
yes
username
string
yes
password
string
yes
******** when a password is stored
folder
string
yes
enabled
boolean
yes
confirm
boolean
yes
Whether the sender of a mail that opened a ticket gets a mail with the ticket's number
priority
string, one of low, medium, high, critical
yes
What a ticket from a mail starts with
category
string, one of general, hardware, software, network, access, other
yes
What a ticket from a mail starts with
last_poll_at
string or null (date-time)
RFC 3339 time; null before the first poll
last_ok_at
string or null (date-time)
RFC 3339 time of the last poll that worked; null before
last_error
string
What the mail server said at the last poll that failed
created_by
string
created_at
string (date-time)
updated_at
string (date-time)
MailIntakeMailboxInput
A new mailbox, or the fields to change of one. A field left out stays as it is (on create: its default).
Field
Type
What it is
name
string
Up to 100 characters; required to make one; at most 100 characters
address
string
The support address, a plain mail address without a name; required to make one
host
string
The IMAP server's host name or address, without a port; required to make one. The server must be allowed to reach it; at most 253 characters
port
integer
0 or left out: 993, or 143 with starttls; at least 0, at most 65535
security
string, one of tls, starttls
default "tls"
tls_verify
boolean
Check the mail server's certificate; default true
username
string
Required to make one; at most 320 characters
password
string
Required to make one, at most 1000 characters; ******** keeps the stored one
folder
string
Empty for INBOX; default "INBOX", at most 200 characters
enabled
boolean
default true
confirm
boolean
Mail the sender the ticket's number; default true
priority
string, one of low, medium, high, critical
default "medium"
category
string, one of general, hardware, software, network, access, other
default "general"
MailIntakeMessage
A mail a mailbox read or sent.
Field
Type
Required
What it is
id
string
yes
mailbox_id
string
yes
direction
string, one of in, out
yes
in: a mail the server read; out: a mail it sent
message_id
string
The mail's Message-ID
ticket_id
integer
0 for none
comment_id
integer
0 for none
address
string
The sender of a mail read, the recipient of a mail sent
subject
string
outcome
string, one of ticket, comment, ignored, failed, sent
yes
ticket: it opened a ticket; comment: it became a comment; ignored: it was left alone (reason says why); failed: it could not be read; sent: a mail the server sent
reason
string
at
string (date-time)
yes
Recording
A recording of a remote session kept on the server.
Field
Type
Required
What it is
id
string
yes
Hex digits
org_id
string
The device's organization when the recording started, empty for none
device_id
string
yes
The device or remote target (rt_...)
device_name
string
The device's name when the recording started
session_id
integer or null
The connection session the recording belongs to, null when the server knows none
kind
string, one of screen, rdp, vnc, mesh, terminal, client
yes
What was recorded: the browser viewer on a NeoDesk computer, an RDP, VNC or MeshAgent target, a terminal, or client when the NeoDesk app on the computer recorded it
source
string
Who made it: browser or client
format
string, one of webm, mp4, cast
yes
The file: WebM or MP4 video, or asciicast text for a terminal
mime
string
The content type the browser recorded with, empty when it gave none
user_id
integer or null
The account that ran the session
username
string
mode
string, one of off, on_request, always
The rule in force when the recording started
state
string, one of recording, finished, interrupted, unrecorded
yes
recording while pieces still come; interrupted when the upload stopped; unrecorded when the session ran without a recording because the computer doesn't allow recording
started_at
string (date-time)
yes
ended_at
string or null (date-time)
last_data_at
string (date-time)
When the last piece came
duration_ms
integer
size_bytes
integer
yes
Bytes of the file a player gets
stored_bytes
integer
Bytes on the storage, encryption included
encrypted
boolean
storage
string
Where it is kept: folder or s3
end_reason
string
Why it ended, empty when the session ended normally
guest_link
string
The guest access link whose session this is, empty for an account's
held
boolean
yes
Under a legal hold: kept past its retention and not deleted until the hold is lifted
held_at
string or null (date-time)
When the hold was set or its reason last changed
hold_reason
string
hold_by
string
The account that set the hold or last changed its reason
hold_by_id
integer or null
RecordingRule
A recording rule for the server, an organization, a device group or a device.
Field
Type
Required
What it is
scope
string, one of server, org, group, device
yes
scope_id
string
yes
The organization ID, device group GUID or device ID; empty for the server
mode
string, one of ``, off, on_request, always
yes
Empty: the rule sets only the watermark or a retention
watermark
string, one of ``, on, off
yes
Empty: the wider rule's
retention_days
integer or null
yes
Days to keep recordings, 0 until someone deletes them; null takes the wider rule's. Server and organizations only.
updated_at
string (date-time)
yes
updated_by
string
yes
The account that saved it
RecordingRules
Every recording rule, the widest scope first, and what applies where no rule says.
When the warning before the cap shows; at least 1, at most 99
key_file
string
yes
Where the recordings key is
key_id
string
yes
The start of the key's hash, empty when the key can't be read
RecordingUsage
What the recordings take on the storage, against the size cap.
Field
Type
Required
What it is
bytes
integer
yes
Bytes on the storage, of every recording
count
integer
yes
How many recordings there are
recording
integer
yes
How many are still recording
cap_bytes
integer
yes
0 for no cap
warn_percent
integer
yes
percent
integer
yes
The share of the cap in use, 0 without a cap
warning
boolean
yes
At or above warn_percent and not full
full
boolean
yes
At the cap: new recordings are refused
storage
string, one of folder, s3
yes
encrypt
boolean
yes
key_readable
boolean
yes
Whether the recordings key could be read
storage_ok
boolean
Only when the storage was tried: whether it took a write, a read and a delete
storage_error
string
Only when the try failed: why
DevicePasswordPolicy
How the server keeps the device passwords of a device, device group, folder or organization.
Field
Type
Required
What it is
target_type
string, one of device, group, folder, org
yes
target_id
string
yes
The device ID, the group's guid, the folder's number or the organization's ID
generate
boolean
yes
Give each device without a device password its own generated one, once its NeoDesk can take it
rotate_days
integer
yes
Change the password when it is this many days old; 0 for never; at least 0, at most 365
rotate_after_session
boolean
yes
Change the password after a session to the device ended
updated_at
string (date-time)
Only when set
updated_by
string
Only when set: the account that saved it
DevicePasswordStatus
Whether the console set a device's password and whether the device took it; never the password.
Field
Type
Required
What it is
available
boolean
yes
The server has the key it seals device passwords with; without it nothing can be set
set
boolean
yes
A password from the console is set or waiting for the device
op
string, one of ``, set, clear
yes
What the console asked of the device last: set a password, or remove it; empty when nothing is stored
state
string, one of ``, pending, applied, changed, refused
yes
pending: the device has not taken it yet; applied: it took it; changed: someone changed the password at the device; refused: the device did not take it
state_reason
string
The device's reason when it did not take the password
source
string, one of ``, typed, generated, shared
typed, generated by the server, or shared by several devices (devices password-bulk with mode same)
reason
string, one of ``, manual, policy, schedule, after_session
Why it was set: by an account, or by the device's policy (first password, the schedule, after a session)
set_at
string or null (date-time)
RFC 3339 time; null when nothing is stored
set_by
string
The account that set it; empty when the server's policy did
applied_at
string (date-time)
changed_at
string (date-time)
delivered_at
string (date-time)
When the server last handed the device the password with its heartbeat
client
string, one of capable, needs_update, stock
yes
What the device's client can do: take a password from the console, NeoDesk too old for it, or a RustDesk client, which can't
The last entry's number and hash. Note it somewhere else to prove later that nothing up to it was rewritten
problem
object
Only when the chain is broken: the first entry that doesn't fit
problem.id
integer
yes
The entry's id in the audit log
problem.seq
integer
yes
Its chain number
problem.reason
string, one of changed, missing_before, account_changed, out_of_order
yes
changed: its content or hash isn't what was sealed; missing_before: the entry before it is gone or was replaced; account_changed: the account that acted is another one; out_of_order: its number repeats or goes back
problem.message
string
yes
The same in a sentence
SettingsServerKeyCheck
Whether devices need the server's key to connect.
Field
Type
Required
What it is
enforced
boolean
yes
Whether devices that connect without the server's key are refused
devices_without_key
integer
yes
How many devices connected without the key since counting_since
counting_since
string
yes
Since when devices without the key are counted
SettingsSaml
The SAML single sign-on settings. The metadata itself is not in the answer.
Field
Type
Required
What it is
enabled
boolean
yes
Whether people may sign in with SAML
display_name
string
yes
The name on the sign-in button
metadata_url
string
yes
Where the metadata was imported from; empty for a metadata file
attr_username
string
yes
The attribute with the username; empty for the NameID
attr_email
string
yes
The attribute with the email address; email when not set
attr_name
string
yes
The attribute with the name; displayName when not set
attr_groups
string
yes
The attribute with the groups; groups when not set
default_role
string
yes
The role of a person without a matching group; viewer when not set
group_role_map
string
yes
Groups to roles, as Group=role|Group=role
allow_signup
boolean
yes
Whether a person's first sign-in makes an account
idp
object or null
yes
What the imported metadata names; null without metadata
idp.entity_id
string
yes
idp.sso_url
string
yes
The identity provider's sign-in address
idp.certificates
array of object
yes
The signing certificates
idp.certificates[].subject
string
yes
idp.certificates[].not_after
string (date-time)
yes
console
object
yes
The console's addresses to give the identity provider
console.entity_id
string
yes
The console's entity ID, the address of its metadata
console.acs_url
string
yes
The address the identity provider sends its answer to (ACS)
console.metadata_url
string
yes
The address of the console's metadata
https
boolean
yes
Whether the console's address is HTTPS, which SAML needs
CustomRole
A role a super admin made next to the built-in ones.
Field
Type
Required
What it is
name
string
yes
The stable name: custom_ and a word from the label, like custom_helpdesk. It stays when the role is renamed.
label
string
yes
The name the console shows
description
string
yes
permissions
array of string
yes
The permissions, in the order the console lists them
custom
true
yes
CustomRoleUses
What still names a custom role.
Field
Type
Required
What it is
accounts
integer
yes
Accounts with the role
api_keys
integer
yes
API keys of the server API with the role
settings
array of string, one of ldap, oidc, saml, passkeys
yes
The sign-in settings that name it, by the part of Settings they are in: ldap, oidc, saml (SAML and SCIM, which makes accounts with the SAML default role) and passkeys (the roles that must use a passkey)
in_use
boolean
yes
Something above names it, so it can not be deleted
ReportScheduleRecipient
Who gets a scheduled report: a console account, mailed at its address in its language, or a plain address. One of the two.
Field
Type
What it is
user
string
The username of an account
email
string (email)
at most 254 characters
ReportSchedule
The schedule that mails a kept report.
Field
Type
Required
What it is
enabled
boolean
yes
frequency
string, one of daily, weekly, monthly
yes
weekday
integer
yes
The day of a weekly schedule, 0 (Sunday) to 6; at least 0, at most 6
day
integer
yes
The day of a monthly schedule, 1 to 31 (the last day in a shorter month); at least 1, at most 31
When it runs next; null without a schedule or while it is off
next.time_zone
string
yes
The server's time zone, in which the time of day is read, like Europe/Berlin or UTC
mail_ready
boolean
yes
The console can send mail; without it no schedule sends anything
formats
array of string, one of csv
yes
The files a scheduled report can go out as
Passkey
A passkey or security key of an account. Nothing secret is in it.
Field
Type
Required
What it is
id
integer
yes
name
string
yes
rp_id
string
yes
The domain it was made for; it signs in only there
passwordless
boolean
yes
The authenticator keeps the credential and verified the person when it was made: it signs in without a password
synced
boolean
yes
Backed up by its provider (a password manager, the phone's account); a security key is not
created_at
string (date-time)
yes
last_used_at
string (date-time)
Null when it was never used
PersonalDataHeldRecording
A recording of the account's sessions under legal hold, which stops the erasure.
Field
Type
Required
What it is
id
string
yes
device_id
string
yes
device_name
string
yes
started_at
string (date-time)
yes
reason
string
yes
Why it is held
by
string
yes
Who set the hold
PersonalDataAllowed
Whether an export or an erasure may go on, and why not.
Field
Type
Required
What it is
allowed
boolean
yes
code
string
Only when not allowed: the code the action would answer, such as personal_data_token, personal_data_impersonating, personal_data_needs_two_factor, personal_data_role_above_own, personal_data_self, personal_data_last_admin or personal_data_held
error
string
Only when not allowed: the reason, in the request's language
On create: the organization whose devices have it (empty: the whole server); can't change
key
string
On create; can't change
label
string
type
string, one of text, longtext, number, date, yesno, link, choice
help
string
default
null or "" for none
required
boolean
restricted
boolean
personal
boolean
multiple
boolean
choices
array of object
choices[].id
integer
An existing value's id keeps (and renames) it; leave out for a new one
choices[].label
string
yes
DeviceFieldValue
A value as JSON gives it: text for text, long text, link, date (2026-12-31) and a single choice (its label); a number; true or false; a list of labels for a choice field that holds several
DeviceFieldTagGroup
The tags name:value with one name (any letter case) and the text field they would become
Field
Type
Required
What it is
name
string
yes
The tag name as most devices write it
key
string
yes
The proposed key: no field has it and no other group takes it
label
string
yes
The proposed label
type
"text"
yes
existing_key
string
The key the name would have had, when a field has it already
devices
array of object
yes
devices[].device_id
string
yes
devices[].name
string
devices[].values
array of string
yes
values
array of string
yes
The distinct values, in order
conflicts
array of object
yes
Devices with more than one value; the group can't be converted
conflicts[].device_id
string
yes
conflicts[].name
string
conflicts[].values
array of string
yes
too_long
array of object
yes
Devices whose value is longer than a text field takes; the group can't be converted
too_long[].device_id
string
yes
too_long[].name
string
too_long[].values
array of string
yes
Snooze
An alert rule paused until a time (device_id empty) or muted for one device.
Field
Type
Required
id
string
yes
rule_id
integer
yes
device_id
string
yes
ends_at
string (date-time)
yes
created_by
string
created_at
string (date-time)
rule_name
string
SnoozeBody
Until when: ends_at (an RFC 3339 time), or minutes from now. At most 366 days.
Field
Type
What it is
ends_at
string (date-time)
minutes
integer
at least 1
QuietHours
An alert rule's quiet hours: its alerts are recorded but not sent, and one summary goes out when they end.
Field
Type
Required
What it is
rule_id
integer
yes
days
array of string
yes
start_time
string
yes
A wall clock time, HH:MM in 24 hours
end_time
string
yes
At or before start_time is on the next day
time_zone
string
summary
string, one of send, drop
yes
bypass_severity
string, one of ``, info, warning, critical
updated_by
string
updated_at
string (date-time)
DeviceFieldImportPlan
What an import does: per line what changes, what is wrong (the line is not imported) and required fields that stay empty. rows lists only lines with a change, a problem or a warning.
Field
Type
Required
What it is
columns
array of string
yes
The field keys the file names
unknown_columns
array of string
yes
Columns that are no key of a field the account sees; a file with any is never imported
rows
array of object
yes
rows[].line
integer
The line in the file; the column names are line 1
rows[].device_id
string
rows[].changes
array of object
rows[].changes[].key
string
rows[].changes[].old
string
rows[].changes[].new
string
Empty: the value is cleared
rows[].problems
array of object
rows[].problems[].key
string
yes
The field's key, empty for a problem of the line
rows[].problems[].code
string
yes
customfields.err_<code>: value_misfit, value_too_long, value_not_a_choice, required, device_not_found, import_no_device, import_device_twice, import_not_applicable; a warning is import_required_empty
rows[].problems[].value
string
rows[].problems[].error
string
yes
The text in the request's language
rows[].warnings
array of object
rows[].warnings[].key
string
yes
The field's key, empty for a problem of the line
rows[].warnings[].code
string
yes
customfields.err_<code>: value_misfit, value_too_long, value_not_a_choice, required, device_not_found, import_no_device, import_device_twice, import_not_applicable; a warning is import_required_empty
rows[].warnings[].value
string
rows[].warnings[].error
string
yes
The text in the request's language
lines
integer
changes
integer
bad_rows
integer
unchanged
integer
plan_id
string
yes
Names the plan; give it to the import to refuse when the plan came out different
dry_run
boolean
applied
boolean
changed
integer
Values the import changed
skipped
integer
Lines the import left out for their problems
limits
object
limits.bytes
integer
limits.rows
integer
ResourceRules
Rules per kind. A rule names only its kind's fields; a field left out takes the value that allows everything. The server answers each rule with every field.
Field
Type
What it is
usb
object
USB storage
usb.storage_policy
string, one of allowed, blocked, whitelist
allowed when not given
usb.whitelist
array of string
USB devices as vendor and product ID (0781:5583) that whitelist lets in; at most 256
usb.audit_log
boolean
true when not given
optical
object
CD, DVD and Blu-ray drives
optical.policy
string, one of allowed, blocked
allowed when not given
optical.audit_log
boolean
true when not given
monitors
object
The screens of the device
monitors.max_count
integer
0 is no limit; at least 0, at most 16
monitors.resolution
string, one of any, 1920x1080, 2560x1440, 3840x2160
any when not given
monitors.brightness_percent
integer
0 and 100 are no limit; at least 0, at most 100
monitors.power_schedule
string
"" or off:HH:MM-HH:MM
disks
object
Disks and partitions
disks.readonly
boolean
disks.encryption_required
boolean
disks.smart_monitoring
boolean
disks.hidden_partitions
array of string
Drive letters or mount points; at most 256
quotas
object
Usage limits per user
quotas.cpu_limit_percent
integer
Per user; 0 and 100 are no limit; at least 0, at most 100
quotas.ram_limit_percent
integer
Per user; 0 and 100 are no limit; at least 0, at most 100
quotas.bandwidth_limit_bps
integer
Bits per second; 0 is no limit; at least 0, at most 100000000000
quotas.disk_quota_bytes
integer
Bytes per user, decimal (1 GB is 1,000,000,000 bytes); 0 is no limit; at least 0, at most 1000000000000000
quotas.process_whitelist
array of string
Programs a user may run; at most 256
SharedAddressBook
A shared address book as the console shows it
Field
Type
Required
What it is
guid
string
yes
name
string
yes
note
string
yes
owner
object or null
yes
null when the owner's account was deleted
owner.id
integer
owner.username
string
entries
integer
yes
How many devices the book lists
members
array of object
yes
members[].id
integer
yes
members[].username
string
yes
members[].rule
integer, one of 1, 2, 3
yes
1 read only, 2 read and write, 3 full control
rule
integer, one of 0, 1, 2, 3
yes
The account's own rule: 3 for the owner, 0 when it only manages every book
self_join
boolean
yes
Whether devices may add themselves with RustDesk's preset address book options (preset-address-book-name); off for a new book
manage
boolean
yes
Whether the account may rename the book and change its members
remove
boolean
yes
Whether the account may delete the book
created_at
string (date-time)
yes
updated_at
string (date-time)
yes
MoneyTotal
A sum of amounts in one currency.
Field
Type
Required
What it is
currency
string
yes
ISO 4217 code
amount_minor
integer
yes
The sum in minor units of currency: cents of EUR, yen of JPY, fils of BHD