Doku durchsuchen
Menü
Geändert am Auf GitHub bearbeiten

Gemeinsame Schemas

Als Markdown kopieren

Die Objekte, die mehrere Routen annehmen oder liefern. Die Routen verweisen hierher. Die Beschreibungen stehen auf Englisch.

AccessPolicy

Who may connect to a device without someone accepting, and when. A device without its own policy answers the defaults, all off.

Field Type What it is
peer_id string
org_id string The device's organization, empty for none
unattended_enabled boolean Connections without someone at the device accepting them are allowed
password_set boolean An unattended password is set
schedule_enabled boolean
schedule_days string Comma-separated days: mon, tue, wed, thu, fri, sat, sun
schedule_start_time string HH:MM, 24 hours
schedule_end_time string HH:MM, 24 hours
schedule_timezone string An IANA time zone, like Europe/Berlin
allowed_operators string Comma-separated usernames; empty for all
updated_at string (date-time)
updated_by string

AccountBulkResults

Field Type Required What it is
results array of object yes One per ID, in the order given
results[].id integer or string yes The ID as given, or the account's
results[].username string
results[].outcome string, one of changed, unchanged, refused, failed yes changed: done (with dry_run: would be); unchanged: it was so already, or named twice
results[].error string Why it was refused or failed
dry_run boolean Only there, true, for a dry run: nothing was written

AccountEmailState

Field Type What it is
email string
auth_provider string local, ldap or oidc
email_pending PendingEmailChange or null
mail_ready boolean The console has email settings

AccountOrganization

An organization an account belongs to

Field Type What it is
id string
org_id string The same as id
name string
org_name string The same as name
slug string
logo_url string
settings string The organization settings as JSON text
role string 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.

Field Type What it is
package BillingPackage
period_ym string The billing month shown, YYYY-MM
timezone string The server's time zone (SERVER_TIMEZONE), which the months follow
companies array of string Names of the organizations the contracts reach
groups array of object or null One entry per contract of the package; null when it has none
groups[].guid string The contract's target_key
groups[].name string
groups[].org_id string Left out when empty
groups[].org_name string Left out when empty
groups[].device_count integer
groups[].contract_id string
groups[].remaining_minutes integer
groups[].status string
device_count integer Devices in the package's device groups
included_limit integer
included_minutes_used integer
remaining_minutes integer
overage_minutes integer
overage_totals array of MoneyTotal 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.

Field Type Required What it is
id string yes
connected boolean yes
manifest CdapManifest
widget_state object The current value of each widget, by widget ID
connected_at string (date-time)
last_heartbeat string (date-time)
session_id string
heartbeat_count integer
command_count integer
heartbeat_interval_seconds integer
username string The account the device signed in with
role string
client_ip string

CdapLinkedPeer

A device as the API server stores it

Field Type What it is
id string
uuid string
ip string
user string
hostname string
os string
version string
status string ONLINE, OFFLINE, DEGRADED or CRITICAL
last_online string (date-time)
created_at string (date-time)
disabled boolean
banned boolean
soft_deleted boolean
note string
tags string
display_name string
device_type string
linked_peer_id string

CdapManifest

What a CDAP device says about itself when it connects: its identity, widgets and alerts.

Field Type What it is
manifest_version string
device object
device.name string
device.type string, one of scada, iot, os_agent, network, camera, desktop, custom
device.vendor string
device.model string
device.firmware string
device.serial string
device.location string
device.tags array of string
device.icon string
device.description string
device.linked_peer_id string The desktop device this device is linked to
bridge object
bridge.name string
bridge.version string
bridge.protocol string
bridge.target_host string
bridge.target_port integer
capabilities array of string Such as telemetry, commands, alerts, logs
heartbeat_interval_seconds integer Seconds between heartbeats
widgets array of object The widgets; each type has more fields of its own
widgets[].type string toggle, gauge, button, led, chart, select, slider, text, table, terminal, desktop, video_stream, file_browser or audio
widgets[].id string
widgets[].label string
widgets[].group string
widgets[].value The first value
widgets[].readonly boolean
widgets[].unit string
widgets[].min number
widgets[].max number
widgets[].step number
widgets[].permissions object The lowest role (viewer, operator or admin) for each kind of action
widgets[].permissions.read string
widgets[].permissions.control string
widgets[].permissions.execute string
alerts array of object
alerts[].id string
alerts[].label string
alerts[].severity string, one of critical, warning, info
alerts[].condition string
alerts[].message string

ChatCannedReply

Field Type Required What it is
id integer yes
owner_id integer yes The account whose reply it is; 0 for a shared one
title string yes
body string yes
updated_at string (date-time) yes

ChatConversation

A conversation of the chat.

Field Type Required What it is
id string yes The device ID for a support conversation; dm:<id>:<id>, group:<id> or team:<id> for the team chat; old:... for history of the first chat
kind string, one of support, dm, group, team, old, legacy yes
state string, one of open, closed yes
title string The name of a group or team; left out when empty
assignee_id integer The account that took a support conversation; left out for nobody
assignee_name string Left out for nobody
last_message_id string yes "0" for none
last_message_at string or null (date-time) yes RFC 3339 in UTC with milliseconds; null for none
waiting_since string (date-time) RFC 3339 in UTC with milliseconds; since when the person at the computer waits for an answer; left out when nobody waits
closed_at string (date-time) RFC 3339 in UTC with milliseconds; left out while open
closed_by string
close_note string
help_request_id integer The help request it is linked to; left out for none
ticket_id integer The ticket it is linked to; left out for none

ChatDevice

A computer as the chat shows it.

Field Type Required What it is
id string yes
name string yes The display name, else the host name, else the ID
hostname string yes
owner string yes
folder string yes The folder's name; empty for none
platform string yes
online boolean yes
chat_connected boolean yes The chat window of the NeoDesk app on it is connected
agent_chat boolean yes The computer's agent is connected over CDAP

ChatLastMessage

The newest message of a conversation, for its row.

Field Type Required What it is
text string yes The first 160 characters; empty for a line of the system
from_kind string, one of device, user, system yes
from_name string yes
at string (date-time) yes RFC 3339 in UTC with milliseconds
deleted boolean Left out when false
files integer How many files it has; left out for none
event string What a line of the system says, as JSON text like {"event":"closed","by":"Anna"}

ChatMessage

A message of the chat.

Field Type Required What it is
id string yes
conversation_id string yes
from ChatParty yes
text string yes
reply_to object or null yes The message it answers
reply_to.id string
reply_to.from_name string
reply_to.preview string The first 140 characters
reply_to.deleted boolean
attachments array of object yes
attachments[].id string yes
attachments[].name string yes
attachments[].type string yes The media type
attachments[].size_bytes integer
attachments[].width integer Of a picture
attachments[].height integer Of a picture
attachments[].url string yes /api/chat/files/<id>
created_at string (date-time) yes RFC 3339 in UTC with milliseconds
edited_at string or null (date-time) yes 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
company_name string yes
phone string Left out when empty
email string Left out when empty
website string Left out when empty
accent_color string yes #RGB or #RRGGBB
support_contact string yes
logo ClientBrandingLogo
colors object
profiles object yes
profiles.neodesk object
profiles.neodesk.apply array of string The fields NeoDesk clients apply
profiles.rustdesk object
profiles.rustdesk.config_options object What stock RustDesk clients get through their heartbeat: display-name when a company name is stored
sync_modes array of object yes
sync_modes[].id string, one of silent, standard, turbo
sync_modes[].label string
sync_modes[].description string

ClientBrandingChange

The fields to change. A field left out stays as it is.

Field Type What it is
company_name string Cut at 256 characters; < and > are removed
phone string Cut at 256 characters
email string One address, such as support@example.com, or empty
website string An http or https address, at most 512 characters, or empty
accent_color string #RGB or #RRGGBB, or empty
support_contact string Cut at 256 characters
colors object Replaces the stored colors. Names and values are cut at 64 characters
logo ClientBrandingLogo
clear_logo boolean true deletes the logo; logo is then not read
Field Type What it is
mime string, one of image/png, image/jpeg, image/jpg, image/webp Needed with data_base64
data_base64 string The picture in base64, 1 byte to 512 kB. With it, url is dropped
url string An http or https address of the picture, at most 512 characters; at most 512 characters

ClientBrandingSaved

Field Type Required
success true yes
revision string yes
branding ClientBranding yes

ClientConfigQR

Field Type Required What it is
qr string yes The QR code as a PNG data address (data:image/png;base64,...)
server_id string yes The ID server host in the code
relay_server string yes The relay server with its port
api_url string yes The API address in the code
phone_unreachable_host boolean yes True when the host is one a phone will not reach: this machine's own names and addresses, or a name ending in .local

ClientEndpoints

Field Type Required What it is
server_id string yes The ID server host
relay_server string yes The relay server with its port
api_url string yes The API address
api_key_masked string yes The API key with its middle masked, or eight bullets when there is none
endpoint_sources object yes Where each address came from
endpoint_sources.host string, one of saved, env, query, panel_host, relay_servers, config, request, default, derived yes
endpoint_sources.relay string, one of saved, env, query, panel_host, relay_servers, config, request, default, derived yes
endpoint_sources.api string, one of saved, env, query, panel_host, relay_servers, config, request, default, derived yes
env_override_active boolean yes True when at least one public address (server ID, relay or API address) is set

ClientUser

The signed-in account in the shape the RustDesk client reads.

Field Type What it is
name string The username
email string Always empty
note string Always empty
status 1 1 (normal)
grp string Always empty
is_admin boolean true for the admin role
display_name string The username
info object Always empty

CompanionRelease

A NeoDesk Companion release the server imported from GitHub.

Field Type What it is
tag string The release tag, companion-v<version>
imported_at string (date-time) Missing when the manifest has none
manifest object The signed release manifest as imported
manifest.assets array of object
manifest.assets[].name string
manifest.assets[].platform string
manifest.assets[].arch string
manifest.assets[].format string
manifest.assets[].sha256 string
manifest.assets[].size integer

ConnectionModeCommand

A connection mode change sent to the device

Field Type
command_id string
device_id string
device_uuid string
revision integer
mode string
reason string
operator_id string
operator_name string
previous_mode string
issued_at string (date-time)
expires_at string (date-time)
status string
rejection_code string
acknowledged_at string or null (date-time)
delivered_at string or null (date-time)

ConnectionModePolicy

The device's connection mode

Field Type
device_id string
device_uuid string
desired_mode string
effective_mode string
revision integer
active_command_id string
updated_at string (date-time)

ConnectionSession

A remote session to a device, as the server saw it.

Field Type What it is
id integer
host_id string The device connected to
peer_id string The device or viewer that connected
peer_name string
peer_ip string
username string
transport string
relay_uuid string
started_at string (date-time)
ended_at string (date-time) Only when ended
duration_seconds integer Only when ended
source string
relay_via string How it was relayed: direct, central, lan, node:<node id> or nodes:<a>,<b>; missing when not recorded
active boolean

ConnectionSettings

The connection policy of the server. p2p_first and always_use_relay follow from mode and are left out when false.

Field Type What it is
mode string, one of p2p_first, relay_only
p2p_fallback_ms integer How long a peer-to-peer attempt may take before the relay takes over, in milliseconds; at least 0, at most 30000
same_nat_relay boolean
allow_shared_nat_initiator boolean
logged_in_only_initiator boolean
operator_only_outbound boolean
p2p_first boolean true unless mode is relay_only
always_use_relay boolean true when mode is relay_only

ConsoleAccount

A console account. When its groups, folders or grants cannot be read, all of them go out empty.

Field Type What it is
id integer
username string
role string The role: a built-in role or a custom role's stable name (custom_...); accounts from before the role list may hold another value
email string "" for none
auth_provider string local, ldap or oidc
created_at string or null (date-time)
last_login string or null (date-time) The last sign-in; null when it never signed in
user_groups array of string The guids of its user groups
folder_ids array of integer Folders whose devices it may see (Folder access)
peer_grants array of string Devices it may see (Direct devices)
strategy_guid string Its strategy, "" for none
totp_enabled boolean Two-factor sign-in is on
disabled boolean The account may not sign in
email_pending PendingEmailChange
expires_at string (date-time) The end date, when it has one
expired boolean The end date has passed; only there with expires_at
inactive_exempt boolean The rule for inactive accounts leaves it alone; only there when true

ConsoleAccountPage

An account as its page in the console shows it

ConsoleAccountRow and object.

ConsoleAccountRow

An account as the users list has it

ConsoleAccount and object.

ConsoleAppearance

The nested appearance model made from the settings.

Field Type
advanced object
advanced.customCssEnabled boolean
backgrounds object
backgrounds.agent object
backgrounds.agent.color string
backgrounds.agent.gradient string
backgrounds.agent.imageUrl string
backgrounds.agent.overlay string
backgrounds.agent.size string
backgrounds.agent.type string
backgrounds.console object
backgrounds.console.blur string
backgrounds.console.color string
backgrounds.console.gradient string
backgrounds.console.imageUrl string
backgrounds.console.overlay string
backgrounds.console.size string
backgrounds.console.type string
backgrounds.login object
backgrounds.login.color string
backgrounds.login.gradient string
backgrounds.login.imageUrl string
backgrounds.login.overlay string
backgrounds.login.size string
backgrounds.login.type string
backgrounds.rdclient object
backgrounds.rdclient.color string
backgrounds.rdclient.gradient string
backgrounds.rdclient.imageUrl string
backgrounds.rdclient.overlay string
backgrounds.rdclient.size string
backgrounds.rdclient.type string
footer object
footer.agentShowPoweredBy boolean
footer.showPoweredBy boolean
footer.text string
identity object
identity.appDescription string
identity.appName string
identity.faviconSvg string
identity.logoIcon string
identity.logoSvg string
identity.logoText string
identity.logoTextAccent string
identity.logoType string
identity.logoUrl string
login object
login.promoMode string
login.slides array of object
login.slides[].body string
login.slides[].id string
login.slides[].imageUrl string
login.slides[].order integer
login.slides[].overlay string
login.slides[].slideKey string
login.slides[].title string
login.subtitle string
login.title string
palette object
palette.colors object
palette.colors.accentBlue string
palette.colors.accentBlueHover string
palette.colors.accentBlueMuted string
palette.colors.accentGreen string
palette.colors.accentGreenHover string
palette.colors.accentGreenMuted string
palette.colors.accentPurple string
palette.colors.accentPurpleHover string
palette.colors.accentPurpleMuted string
palette.colors.accentRed string
palette.colors.accentRedHover string
palette.colors.accentRedMuted string
palette.colors.accentYellow string
palette.colors.accentYellowHover string
palette.colors.accentYellowMuted string
palette.colors.bgElevated string
palette.colors.bgPrimary string
palette.colors.bgSecondary string
palette.colors.bgTertiary string
palette.colors.borderPrimary string
palette.colors.borderSecondary string
palette.colors.textPrimary string
palette.colors.textSecondary string
palette.mode string
palette.semantic object
palette.semantic.border string
palette.semantic.danger string
palette.semantic.dangerHover string
palette.semantic.dangerMuted string
palette.semantic.info string
palette.semantic.infoHover string
palette.semantic.infoMuted string
palette.semantic.primary string
palette.semantic.primaryHover string
palette.semantic.primaryMuted string
palette.semantic.success string
palette.semantic.successHover string
palette.semantic.successMuted string
palette.semantic.surface string
palette.semantic.surfaceElevated string
palette.semantic.surfaceRaised string
palette.semantic.textMuted string
palette.semantic.textPrimary string
palette.semantic.warning string
palette.semantic.warningHover string
palette.semantic.warningMuted string
revision string
surfaces object
surfaces.glassBlur string
surfaces.glassColor string
surfaces.glassEnabled boolean
surfaces.glassOpacity string
type string
typography object
typography.fontBody string
typography.fontHeading string
version string

ConsoleBareError

The error answer of the console routes that write {"error": "..."} without a success member, such as the tickets and guest links routes.

Field Type Required What it is
error string yes What went wrong, in English

ConsoleBranding

Field Type Required What it is
success true yes
data ConsoleBrandingSettings yes
appearance ConsoleAppearance yes
readability ConsoleBrandingReadability yes
revision string yes 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.

Field Type Required
version string
type "neodesk-theme" yes
appearance ConsoleAppearance
branding ConsoleBrandingSettings

DataGuardPolicy

A data guard policy: what devices watch (USB sticks, file operations) and what they do about it.

Field Type What it is
id integer
name string
description string
policy_type string What the policy watches, such as usb or file
action string What a device does on a match: log (the default) or block
scope string or null The devices it applies to: empty or all for every device, else device IDs separated by commas
enabled integer or boolean 1 or 0 on SQLite, true or false on PostgreSQL
rules array of object
rules[].action string
rules[].filter string
rules[].rule_type string
created_at string (date-time)
updated_at string (date-time)

Device

A device: a client, an agent, or an RDP or VNC remote target. Remote targets carry their own fields too (host, port, protocol, enabled).

Field Type What it is
id string The device ID
hostname string
display_name string
username string The user signed in on the device
platform string
os string
version string The client version
ip string
note string
online boolean
signal_ready boolean Online and reachable through the signal server
banned boolean
ban_reason string
banned_at string or null (date-time)
no_signal boolean Offline, not banned or blocked, and seen in the last five minutes
created_at string or null (date-time)
last_online string or null (date-time)
folder_id integer or null The folder it is in, null for none
tags array of string
status_tier string online, offline, or the server's live status
uuid string
nat_type integer
disabled boolean Soft-deleted, or a remote target that is turned off
soft_deleted boolean In the bin; a restore brings it back
deleted_at string or null (date-time)
device_type string rustdesk, os_agent, mesh_agent, or rdp or vnc for a remote target
client_type string The same as device_type
cdap_connected boolean The NeoDesk agent is connected
mesh_connected boolean The MeshCentral agent is connected
mesh_node_id string
linked_peer_id string The device this one is linked to, such as an agent and the desktop client on the same computer
key_refused boolean Only when true: the device came back with another key, which the server refuses
blocked string Only when set: device_revoked or device_blocked, the ID is on the blocklist
key_request object Only when set: a new key the device brought to an invite, for an administrator to approve
remote_target boolean Only on remote targets: true
remote_protocol string Only on remote targets: rdp or vnc
groups array of DeviceGroupRef The device groups it is in
site object or null 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.

DeviceGroupRef and object.

DeviceGroupRef

Field Type What it is
id integer
guid string The group's GUID, used in the device group routes
name string
note string
team_id string or null
source_type string How devices join: manual, or tag for a group that holds the devices with its tag
tag_filter string The tag a tag group selects by
created_at string (date-time)

DeviceSigninStatus

Whether sign-in details are saved for a device. Never the password.

Field Type What it is
available boolean The server can store sign-in details (its device vault is set up)
set boolean Sign-in details are saved
username string The saved account name
form string, one of password, name_password What the sign-in screen asks for: the password alone, or the account name and password
auto boolean The viewer signs in at the lock screen by itself
sealed_signin boolean The device's NeoDesk signs in with a sealed packet; no readable details are handed out for it
updated_by string
updated_at string (date-time)

DeviceToken

A device token: what a device enrolls with.

Field Type What it is
id integer
token string The token itself; only in the answer that made it
token_prefix string The first 8 characters, for telling tokens apart
name string
peer_id string Only when set: the device it is tied to
status string, one of pending, active, revoked, expired
max_uses integer How many enrollments it allows; 0 for no limit
use_count integer
created_at string (date-time)
expires_at string (date-time) Only when it expires
revoked_at string (date-time) Only when revoked
last_used_at string (date-time) Only when used
created_by string
note string
folder_id integer Only when set: the folder a device that enrolls with it goes to
org_id string Only when set: the organization a device that enrolls with it goes to
kind string Only for a token of many computers: rollout

EnrollmentDecision

An approval or rejection of the server API's enrollment queue.

Field Type What it is
device_id string
uuid string
hostname string
platform string
version string
device_type string
bundle_id string
tags string Comma-separated
ip string
status string, one of approved, rejected
banned boolean
decided_at string (date-time)
created_at string (date-time) When the device asked
actor string The account that decided

EnrollmentModeInfo

The enrollment mode: open lets every device register, managed needs an approval or a valid token, locked needs a token bound to the device.

Field Type What it is
mode string, one of open, managed, locked
description string What the mode means, in English
env_override boolean Whether ENROLLMENT_MODE_ENV_OVERRIDE makes the environment set the mode at every start, so it cannot be changed here
source string, one of environment, database, configuration Where the mode came from at the start

EnrollmentToken

An enrollment token a device joins the server with.

Field Type What it is
id integer
token string The token itself, 32 characters; only in the answer that makes it
token_prefix string The first 8 characters, for display
name string
peer_id string The device the token is bound to; missing when it is bound to none
status string, one of pending, active, revoked, expired
max_uses integer 0 is no limit
use_count integer
created_at string (date-time)
expires_at string (date-time) Missing for a token that does not expire
revoked_at string (date-time)
last_used_at string (date-time)
created_by string
note string
folder_id integer The folder devices that join with it go into; missing for none
org_id string The organization devices that join with it go into; missing for none
kind "rollout" Only on a rollout token, which many computers can join with

ExistingDeviceRef

The device a registration's device ID already names.

Field Type What it is
id string
name string Display name, else host name, else note; empty when in_scope is false
deleted boolean
in_scope boolean Whether the account may see the device

FileTransfer

A file transfer between the console and a device.

Field Type What it is
id string
direction string, one of upload, download upload is console to device, download device to console
deviceId string
filename string The file name without folders; characters other than letters, digits, dot, underscore and dash become underscores
sizeBytes integer The bytes the transfer announced
mimeType string or null
status string, one of pending, active, completed, failed, cancelled
transferredBytes integer
totalChunks integer Chunks of up to 262,144 bytes
chunksReceived integer
createdBy string
createdAt string (date-time)
updatedAt string (date-time)

FleetAreaError

An error of the automation, network, scaling and cross-platform routes: only the error member, without success.

Field Type Required What it is
error string yes What went wrong, in English

FleetResource

A printer, network drive, DNS server, VPN or proxy that devices of an organization get.

Field Type What it is
id integer
org_id string
name string
type string, one of printer, network_drive, dns, vpn, proxy
address string
scope string, one of org, group, device Which devices get it: the whole organization, device groups or devices
scope_value string The groups or device IDs, separated by commas; "" for org
active boolean
created_at string (date-time) The stored time as text
updated_at string (date-time) The stored time as text

FleetRun

One device's part of one run of a task.

Field Type What it is
id integer
task_id integer
batch integer
device_id string
hostname string "" when the server does not know the device
command_id integer
attempt integer
status string, one of pending, running, success, failed, timeout, unsupported
exit_code integer or null
output string
started_at string (date-time) The stored time as text
finished_at string (date-time) The stored time as text
created_at string (date-time) The stored time as text
updated_at string (date-time) The stored time as text

FleetTask

A task that runs on a set of devices.

Field Type What it is
id integer
org_id string "" when the devices are in several organizations or none
name string
type string, one of script, restart, update, install, file_deploy, registry
targets string The devices and groups as they were entered
schedule_type string, one of immediate, once, cron
schedule_value string The time of a once task or the cron expression; "" for immediate
script string What the task runs: a script, a package or installer address, or for file_deploy the JSON {"url", "path", "sha256"}
retries integer
timeout_seconds integer Seconds
status string
created_by string
created_at string (date-time) The stored time as text
updated_at string (date-time) The stored time as text
last_run string The stored time as text
next_run string RFC 3339 time of the next scheduled run, "" for none
batch integer How many times the task ran; its runs carry this number
workflow_id integer The workflow that made the task; left out for none
hold_alerts boolean Each run holds the alerts of its devices (only present when true)
hold_grace_minutes integer The grace time of the window of each run in minutes (only present when set)
counts object In lists only: how many devices of the last run are in each state
devices integer In lists only: how many devices the last run has

FleetWorkflow

A saved workflow: its steps and the connections between them.

Field Type Required What it is
id integer
org_id string
name string
created_by string
created_at string (date-time) The stored time as text
updated_at string (date-time) The stored time as text
nodes array of object The steps
nodes[].id string or number yes
nodes[].type string, one of action_file_deploy, action_install, action_message, action_restart, action_script, cond_os, cond_threshold, cond_time_window, result_alert, result_chain, result_log, transform_delay, transform_filter, transform_parse, trigger_event, trigger_manual, trigger_schedule yes
nodes[].label string
nodes[].config object The step's settings, such as targets and cron of a trigger
connections array of object
connections[].from string or number yes A step's id
connections[].to string or number yes A step's id; never a trigger

FleetWorkflowBody

A workflow to save. A step needs an id and a known type, and a connection joins two steps.

Field Type Required What it is
name string At most 120 characters; at most 120 characters
nodes array of object The steps, at most 200; at most 200 items
nodes[].id string or number yes
nodes[].type string, one of action_file_deploy, action_install, action_message, action_restart, action_script, cond_os, cond_threshold, cond_time_window, result_alert, result_chain, result_log, transform_delay, transform_filter, transform_parse, trigger_event, trigger_manual, trigger_schedule yes
nodes[].label string
nodes[].config object The step's settings, such as targets and cron of a trigger
connections array of object At most 400; at most 400 items
connections[].from string or number yes A step's id
connections[].to string or number yes A step's id; never a trigger

GeneratorBuild

A build of one client file of a bundle.

Field Type What it is
id integer
branding_hash string The generation the build belongs to
platform string
arch string
format string
status string queued, building, then done or failed
artifact_path string or null
artifact_size_bytes integer Bytes
artifact_sha256 string or null
error_message string or null
client_commit string or null
generation_id string or null
config_fingerprint string or null
progress_percent integer
progress_phase string or null
started_at string or null (date-time)
finished_at string or null (date-time)
created_at string (date-time)
updated_at string (date-time)

GeneratorBundle

A NeoDesk Companion bundle: a branded client profile with its download page.

Field Type What it is
bundle_id string
slug string
public_id string The address part of the download page: the slug, else the bundle ID
name string
branding object The profile, without the enrollment fields
branding_hash string
revoked boolean
legacy boolean Whether it is an older bundle, not a NeoDesk Companion bundle
download_count integer
created_at string (date-time)
updated_at string (date-time)
download_url string The download page, /d/<public_id>
product_type string
client_commit string or null
active_generation_hash string or null The generation the download page hands out

GeneratorPlatform

A kind of client file the generator can build.

Field Type What it is
platform string, one of windows, linux, macos
arch string
format string portable, deb, rpm, arch and others
label string

GeneratorPlatformStatus

A platform of the catalog and whether it can be built now.

GeneratorPlatform and object.

Field Type What it is
id string 16 hex digits
peer_ids array of string The devices the link opens
view_only boolean The guest may only watch
expires_at string (date-time)
created_at string (date-time)
created_by string The user name of who made it
label string
token_prefix string The first 8 characters of the link's token
use_count integer How often the link opened a session
max_uses integer How often it may; 0 for no limit

GuestLinkCreated

Field Type What it is
id string 16 hex digits
token string The link's token, 48 hex digits. It is answered only here.
path string The guest page with the token, /remote/guest?t=<token>, to put behind the console's address
peer_ids array of string The devices, trimmed and without repeats
view_only boolean
expires_at string (date-time)
label string
token_prefix string The first 8 characters of the token

GuestLinkPublic

What the holder of a guest link may know about it.

Field Type Required What it is
id string yes
valid true yes
peer_ids array of string yes
view_only boolean yes
expires_at string (date-time) yes
label string Left out when empty
created_by string Left out when empty
created_by_id integer The account id of who made it; left out when not known

HelpMailConfig

Who gets a mail for a help request.

Field Type
help_requests_enabled boolean
notify_assigned_operators boolean
fallback_alert_email boolean
include_folder_in_subject boolean

HelpRequest

A help request as the server API keeps it.

Field Type Required What it is
id integer yes
device_id string yes
hostname string Left out when empty
org_id string The device's organization; left out when it has none
message string yes What the person at the computer wrote, 2048 bytes at most
status string, one of pending, acknowledged, resolved, cancelled yes
handled_by string Who acknowledged or resolved it; left out when nobody has
created_at string (date-time) yes
updated_at string (date-time) yes

HelpRequestClosed

Field Type Required
error string, one of closed yes
id integer yes
status string, one of resolved, cancelled yes

HelpRequestStatusChange

Field Type Required What it is
id integer yes
status string, one of acknowledged, resolved yes
handled_by string yes Who changed it: the caller, or who did before when the request had the status already. The console's calls show as apikey:console-bridge.

Invite

An invite to add a computer: a join code, without the code itself.

Field Type What it is
id string 16 lower-case hex digits
name string
folder_id integer or null The folder computers that join go into; null for none
folder_name string
email string The address the invite is meant for
created_by string
created_at string (date-time)
expires_at string (date-time)
max_uses integer
uses_left integer

LanRegistration

A registration a device asked for after it found the server on the local network.

Field Type What it is
id integer
device_id string or null
hostname string or null
platform string or null
version string or null
ip_address string or null The address the request came from
public_key string or null
uuid string or null
status string, one of pending, approved, rejected
approved_by string or null The account that approved it
approved_at string or null (date-time)
rejected_reason string or null
access_token string or null What the row stores for the device token: empty until the device fetched it, then its hash
console_url string or null The console address the approved device is given
server_address string or null The signal server address the approved device is given
server_key string or null The server key the approved device is given
created_at string (date-time)
updated_at string (date-time)

ManagementCapabilities

What this install lets the console change: the paths, the services and whether each can be written or restarted

Field Type Required What it is
success boolean
platform string
docker boolean
paths object
paths.consolePath string
paths.serverPath string
paths.dataPath string
paths.backupPath string
paths.envPath string
paths.examplePath string
services array of string The system services that run NeoDesk
groups object The checks grouped by what they allow; config.ready says whether the env file can be written
groups.config object
groups.config.ready boolean yes
groups.config.checks array of object yes
groups.config.checks[].id string yes
groups.config.checks[].path string
groups.config.checks[].exists boolean
groups.config.checks[].directory boolean
groups.config.checks[].method string
groups.config.checks[].ready boolean yes
groups.config.checks[].error
groups.backup object
groups.backup.ready boolean yes
groups.backup.checks array of object yes
groups.backup.checks[].id string yes
groups.backup.checks[].path string
groups.backup.checks[].exists boolean
groups.backup.checks[].directory boolean
groups.backup.checks[].method string
groups.backup.checks[].ready boolean yes
groups.backup.checks[].error
groups.permissions object
groups.permissions.ready boolean yes
groups.permissions.checks array of object yes
groups.permissions.checks[].id string yes
groups.permissions.checks[].path string
groups.permissions.checks[].exists boolean
groups.permissions.checks[].directory boolean
groups.permissions.checks[].method string
groups.permissions.checks[].ready boolean yes
groups.permissions.checks[].error
groups.restart object
groups.restart.ready boolean yes
groups.restart.checks array of object yes
groups.restart.checks[].id string yes
groups.restart.checks[].path string
groups.restart.checks[].exists boolean
groups.restart.checks[].directory boolean
groups.restart.checks[].method string
groups.restart.checks[].ready boolean yes
groups.restart.checks[].error
groups.health object
groups.health.ready boolean yes
groups.health.checks array of object yes
groups.health.checks[].id string yes
groups.health.checks[].path string
groups.health.checks[].exists boolean
groups.health.checks[].directory boolean
groups.health.checks[].method string
groups.health.checks[].ready boolean yes
groups.health.checks[].error
groups.update object
groups.update.ready boolean yes
groups.update.checks array of object yes
groups.update.checks[].id string yes
groups.update.checks[].path string
groups.update.checks[].exists boolean
groups.update.checks[].directory boolean
groups.update.checks[].method string
groups.update.checks[].ready boolean yes
groups.update.checks[].error
checks array of object Every check
checks[].id string yes
checks[].path string
checks[].exists boolean
checks[].directory boolean
checks[].method string
checks[].ready boolean yes
checks[].error

MeshGroup

A MeshCentral device group.

Field Type Required What it is
id string yes A short name: letters, digits, dots, hyphens and underscores
name string
mesh_id string The MeshCentral group ID, 96 hexadecimal characters; made by the server when missing

MeshRecording

A session recording the server captured from a MeshCentral session (an .mcrec file).

Field Type What it is
id string The file name, used to download it
filename string
peer_id string
session_type string
size_bytes integer Bytes
modified string (date-time)
transport "mesh"
note string

MeshTunnel

A relay the mesh agent of the device was asked to open.

Field Type What it is
relay_id string
browser_url string The relay address the browser connects to

NetworkCheckResult

The result of one check from the server.

Field Type Required What it is
success boolean yes
rtt_ms number or null yes The round trip time in milliseconds, null when the check failed
status_code integer or null HTTP checks only: the status of the answer, null when none came
error string or null yes Why the check failed, null when it got an answer

NetworkTarget

A host or address the network monitor checks.

Field Type What it is
id integer
name string
host string "" for an HTTP check that has only a URL
port number or null
url string or null
check_type string, one of ping, tcp, http, https
timeout_ms number
interval_ms number
enabled integer or boolean 1 or 0 on SQLite, true or false on PostgreSQL
last_status string or null up or down after a check, null before the first
last_check_at string or null (date-time) On SQLite the stored text, on PostgreSQL an ISO time
last_rtt_ms number or null The round trip time of the last check in milliseconds
created_at string or null (date-time) On SQLite the stored text, on PostgreSQL an ISO time
updated_at string or null (date-time) On SQLite the stored text, on PostgreSQL an ISO time

NewPairingCode

A pairing code just made.

Field Type Required What it is
success true yes
code string yes The code, 6 characters; shown only here
id string yes
label string
host string The server address a device pairs with
expires_at string (date-time)
expires_in_seconds integer Seconds until it expires: 600

OrgMembership

An account's membership of an organization

Field Type What it is
id string
org_id string
server_user_id integer The console account
username string
display_name string
email string
role string, one of owner, admin, operator, user
avatar_url string
last_login string (date-time)
created_at string (date-time)

OrgPolicies

The policy groups of an organization, each an object of the settings it sets.

Field Type
connection OrgPolicyConnection
features OrgPolicyFeatures
security OrgPolicySecurity
network OrgPolicyNetwork
update OrgPolicyUpdate

OrgPolicyAudit

The policy changes of an organization among the last 500 audit events, at most 100.

Field Type Required What it is
entries array of object or null yes Newest first; null when there are none
entries[].timestamp string (date-time)
entries[].action "org_policy_changed"
entries[].actor string Who made the change, such as an address or an API key
entries[].target string The account name of the request
entries[].details object
entries[].details.org_id string
entries[].details.category string

OrgPolicyConnection

The connection policy group. A setting left out has no rule: each device keeps its own.

Field Type What it is
mode string, one of attended, unattended, ask_always
max_session_duration_minutes integer at least 0, at most 1440
idle_lock_timeout_minutes integer at least 0, at most 120
wallpaper string, one of show, hide_during_session, hide_always

OrgPolicyEffective

Field Type Required What it is
device_id string yes
org_id string yes
policies object yes Only the groups the organization stored
policies.connection OrgPolicyConnection
policies.features OrgPolicyFeatures
policies.security OrgPolicySecurity
policies.network OrgPolicyNetwork
policies.update OrgPolicyUpdate

OrgPolicyFeatures

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.

Field Type What it is
device_id string
uuid string
hostname string
platform string
version string
device_type string Missing for a stock RustDesk client
bundle_id string
tags string Comma-separated tags the device asked for
public_key string
ip string The address the request came from
created_at string (date-time)

QuickSupportCompanionOffer

Field Type Required
success true yes
enabled boolean yes

QuickSupportFeedbackForm

Field Type Required
success true yes
form object yes
form.enabled boolean yes
form.questions array of QuickSupportFeedbackQuestion yes

QuickSupportFeedbackQuestion

Field Type Required What it is
id string 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
created_at string (date-time)
networks array of SiteNetwork
nodes array of RelayNode
devices integer 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
events array of string, one of alert.raised, alert.acknowledged, device.online, device.offline, device.deleted, device.id_changed, device.join_requested, help_request.opened, help_request.closed, ticket.created, ticket.changed, ticket.commented, ticket.closed, session.started, session.ended, quick_support.feedback, chat.waiting, workflow.alert, workflow.message, audit.entry, signin.succeeded, signin.failed, signin.blocked, signin.locked_out, signin.second_factor_required, signin.second_factor_failed, alert.summary, maintenance.started, maintenance.ended 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.

Field Type Required
rules array of RecordingRule yes
default_mode "on_request" yes
default_retention_days 90 yes

RecordingS3

An S3-compatible bucket for recordings. The secret key is never answered.

Field Type What it is
endpoint string The service's address with http:// or https://
region string us-east-1 when empty
bucket string
prefix string Goes in front of every object name, empty for none
path_style boolean true: the bucket in the path (MinIO and most others); false: in the host name (AWS)
access_key string

RecordingStorageSettings

Where new recordings are kept, encryption and the size cap.

Field Type Required What it is
storage string, one of folder, s3 yes
folder string yes The folder that is set, empty for the default
default_folder string yes The folder beside the database
s3 RecordingS3 yes
s3_secret_set boolean yes Whether an S3 secret key is saved
encrypt boolean yes Encrypt new recordings with the recordings key
cap_bytes integer yes The size cap, 0 for none
warn_percent integer yes 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
policy DevicePasswordPolicy or null yes The device's effective policy; null for none

BillingRules

The server's billing rules: what counts of a session's time, and what new packages start with. A package can override the session rules.

Field Type Required What it is
default_rounding_minutes integer yes The rounding step a new package starts with; at least 1, at most 240
default_currency string yes ISO 4217 code a new package takes when it names none; EUR unless set. Other codes are refused with 400.
require_work_report boolean yes A finished session waits for the technician's work report
free_seconds integer yes Sessions with less billable time are not billed; 0: off; at least 0, at most 3600
minimum_minutes integer yes A billed session counts at least this long; 0: off; at least 0, at most 1440
cap_minutes integer yes A session never bills more; 0: off. Not below minimum_minutes; at least 0, at most 10080
idle_exclude boolean yes Leave stretches without input on the device out of the billed time
idle_threshold_minutes integer yes How long a stretch without input has to be to count as idle; at least 1, at most 120
idle_bill_threshold boolean yes Still bill the first idle_threshold_minutes of an idle stretch; off leaves out the whole stretch

AuditRetention

How long the audit log and the server events are kept.

Field Type Required What it is
days integer yes Days entries are kept; 0 keeps them until someone deletes them; at least 0, at most 3650
default_days integer yes The days a server keeps them when nobody set it: 90
max_days integer yes The most days that can be set: 3650

An entry's place in the audit log's hash chain and its hash.

Field Type Required What it is
seq integer yes The chain number
hash string yes The entry's hash, as hex

AuditChainReport

What a check of the audit log's hash chain found.

Field Type Required What it is
ok boolean yes Whether the whole chain fits
checked integer yes How many entries were checked
sealed integer yes How many entries were sealed into the chain just before the check
first_seq integer yes The chain number of the first entry checked, 0 when there is none
last_seq integer yes The chain number of the last entry checked, 0 when there is none
redacted integer Only when there are any: how many of the checked entries an erasure of personal data changed. Their place in the chain is checked, their content isn't
anchor AuditChainLink yes Where retention left the chain: the first entry must follow it
head AuditChainLink yes 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
time_of_day string yes HH:MM in the server's time zone
recipients array of ReportScheduleRecipient yes
format "csv" yes The file the mail carries
owner string yes The account that saved the schedule. The report is made of what it may see, and the schedule stops when it may no longer read reports.
owner_id integer yes
changed_at string (date-time) yes When the timing was set; slots before it never run

ReportScheduleStatus

How the last run of a schedule went. The times are null before the first run.

Field Type Required What it is
last_attempt_at string or null (date-time) yes
last_success_at string or null (date-time) yes
last_error string or null yes Why the last run failed; null after one that went well
last_from string or null (date-time) yes The start of the period of the last run
last_to string or null (date-time) yes The end of the period of the last run
last_sent integer yes How many recipients the last run reached
stopped string, one of ``, owner_missing, owner_disabled, owner_no_access yes Why the server turned the schedule off: the owner's account is gone or disabled, or it may no longer read reports; empty otherwise. A save clears it.

ReportScheduleAnswer

A kept report's schedule with its last run and its next.

Field Type Required What it is
schedule ReportSchedule or null yes null for a report without a schedule
status ReportScheduleStatus yes
next object yes
next.at string or null (date-time) yes 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

PersonalDataError

A refusal of a personal data export or erasure.

Field Type Required What it is
success false yes
error string yes What went wrong, in the request's language
code string personal_data_token, personal_data_impersonating, personal_data_needs_two_factor, personal_data_role_above_own, personal_data_self, personal_data_last_admin, personal_data_held, personal_data_recordings_choice, personal_data_password_required, personal_data_code_required, personal_data_wrong_password, personal_data_wrong_code or account_locked
held array of PersonalDataHeldRecording Only with personal_data_held from the erasure: the recordings under legal hold, oldest first

MaintenanceWindow

A maintenance window, with its state now.

Field Type Required What it is
id string yes
name string yes
note string
scope string yes The devices, one per line, as a fleet task names its targets (device IDs, group names, org:, group:, tag:) and site:<id>; all for the whole server
schedule string, one of once, weekly, cron yes
starts_at string (date-time)
ends_at string (date-time) 0 for the open window of a fleet task
days array of string
start_time string A wall clock time, HH:MM in 24 hours
duration_minutes integer
cron string
time_zone string Its own time zone; empty for the server's
grace_minutes integer
source string, one of ``, devices, fleet_task
fleet_task_id string
created_by string
created_at string (date-time)
updated_at string (date-time)
zone string The zone its times are read in
state string, one of running, grace, upcoming, over yes
run_starts_at string (date-time)
run_ends_at string (date-time)
devices integer How many devices it holds now; -1 for the whole server
held integer How many alerts it held
can_edit boolean

MaintenanceWindowBody

A window to create or the fields to change.

Field Type What it is
name string at most 120 characters
note string at most 2000 characters
scope string Devices, groups, org:, group:, tag:, site:, separated by commas or lines; all for the whole server (needs server.config)
devices array of string Device IDs, in place of scope
minutes integer Start now and run this many minutes; at least 1, at most 10080
schedule string, one of once, weekly, cron
starts_at string (date-time)
ends_at string (date-time)
days array of string Weekdays of a weekly window: mon, tue, ...
start_time string HH:MM of a weekly window
duration_minutes integer Length of each run of a weekly or cron window, on the wall clock; at least 1, at most 10080
cron string Five-field cron expression
time_zone string IANA zone; empty for the server's
grace_minutes integer Minutes after the end before a device still offline alerts; 15 unless set; at least 0, at most 1440
source string, one of ``, devices

DeviceFieldChoice

One value of a choice field's list. Its id stays when it is renamed.

Field Type Required What it is
id integer yes
label string yes at most 80 characters

DeviceField

A device field definition. org_id is empty for a field of the whole server.

Field Type Required What it is
id integer yes
org_id string yes
key string yes Set once; the name in the API, CSV and the command line
label string yes at most 80 characters
type string, one of text, longtext, number, date, yesno, link, choice yes
help string at most 300 characters
default The value a device has without a stored one (null for none), in the form of the field's values
required boolean yes
restricted boolean yes Only accounts with device.fields_restricted see it and its values
personal boolean yes Its values are personal data of the account that entered them
multiple boolean yes A choice field that holds several values
choices array of DeviceFieldChoice yes
position integer
created_at string (date-time)
updated_at string (date-time)
can_manage boolean The account may change and delete it

DeviceFieldInput

Field Type Required What it is
org_id string 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

Durchsucht Seiten, Abschnitte, Befehle und Einstellungen.