Download OpenAPI specification:Download
Entrosity Axis portal REST API. This file is the source of truth for the backend server
interfaces (oapi-codegen), request validation, and the frontend types
(openapi-typescript). Run make gen after editing.
Authentication: Authorization: Bearer <product token>: users sign in
on Entrosity Hub, which issues five-minute product tokens for Axis
(POST /api/platform/v1/auth/product-token {"product":"rmm"}, with the
Hub's session cookie). Users, tenants (the Hub's organizations) and
roles are managed on the Hub; Axis keeps a copy.
Every route's access rule (public, authenticated, global admin, tenant
permission) is declared in backend/internal/http/portal/access.go and
enforced before the handler runs.
The rooms of Entrosity Matrix with their computers: every room for
technicians and administrators, the rooms granted on Matrix's Room
rights page for teachers. banner says whether the computers show
the session bar: always (technicians), never (teachers) or
optional (administrators choose; on by default). 503
screen_wall_unavailable: Entrosity Matrix is not configured.
| tenantID required | string <uuid> |
{- "items": [
- {
- "firewall_id": "5b8ae62a-9fb0-43bd-91d3-a9c16b3ec753",
- "firewall_name": "string",
- "room": "string",
- "building": "string",
- "building_name": "string",
- "computers": 0
}
], - "banner": "always",
- "max_screens": 0
}Starts a small view-only remote desktop session (profile wall) on
each online computer of the room, at most 30, without asking the
users. Open each tile's viewer WebSocket at
viewer_path?ticket=<viewer_ticket> within ticket_expires_in
seconds; closing it ends the session. A tile without a picture says
why in status: not_in_axis (no device with that name),
offline, no_agent, busy (someone is in a remote session with
it; the wall never ends it), agent_too_old (the agent updates
itself), unsupported or unavailable. show_banner is used for
administrators only. 404: the room does not exist or is not
granted to the teacher.
| tenantID required | string <uuid> |
| firewall_id required | string <uuid> |
| room required | string [ 1 .. 64 ] characters |
| show_banner | boolean Administrators: show the session bar on the computers (default true). |
{- "firewall_id": "5b8ae62a-9fb0-43bd-91d3-a9c16b3ec753",
- "room": "string",
- "show_banner": true
}{- "room": {
- "firewall_id": "5b8ae62a-9fb0-43bd-91d3-a9c16b3ec753",
- "firewall_name": "string",
- "room": "string",
- "building": "string",
- "building_name": "string",
- "computers": 0
}, - "show_banner": true,
- "omitted": 0,
- "tiles": [
- {
- "computer": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "hostname": "string",
- "last_user": "string",
- "status": "connecting",
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "viewer_path": "string",
- "viewer_ticket": "string",
- "ticket_expires_in": 0
}
]
}Returns a token valid for 60 seconds that opens
GET /tenants/{tenantID}/events?sse_token= for the given tenant and
the caller's session. Access to the tenant is checked when the
stream opens. Keeps the access token out of URLs (proxy logs,
browser history).
| tenant_id required | string <uuid> |
{- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0"
}{- "token": "string",
- "expires_in": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "is_global_admin": true,
- "memberships": [
- {
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "tenant_name": "string",
- "tenant_status": "active",
- "role": "tenant_admin"
}
], - "created_at": "2019-08-24T14:15:22Z"
}{- "devices_never_connected": 0,
- "tenants": [
- {
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "tenant_name": "string",
- "tenant_status": "active",
- "online": 0,
- "offline": 0,
- "never_connected": 0,
- "total": 0
}
], - "tenants_total": 0,
- "tenants_active": 0,
- "global_admins": 0,
- "tenant_users": 0,
- "devices_online": 0,
- "devices_offline": 0,
- "deployments_running": 0,
- "alerts_open": 0
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| status | string (TenantStatus) Enum: "active" "suspended" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "status": "active",
- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "status": "active",
- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
object (TenantSettings) Tenant-level toggles. Unknown keys are rejected. | |||||||
| |||||||
{- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "status": "active",
- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "role": "global_admin",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| tenant_id | string <uuid> |
| actor_user_id | string <uuid> |
| action | string <= 100 characters |
| resource_type | string <= 100 characters |
| from | string <date-time> |
| to | string <date-time> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ts": "2019-08-24T14:15:22Z",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "actor_user_id": "d6ed4497-4325-4995-9f49-e288b7192e46",
- "actor_email": "string",
- "action": "string",
- "resource_type": "string",
- "resource_id": "string",
- "before": { },
- "after": { },
- "ip": "string",
- "request_id": "string"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| kind | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| ready_only | boolean Only packages that can be deployed. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| name required | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| kind required | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| script_content | string <= 262144 characters PowerShell packages without a file. |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| script_content | string <= 262144 characters |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| clear_detection | boolean |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "clear_detection": true,
- "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| packageID required | string <uuid> |
| file_name required | string [ 1 .. 255 ] characters |
| size_bytes required | integer <int64> [ 1 .. 4294967296 ] |
| content_type | string <= 100 characters |
{- "file_name": "string",
- "size_bytes": 1,
- "content_type": "string"
}{- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "object_key": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
| object_key required | string <= 512 characters |
| sha256 required | string^[0-9a-fA-F]{64}$ |
{- "object_key": "string",
- "sha256": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| q | string <= 100 characters 2-100 characters (optional in the schema so access checks run first; 422 when missing). |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "publisher": "string",
- "versions": [
- "string"
]
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}
], - "adoption": [
- {
- "component": "agent",
- "version": "string",
- "count": 0
}
], - "public_key": "string"
}Global admins, or release automation with Authorization: Bearer <RMM_RELEASE_TOKEN>.
PUT the MSI to upload.url with upload.headers, then POST .../publish.
| component required | string Enum: "agent" "connector" |
| version required | string <= 64 characters |
| channel | string Enum: "stable" "beta" |
| notes | string <= 4000 characters |
| sha256 required | string^[0-9a-fA-F]{64}$ |
| size_bytes required | integer <int64> [ 1 .. 524288000 ] |
| rollout_pct | integer [ 0 .. 100 ] |
{- "component": "agent",
- "version": "string",
- "channel": "stable",
- "notes": "string",
- "sha256": "string",
- "size_bytes": 1,
- "rollout_pct": 0
}{- "release": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}, - "upload": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "object_key": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}
}| releaseID required | string <uuid> |
| channel | string Enum: "stable" "beta" |
| notes | string <= 4000 characters |
| rollout_pct | integer [ 0 .. 100 ] |
{- "channel": "stable",
- "notes": "string",
- "rollout_pct": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}| releaseID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}409 codes: upload_missing, upload_mismatch, signing_key_missing, not_draft.
| releaseID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}Global admins only (not the release automation token). The link is presigned for one hour and
the browser saves the file as file_name (rmm-<component>-<version>.msi). Drafts can be
downloaded once their MSI is uploaded. Each link is audited as release.download.
409 codes: upload_missing, storage_unavailable.
| releaseID required | string <uuid> |
{- "download_url": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "file_name": "string"
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 200 ] characters |
| type required | string (AlertRuleType) Enum: "device_offline" "disk_free_pct" "agent_outdated" "cpu_pct" "mem_pct" "cpu_temp" "deployment_failed" "adsync_failed" "connector_offline" |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| name required | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language required | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content required | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Default: "system" Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] Default: 600 |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 600
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 10
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| scriptID required | string <uuid> |
{- "items": [
- {
- "version": 0,
- "content": "string",
- "params_schema": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "status": "active",
- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
object (TenantSettings) Tenant-level toggles. Unknown keys are rejected. | |||||||
| |||||||
{- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "status": "active",
- "settings": {
- "default_timezone": "string",
- "update_channel": "stable",
- "retention": {
- "job_days": 7,
- "audit_days": 30
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Defaults for global admins who are not members of the tenant.
| tenantID required | string <uuid> |
{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}| tenantID required | string <uuid> |
| alert_email required | string Enum: "off" "immediate" "digest" immediate mails new alerts as they open (a storm becomes one summary); digest collects them and mails them every digest_interval. Offline devices are never mailed one by one (see offline_batch_minutes). |
| min_severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| digest_interval | string Enum: "15m" "hourly" "daily" How often digest delivery mails (daily at digest_hour). Default 15m. |
| digest_hour | integer [ 0 .. 23 ] Hour of the daily digest, in timezone. Default 8. |
| timezone | string <= 64 characters IANA time zone for digest_hour and quiet_hours ("" = the tenant's default time zone). |
| offline_batch_minutes | integer Enum: 5 15 30 60 Default 15. Devices going offline are collected for this long and mailed together: one e-mail lists the devices that went offline and every device that is currently offline. |
| muted_types | Array of strings (AlertRuleType) <= 32 items unique Items Enum: "device_offline" "disk_free_pct" "agent_outdated" "cpu_pct" "mem_pct" "cpu_temp" "deployment_failed" "adsync_failed" "connector_offline" Alert types that are never e-mailed. Default none. |
| notify_resolved | boolean Also mail when alerts resolve (devices back online are listed in the offline e-mail). Default false. |
object (QuietHours) No e-mail is sent between start and end (in timezone; end before start spans midnight). What would have been sent goes out as one summary when the quiet hours end. Critical alerts are held too unless critical_bypass. |
{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}| tenantID required | string <uuid> |
{- "deployments_active": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "deployments_recent": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "devices_never_connected": 0,
- "jobs_open": 0,
- "os_breakdown": [
- {
- "os_name": "string",
- "count": 0
}
], - "recently_seen": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "long_offline": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "users_total": 0,
- "sites_total": 0,
- "devices_total": 0,
- "devices_online": 0,
- "devices_offline": 0,
- "deployments_running": 0,
- "alerts_open": 0,
- "alerts_critical": 0
}| tenantID required | string <uuid> |
{- "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "role": "global_admin",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "description": "string",
- "timezone": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| timezone | string [ 1 .. 64 ] characters |
{- "name": "string",
- "description": "string",
- "timezone": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "description": "string",
- "timezone": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| siteID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "description": "string",
- "timezone": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| siteID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| timezone | string [ 1 .. 64 ] characters |
{- "name": "string",
- "description": "string",
- "timezone": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "description": "string",
- "timezone": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| siteID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| actor_user_id | string <uuid> |
| action | string <= 100 characters |
| resource_type | string <= 100 characters |
| from | string <date-time> |
| to | string <date-time> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "ts": "2019-08-24T14:15:22Z",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "actor_user_id": "d6ed4497-4325-4995-9f49-e288b7192e46",
- "actor_email": "string",
- "action": "string",
- "resource_type": "string",
- "resource_id": "string",
- "before": { },
- "after": { },
- "ip": "string",
- "request_id": "string"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}text/event-stream of event: <type> / data: <json> frames
(device.status, device.inventory, device.updated,
device.event, job.update) plus a comment heartbeat every 25 s.
Browsers cannot set headers on EventSource: instead of the
Authorization header, pass a stream token from POST /auth/sse-token
as ?sse_token= (valid for a minute, for this tenant only; the
stream stays open after it expires).
| tenantID required | string <uuid> |
| sse_token | string <= 4096 characters |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "kind": "agent",
- "label": "string",
- "max_uses": 0,
- "uses": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "status": "active"
}
]
}| tenantID required | string <uuid> |
| kind | string Default: "agent" Enum: "agent" "connector" |
| label | string <= 200 characters |
| site_id | string <uuid> |
| expires_at | string <date-time> |
| max_uses | integer [ 1 .. 100000 ] |
{- "kind": "agent",
- "label": "string",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "expires_at": "2019-08-24T14:15:22Z",
- "max_uses": 1
}{- "token": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "kind": "agent",
- "label": "string",
- "max_uses": 0,
- "uses": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "status": "active"
}, - "secret": "string",
- "install_command": "string",
- "download_url": "string"
}| tenantID required | string <uuid> |
| tokenID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}Removes the token from the list for good. Unlike revoking, nothing of
the token is kept except the audit entry. Agents and connectors that
enrolled with it keep working (they have their own keys). Only
global admins may delete tokens, and they must confirm with their
own password: they send step_up_token, which Entrosity Hub issues
for the password (POST /api/platform/v1/auth/step-up, product
rmm); an invalid, expired or reused one is a 422 with a
step_up_token field error. Deleting the token an Active
Directory sync uses for agent pushes is allowed; a new one is made
for the next push.
| tenantID required | string <uuid> |
| tokenID required | string <uuid> |
| step_up_token required | string [ 1 .. 4096 ] characters |
{- "step_up_token": "string"
}{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| sort | string <= 40 characters Column, |
| status | Array of strings (DevicePresence) <= 3 items Items Enum: "online" "offline" "never_connected" |
| os | Array of strings <= 20 items [ items <= 200 characters ] |
| ou | string <= 500 characters |
| tag | Array of strings <= 20 items [ items <= 64 characters ] |
| site_id | string <uuid> |
| source | string Enum: "agent" "ad" "both" |
| software | string <= 200 characters |
| agent_version | string <= 64 characters |
| last_seen_before | string <date-time> |
| last_seen_after | string <date-time> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| action required | string Enum: "inventory" "reboot" "shutdown" "add_tag" "uninstall_software" "wake" |
| device_ids | Array of strings <uuid> [ 1 .. 5000 ] items [ items <uuid > ] |
object (DeviceFilter) | |
object inventory: {kind}; reboot/shutdown: {delay_seconds, message, force}; add_tag: {tag}; uninstall_software: {software_name, silent_args}; wake: none. |
{- "action": "inventory",
- "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z"
}, - "payload": {
- "kind": "full",
- "delay_seconds": 0,
- "message": "string",
- "force": true,
- "tag": "string",
- "software_name": "string",
- "silent_args": "string"
}
}{- "job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "affected": 0,
- "skipped": 0,
- "skip_reasons": {
- "property1": 0,
- "property2": 0
}
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| display_name | string <= 200 characters |
| tags | Array of strings <= 50 items [ items [ 1 .. 64 ] characters ] |
object <= 50 properties | |
| site_id | string <uuid> |
| clear_site | boolean Remove the device from its site. |
{- "display_name": "string",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "clear_site": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| q | string <= 200 characters |
{- "items": [
- {
- "id": 0,
- "name": "string",
- "version": "string",
- "publisher": "string",
- "install_date": "2019-08-24",
- "source": "string",
- "arch": "string",
- "scope": "string",
- "product_code": "string",
- "winget_id": "string"
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "items": [
- {
- "drive": "string",
- "label": "string",
- "file_system": "string",
- "kind": "string",
- "size_bytes": 0,
- "free_bytes": 0
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "items": [
- {
- "name": "string",
- "description": "string",
- "mac_address": "string",
- "ipv4": [
- "string"
], - "ipv6": [
- "string"
], - "gateways": [
- "string"
], - "dns_servers": [
- "string"
], - "dhcp_enabled": true,
- "speed_mbps": 0
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "items": [
- {
- "name": "string",
- "display_name": "string",
- "state": "string",
- "start_mode": "string",
- "account": "string",
- "path": "string"
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "items": [
- {
- "name": "string",
- "full_name": "string",
- "sid": "string",
- "enabled": true,
- "is_admin": true,
- "last_logon_at": "2019-08-24T14:15:22Z"
}
]
}Windows sign-ins (console and Remote Desktop) reported by the agent. Entries are deleted 7 days after the sign-out; sign-ins that are still open are kept.
| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| limit | integer [ 1 .. 500 ] Default: 200 |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": "string",
- "session_type": "console",
- "client": "string",
- "logon_at": "2019-08-24T14:15:22Z",
- "logoff_at": "2019-08-24T14:15:22Z",
- "logoff_estimated": true
}
], - "retention_days": 0
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| range | string Default: "24h" Enum: "1h" "24h" "7d" "30d" |
{- "range": "string",
- "bucket_seconds": 0,
- "points": [
- {
- "ts": "2019-08-24T14:15:22Z",
- "cpu_pct": 0,
- "mem_pct": 0,
- "cpu_temp_c": 0,
- "disks": {
- "property1": 0.1,
- "property2": 0.1
}
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| limit | integer [ 1 .. 200 ] Default: 50 |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| kind | string Default: "full" Enum: "full" "delta" |
{- "kind": "full"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| delay_seconds | integer [ 0 .. 86400 ] Default: 0 |
| message | string <= 512 characters |
| force | boolean Default: false |
{- "delay_seconds": 0,
- "message": "string",
- "force": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| delay_seconds | integer [ 0 .. 86400 ] Default: 0 |
| message | string <= 512 characters |
| force | boolean Default: false |
{- "delay_seconds": 0,
- "message": "string",
- "force": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Uses the MSI product code (msiexec /x … /qn), the vendor's quiet uninstall string, winget, or the uninstall string with the given silent arguments. 409 codes: no_agent, software_not_found, needs_silent_args, no_uninstall_method.
| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| software_id required | integer <int64> >= 1 DeviceSoftware id. |
| silent_args | string <= 512 characters Arguments that make the uninstall string silent (e.g. /S, /quiet, /VERYSILENT); required when the program has neither a product code nor a quiet uninstall string. |
{- "software_id": 1,
- "silent_args": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}409 codes: no_site, no_connector, no_mac_address.
| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Queues a remote_desktop job: the agent (after the signed-in user
accepts, when require_consent is set) opens a stream to the
server. Open the viewer WebSocket at
viewer_path?ticket=<viewer_ticket> within ticket_expires_in
seconds; the ticket works once. A newer session on the same device
ends the older one. 403 code remote_unattended_forbidden:
require_consent false or show_banner false without
devices:remote_unattended (only tenant and global admins may skip
the prompt or hide the session bar). 409 codes: offline, no_agent,
remote_unsupported (the agent is too old or not on Windows),
decommissioned.
| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| mode required | string Enum: "control" "view"
|
| require_consent | boolean Default: false Ask the signed-in user to accept first (skipped at the sign-in
screen). |
| show_banner | boolean Default: true Show the on-screen session bar on the device (who is connected;
the user can end the session). |
{- "mode": "control",
- "require_consent": false,
- "show_banner": true
}{- "session": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "mode": "control",
- "require_consent": true,
- "show_banner": true,
- "status": "pending",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "end_reason": "string"
}, - "viewer_path": "string",
- "viewer_ticket": "string",
- "ticket_expires_in": 0
}Closes both sides of the stream. Ending a finished session is a no-op.
| tenantID required | string <uuid> |
| sessionID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "mode": "control",
- "require_consent": true,
- "show_banner": true,
- "status": "pending",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "end_reason": "string"
}This device is kept; the other one's history (jobs, deployment targets, script runs, alerts), AD link and, if it has one, its agent with inventory and metrics move over, and the other record is removed. 409 both_have_agents when both have an agent.
| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| other_device_id required | string <uuid> The device merged into this one and removed. |
{- "other_device_id": "9d121359-236e-46b3-8432-4964dd179b14"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "display_name": "string",
- "hostname": "string",
- "fqdn": "string",
- "domain": "string",
- "machine_sid": "string",
- "machine_guid": "string",
- "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
- "os_name": "string",
- "os_version": "string",
- "os_build": "string",
- "os_arch": "string",
- "manufacturer": "string",
- "model": "string",
- "serial_number": "string",
- "cpu_model": "string",
- "cpu_cores": 0,
- "ram_bytes": 0,
- "last_boot_at": "2019-08-24T14:15:22Z",
- "last_user": "string",
- "ip_addresses": [
- "string"
], - "mac_addresses": [
- "string"
], - "status": "online",
- "source": "agent",
- "agent_version": "string",
- "pending_reboot": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_inventory_at": "2019-08-24T14:15:22Z",
- "ad_dn": "string",
- "ad_ou": "string",
- "ad_enabled": true,
- "ad_last_logon_at": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "custom_fields": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| jobID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| jobID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "type": "string",
- "payload": { },
- "status": "created",
- "priority": 0,
- "timeout_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "attempts": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "sent_at": "2019-08-24T14:15:22Z",
- "acked_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "progress_pct": 0,
- "progress_message": "string",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "hostname": "string",
- "domain": "string",
- "version": "string",
- "capabilities": [
- "string"
], - "status": "online",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| connectorID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "hostname": "string",
- "domain": "string",
- "version": "string",
- "capabilities": [
- "string"
], - "status": "online",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| connectorID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| connectorID required | string <uuid> |
| ldap_host required | string [ 1 .. 255 ] characters |
| ldap_port | integer [ 1 .. 65535 ] |
| tls_mode required | string (TLSMode) Enum: "ldaps" "starttls" "none" |
| skip_tls_verify | boolean |
| ca_pem | string <= 65536 characters |
| base_dn required | string [ 1 .. 1024 ] characters |
| bind_dn required | string [ 1 .. 1024 ] characters |
| bind_password | string <= 1024 characters |
| config_id | string <uuid> |
| computer_filter | string <= 1024 characters |
{- "ldap_host": "string",
- "ldap_port": 1,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password": "string",
- "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
- "computer_filter": "string"
}{- "ok": true,
- "error": "string",
- "error_code": "string",
- "computers_found": 0,
- "server_info": "string",
- "default_naming_context": "string"
}| tenantID required | string <uuid> |
| connectorID required | string <uuid> |
| ldap_host required | string [ 1 .. 255 ] characters |
| ldap_port | integer [ 1 .. 65535 ] |
| tls_mode required | string (TLSMode) Enum: "ldaps" "starttls" "none" |
| skip_tls_verify | boolean |
| ca_pem | string <= 65536 characters |
| base_dn required | string [ 1 .. 1024 ] characters |
| bind_dn required | string [ 1 .. 1024 ] characters |
| bind_password | string <= 1024 characters |
| config_id | string <uuid> |
| computer_filter | string <= 1024 characters |
{- "ldap_host": "string",
- "ldap_port": 1,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password": "string",
- "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
- "computer_filter": "string"
}{- "items": [
- {
- "dn": "string",
- "name": "string",
- "parent_dn": "string"
}
]
}| tenantID required | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "connector_hostname": "string",
- "connector_status": "string",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 0,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password_set": true,
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 0,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password_set": true,
- "last_sync_at": "2019-08-24T14:15:22Z",
- "last_sync_status": "string",
- "consecutive_failures": 0,
- "next_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| connector_id required | string <uuid> |
| site_id | string or null <uuid> |
| enabled | boolean Default: true |
| ldap_host required | string [ 1 .. 255 ] characters |
| ldap_port | integer [ 1 .. 65535 ] |
| tls_mode required | string (TLSMode) Enum: "ldaps" "starttls" "none" |
| skip_tls_verify | boolean |
| ca_pem | string <= 65536 characters |
| base_dn required | string [ 1 .. 1024 ] characters |
| bind_dn required | string [ 1 .. 1024 ] characters |
| bind_password | string <= 1024 characters Required on create; omit on update to keep the stored password. |
| computer_filter | string <= 1024 characters |
| ou_include | Array of strings <= 500 items [ items <= 2048 characters ] |
| ou_exclude | Array of strings <= 500 items [ items <= 2048 characters ] |
| interval_minutes | integer [ 5 .. 10080 ] Default: 60 |
| auto_push_agent | boolean |
| push_username | string <= 256 characters |
| push_password | string <= 1024 characters Omit on update to keep the stored password. |
{- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 1,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password": "string",
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 60,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "connector_hostname": "string",
- "connector_status": "string",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 0,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password_set": true,
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 0,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password_set": true,
- "last_sync_at": "2019-08-24T14:15:22Z",
- "last_sync_status": "string",
- "consecutive_failures": 0,
- "next_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| configID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "connector_hostname": "string",
- "connector_status": "string",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 0,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password_set": true,
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 0,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password_set": true,
- "last_sync_at": "2019-08-24T14:15:22Z",
- "last_sync_status": "string",
- "consecutive_failures": 0,
- "next_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| configID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| connector_id required | string <uuid> |
| site_id | string or null <uuid> |
| enabled | boolean Default: true |
| ldap_host required | string [ 1 .. 255 ] characters |
| ldap_port | integer [ 1 .. 65535 ] |
| tls_mode required | string (TLSMode) Enum: "ldaps" "starttls" "none" |
| skip_tls_verify | boolean |
| ca_pem | string <= 65536 characters |
| base_dn required | string [ 1 .. 1024 ] characters |
| bind_dn required | string [ 1 .. 1024 ] characters |
| bind_password | string <= 1024 characters Required on create; omit on update to keep the stored password. |
| computer_filter | string <= 1024 characters |
| ou_include | Array of strings <= 500 items [ items <= 2048 characters ] |
| ou_exclude | Array of strings <= 500 items [ items <= 2048 characters ] |
| interval_minutes | integer [ 5 .. 10080 ] Default: 60 |
| auto_push_agent | boolean |
| push_username | string <= 256 characters |
| push_password | string <= 1024 characters Omit on update to keep the stored password. |
{- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 1,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password": "string",
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 60,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "connector_hostname": "string",
- "connector_status": "string",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "enabled": true,
- "ldap_host": "string",
- "ldap_port": 0,
- "tls_mode": "ldaps",
- "skip_tls_verify": true,
- "ca_pem": "string",
- "base_dn": "string",
- "bind_dn": "string",
- "bind_password_set": true,
- "computer_filter": "string",
- "ou_include": [
- "string"
], - "ou_exclude": [
- "string"
], - "interval_minutes": 0,
- "auto_push_agent": true,
- "push_username": "string",
- "push_password_set": true,
- "last_sync_at": "2019-08-24T14:15:22Z",
- "last_sync_status": "string",
- "consecutive_failures": 0,
- "next_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| configID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| configID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
- "trigger": "manual",
- "status": "pending",
- "seen": 0,
- "created_count": 0,
- "updated_count": 0,
- "gone_count": 0,
- "matched_count": 0,
- "error_code": "string",
- "error_text": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| configID required | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
- "trigger": "manual",
- "status": "pending",
- "seen": 0,
- "created_count": 0,
- "updated_count": 0,
- "gone_count": 0,
- "matched_count": 0,
- "error_code": "string",
- "error_text": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| config_id | string <uuid> |
| ou | string <= 2048 characters |
| enabled | boolean |
| gone | boolean |
| unmanaged | boolean true for computers without an agent-managed device. |
| push | string Enum: "none" "pending" "success" "failed" Agent push state: |
| push_error_code | string <= 64 characters Only failed pushes with this error code (see the error codes reference). |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
- "object_guid": "string",
- "object_sid": "string",
- "dn": "string",
- "ou": "string",
- "name": "string",
- "dns_hostname": "string",
- "domain": "string",
- "os": "string",
- "os_version": "string",
- "description": "string",
- "enabled": true,
- "last_logon_at": "2019-08-24T14:15:22Z",
- "when_created": "2019-08-24T14:15:22Z",
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "gone_since": "2019-08-24T14:15:22Z",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "device_status": "string",
- "device_source": "string",
- "push_status": "",
- "push_error_code": "string",
- "push_error": "string",
- "push_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}Counts for an OU (and every OU below it) and/or a domain configuration, or the whole tenant. The push counts and the failures by error code cover present computers that still have no agent: the ones that need attention.
| tenantID required | string <uuid> |
| config_id | string <uuid> |
| ou | string <= 2048 characters |
{- "present": 0,
- "managed": 0,
- "unmanaged": 0,
- "disabled": 0,
- "gone": 0,
- "never_pushed": 0,
- "pushing": 0,
- "push_failed": 0,
- "failures": [
- {
- "code": "string",
- "computers": 0
}
]
}| tenantID required | string <uuid> |
| ad_computer_ids | Array of strings <uuid> <= 500 items [ items <uuid > ] |
| device_ids | Array of strings <uuid> <= 500 items [ items <uuid > ] |
{- "ad_computer_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "queued": 0,
- "skipped": [
- {
- "ad_computer_id": "7b703360-66bc-4768-ae4d-4fb76c7ec181",
- "reason": "gone"
}
]
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| kind | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| ready_only | boolean Only packages that can be deployed. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| name required | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| kind required | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| script_content | string <= 262144 characters PowerShell packages without a file. |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| script_content | string <= 262144 characters |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| clear_detection | boolean |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "clear_detection": true,
- "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| packageID required | string <uuid> |
| file_name required | string [ 1 .. 255 ] characters |
| size_bytes required | integer <int64> [ 1 .. 4294967296 ] |
| content_type | string <= 100 characters |
{- "file_name": "string",
- "size_bytes": 1,
- "content_type": "string"
}{- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "object_key": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}| packageID required | string <uuid> |
| object_key required | string <= 512 characters |
| sha256 required | string^[0-9a-fA-F]{64}$ |
{- "object_key": "string",
- "sha256": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| q | string <= 100 characters 2-100 characters (optional in the schema so access checks run first; 422 when missing). |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "publisher": "string",
- "versions": [
- "string"
]
}
]
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| kind | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| ready_only | boolean Only packages that can be deployed. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| kind required | string (PackageKind) Enum: "msi" "exe" "powershell" "winget" |
| script_content | string <= 262144 characters PowerShell packages without a file. |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| packageID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| packageID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| version | string <= 100 characters |
| publisher | string <= 200 characters |
| description | string <= 2000 characters |
| script_content | string <= 262144 characters |
| winget_id | string <= 128 characters |
| winget_version | string <= 64 characters |
| winget_source | string Enum: "winget" "msstore" |
| install_args | string <= 2000 characters |
| uninstall_args | string <= 2000 characters |
| success_exit_codes | Array of integers <= 20 items |
object (Detection) Decides whether the package is installed (skip before install, verify after).
| |
| clear_detection | boolean |
| requires_reboot | boolean |
| timeout_seconds | integer [ 60 .. 86400 ] |
| run_as | string Enum: "system" "logged_on_user" |
| arch | string Enum: "any" "x64" "x86" "arm64" |
| min_os_build | integer [ 0 .. 1000000 ] |
{- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "winget",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "clear_detection": true,
- "requires_reboot": true,
- "timeout_seconds": 60,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| packageID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| packageID required | string <uuid> |
| file_name required | string [ 1 .. 255 ] characters |
| size_bytes required | integer <int64> [ 1 .. 4294967296 ] |
| content_type | string <= 100 characters |
{- "file_name": "string",
- "size_bytes": 1,
- "content_type": "string"
}{- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "object_key": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}422 hash_mismatch, size_mismatch, upload_missing or object_key_mismatch leave the package draft.
| tenantID required | string <uuid> |
| packageID required | string <uuid> |
| object_key required | string <= 512 characters |
| sha256 required | string^[0-9a-fA-F]{64}$ |
{- "object_key": "string",
- "sha256": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "version": "string",
- "publisher": "string",
- "description": "string",
- "kind": "msi",
- "status": "draft",
- "file_name": "string",
- "size_bytes": 0,
- "sha256": "string",
- "script_content": "string",
- "winget_id": "string",
- "winget_version": "string",
- "winget_source": "string",
- "msi_product_code": "string",
- "install_args": "string",
- "uninstall_args": "string",
- "success_exit_codes": [
- 0
], - "detection": {
- "type": "msi_product_code",
- "product_code": "string",
- "key": "string",
- "value": "string",
- "op": "exists",
- "expected": "string",
- "path": "string",
- "min_version": "string",
- "id": "string"
}, - "requires_reboot": true,
- "timeout_seconds": 0,
- "run_as": "system",
- "arch": "any",
- "min_os_build": 0,
- "used_by": 0,
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| q | string <= 100 characters 2-100 characters (optional in the schema so access checks run first; 422 when missing). |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "publisher": "string",
- "versions": [
- "string"
]
}
]
}| tenantID required | string <uuid> |
| target_kind required | string Enum: "all" "devices" "filter" |
| device_ids | Array of strings <uuid> [ 1 .. 20000 ] items [ items <uuid > ] |
object (DeploymentTargetFilter) The device list filters plus software present/absent. |
{- "target_kind": "all",
- "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}
}{- "count": 0,
- "sample": [
- "string"
], - "excluded": {
- "no_agent": 0,
- "decommissioned": 0,
- "not_found": 0
}
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| status | Array of strings (DeploymentStatus) <= 7 items Items Enum: "draft" "scheduled" "running" "paused" "completed" "cancelled" "failed" |
| package_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| package_id required | string <uuid> |
| action | string Default: "install" Enum: "install" "uninstall" |
| target_kind required | string Enum: "all" "devices" "filter" |
| device_ids | Array of strings <uuid> [ 1 .. 20000 ] items [ items <uuid > ] |
object (DeploymentTargetFilter) The device list filters plus software present/absent. | |
| schedule_kind | string Default: "now" Enum: "now" "at" "window" |
| scheduled_at | string <date-time> |
| window_start | string^([01][0-9]|2[0-3]):[0-5][0-9]$ HH:MM in each device's site timezone. |
| window_end | string^([01][0-9]|2[0-3]):[0-5][0-9]$ |
| reboot_policy | string Default: "never" Enum: "never" "if_required" "always" |
| max_concurrency | integer [ 1 .. 1000 ] Default: 50 |
| retry_count | integer [ 0 .. 10 ] Default: 0 |
| retry_backoff_seconds | integer [ 0 .. 86400 ] Default: 300 |
| expires_after_hours | integer [ 1 .. 720 ] Default: 72 |
{- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "action": "install",
- "target_kind": "all",
- "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 50,
- "retry_count": 0,
- "retry_backoff_seconds": 300,
- "expires_after_hours": 72
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}Creates one deployment per package, in the order given, all with the
same targets, schedule and options, in one transaction (all or
nothing). Each is named "
| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| package_ids required | Array of strings <uuid> [ 1 .. 20 ] items unique [ items <uuid > ] The packages, in install order. |
| action | string Default: "install" Enum: "install" "uninstall" |
| target_kind required | string Enum: "all" "devices" "filter" |
| device_ids | Array of strings <uuid> [ 1 .. 20000 ] items [ items <uuid > ] |
object (DeploymentTargetFilter) The device list filters plus software present/absent. | |
| schedule_kind | string Default: "now" Enum: "now" "at" "window" |
| scheduled_at | string <date-time> |
| window_start | string^([01][0-9]|2[0-3]):[0-5][0-9]$ HH:MM in each device's site timezone. |
| window_end | string^([01][0-9]|2[0-3]):[0-5][0-9]$ |
| reboot_policy | string Default: "never" Enum: "never" "if_required" "always" |
| max_concurrency | integer [ 1 .. 1000 ] Default: 50 |
| retry_count | integer [ 0 .. 10 ] Default: 0 |
| retry_backoff_seconds | integer [ 0 .. 86400 ] Default: 300 |
| expires_after_hours | integer [ 1 .. 720 ] Default: 72 |
{- "name": "string",
- "package_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "action": "install",
- "target_kind": "all",
- "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 50,
- "retry_count": 0,
- "retry_backoff_seconds": 300,
- "expires_after_hours": 72
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| deploymentID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deploymentID required | string <uuid> |
| action required | string Enum: "cancel" "pause" "resume" "add_new_devices" |
{- "action": "cancel"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "name": "string",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "package_kind": "msi",
- "action": "install",
- "target_kind": "all",
- "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "schedule_kind": "now",
- "scheduled_at": "2019-08-24T14:15:22Z",
- "window_start": "string",
- "window_end": "string",
- "reboot_policy": "never",
- "max_concurrency": 0,
- "retry_count": 0,
- "retry_backoff_seconds": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "status": "draft",
- "excluded_count": 0,
- "total": 0,
- "counts": {
- "pending": 0,
- "queued": 0,
- "running": 0,
- "success": 0,
- "failed": 0,
- "skipped": 0,
- "cancelled": 0,
- "timeout": 0
}, - "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_email": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deploymentID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| status | Array of strings (DeploymentTargetStatus) <= 9 items Items Enum: "pending" "queued" "downloading" "installing" "success" "failed" "skipped" "cancelled" "timeout" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "hostname": "string",
- "device_status": "string",
- "status": "pending",
- "attempt": 0,
- "next_attempt_at": "2019-08-24T14:15:22Z",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| deploymentID required | string <uuid> |
| deviceID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "hostname": "string",
- "device_status": "string",
- "status": "pending",
- "attempt": 0,
- "next_attempt_at": "2019-08-24T14:15:22Z",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "output_tail": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| deviceID required | string <uuid> |
| limit | integer [ 1 .. 200 ] Default: 50 |
{- "items": [
- {
- "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6",
- "deployment_name": "string",
- "deployment_status": "draft",
- "action": "install",
- "package_id": "82585450-66a8-4ff2-8a7e-8e7bec960ae1",
- "package_name": "string",
- "package_version": "string",
- "status": "pending",
- "attempt": 0,
- "exit_code": 0,
- "error_code": "string",
- "error": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language required | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content required | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Default: "system" Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] Default: 600 |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 600
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| scriptID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| scriptID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 10
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| scriptID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| tenantID required | string <uuid> |
| scriptID required | string <uuid> |
{- "items": [
- {
- "version": 0,
- "content": "string",
- "params_schema": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| scriptID required | string <uuid> |
| target_kind required | string Enum: "all" "devices" "filter" |
| device_ids | Array of strings <uuid> [ 1 .. 5000 ] items [ items <uuid > ] |
object (DeploymentTargetFilter) The device list filters plus software present/absent. | |
object Parameter values by name (validated against the script's params_schema; 422 with |
{- "target_kind": "all",
- "device_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "target_filter": {
- "q": "string",
- "status": [
- "online"
], - "os": [
- "string"
], - "ou": "string",
- "tags": [
- "string"
], - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "source": "agent",
- "software": "string",
- "agent_version": "string",
- "last_seen_before": "2019-08-24T14:15:22Z",
- "last_seen_after": "2019-08-24T14:15:22Z",
- "software_present": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}, - "software_absent": {
- "name": "string",
- "version_op": "<",
- "version": "string"
}
}, - "params": { }
}{- "runs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "script_id": "74e7d8c3-daa9-40c1-ac0e-b64bfab79c57",
- "script_version": 0,
- "script_name": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "requested_by_email": "string",
- "params": { },
- "run_as": "string",
- "status": "queued",
- "exit_code": 0,
- "output_bytes": 0,
- "error_code": "string",
- "error": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "excluded": {
- "no_agent": 0,
- "decommissioned": 0,
- "not_found": 0
}
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| script_id | string <uuid> |
| device_id | string <uuid> |
| status | string (ScriptRunStatus) Enum: "queued" "running" "succeeded" "failed" "timeout" "cancelled" |
| from | string <date-time> |
| to | string <date-time> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "script_id": "74e7d8c3-daa9-40c1-ac0e-b64bfab79c57",
- "script_version": 0,
- "script_name": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "requested_by_email": "string",
- "params": { },
- "run_as": "string",
- "status": "queued",
- "exit_code": 0,
- "output_bytes": 0,
- "error_code": "string",
- "error": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| tenantID required | string <uuid> |
| runID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "script_id": "74e7d8c3-daa9-40c1-ac0e-b64bfab79c57",
- "script_version": 0,
- "script_name": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "requested_by_email": "string",
- "params": { },
- "run_as": "string",
- "status": "queued",
- "exit_code": 0,
- "output_bytes": 0,
- "error_code": "string",
- "error": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "output": "string",
- "output_end": 0,
- "output_truncated": true
}| tenantID required | string <uuid> |
| runID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "script_id": "74e7d8c3-daa9-40c1-ac0e-b64bfab79c57",
- "script_version": 0,
- "script_name": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "requested_by_email": "string",
- "params": { },
- "run_as": "string",
- "status": "queued",
- "exit_code": 0,
- "output_bytes": 0,
- "error_code": "string",
- "error": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| q | string <= 200 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "page_size": 0,
- "total": 0
}| name required | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language required | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content required | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Default: "system" Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] Default: 600 |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 600
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
| description | string <= 2000 characters |
| language | string (ScriptLanguage) Enum: "powershell" "pwsh" "cmd"
|
| content | string [ 1 .. 262144 ] characters |
object (ScriptParamsSchema) JSON Schema (draft-07 subset): | |
| run_as | string Enum: "system" "logged_on_user" |
| timeout_seconds | integer [ 10 .. 86400 ] |
{- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 10
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "description": "string",
- "language": "powershell",
- "content": "string",
- "params_schema": { },
- "run_as": "system",
- "timeout_seconds": 0,
- "current_version": 0,
- "last_run_at": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| scriptID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}| scriptID required | string <uuid> |
{- "items": [
- {
- "version": 0,
- "content": "string",
- "params_schema": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}Defaults for global admins who are not members of the tenant.
| tenantID required | string <uuid> |
{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}| tenantID required | string <uuid> |
| alert_email required | string Enum: "off" "immediate" "digest" immediate mails new alerts as they open (a storm becomes one summary); digest collects them and mails them every digest_interval. Offline devices are never mailed one by one (see offline_batch_minutes). |
| min_severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| digest_interval | string Enum: "15m" "hourly" "daily" How often digest delivery mails (daily at digest_hour). Default 15m. |
| digest_hour | integer [ 0 .. 23 ] Hour of the daily digest, in timezone. Default 8. |
| timezone | string <= 64 characters IANA time zone for digest_hour and quiet_hours ("" = the tenant's default time zone). |
| offline_batch_minutes | integer Enum: 5 15 30 60 Default 15. Devices going offline are collected for this long and mailed together: one e-mail lists the devices that went offline and every device that is currently offline. |
| muted_types | Array of strings (AlertRuleType) <= 32 items unique Items Enum: "device_offline" "disk_free_pct" "agent_outdated" "cpu_pct" "mem_pct" "cpu_temp" "deployment_failed" "adsync_failed" "connector_offline" Alert types that are never e-mailed. Default none. |
| notify_resolved | boolean Also mail when alerts resolve (devices back online are listed in the offline e-mail). Default false. |
object (QuietHours) No e-mail is sent between start and end (in timezone; end before start spans midnight). What would have been sent goes out as one summary when the quiet hours end. Critical alerts are held too unless critical_bypass. |
{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}{- "alert_email": "off",
- "min_severity": "info",
- "digest_interval": "15m",
- "digest_hour": 0,
- "timezone": "string",
- "offline_batch_minutes": 5,
- "muted_types": [
- "device_offline"
], - "notify_resolved": true,
- "quiet_hours": {
- "enabled": true,
- "start": "22:00",
- "end": "07:00",
- "critical_bypass": true
}
}| tenantID required | string <uuid> |
| page | integer [ 1 .. 100000 ] Default: 1 |
| page_size | integer [ 1 .. 200 ] Default: 50 |
| status | string Enum: "open" "acknowledged" "resolved" |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| device_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "subject_type": "device",
- "subject_id": "80e197be-61ad-4068-b4ff-a483fb5c18f9",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "device_hostname": "string",
- "severity": "info",
- "title": "string",
- "message": "string",
- "status": "open",
- "opened_at": "2019-08-24T14:15:22Z",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "resolved_at": "2019-08-24T14:15:22Z",
- "resolved_by": "d0d57369-b08b-4db8-8952-8cdeedd9aebc"
}
], - "total": 0,
- "page": 0,
- "page_size": 0,
- "counts": {
- "open": 0,
- "acknowledged": 0,
- "resolved": 0
}
}| tenantID required | string <uuid> |
| ids required | Array of strings <uuid> [ 1 .. 500 ] items [ items <uuid > ] |
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "changed": 0
}| tenantID required | string <uuid> |
| ids required | Array of strings <uuid> [ 1 .. 500 ] items [ items <uuid > ] |
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "changed": 0
}| tenantID required | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| tenantID required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| type required | string (AlertRuleType) Enum: "device_offline" "disk_free_pct" "agent_outdated" "cpu_pct" "mem_pct" "cpu_temp" "deployment_failed" "adsync_failed" "connector_offline" |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| ruleID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantID required | string <uuid> |
| ruleID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 200 ] characters |
| type required | string (AlertRuleType) Enum: "device_offline" "disk_free_pct" "agent_outdated" "cpu_pct" "mem_pct" "cpu_temp" "deployment_failed" "adsync_failed" "connector_offline" |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleID required | string <uuid> |
| name | string [ 1 .. 200 ] characters |
object (AlertCondition) Parameters by rule type — device_offline {minutes (default 60)}; disk_free_pct {below, drive?}; agent_outdated {min_version? (default: latest stable agent release)}; cpu_pct / mem_pct {above, minutes (default 15)}; cpu_temp {above_c (default 90), minutes (default 10)}; deployment_failed {threshold_pct (default 20)}; adsync_failed {}; connector_offline {minutes (default 15)}. | |
| severity | string (AlertSeverity) Enum: "info" "warning" "critical" |
| enabled | boolean |
{- "name": "string",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "scope": "tenant",
- "name": "string",
- "type": "device_offline",
- "condition": {
- "minutes": 5,
- "below": 1,
- "drive": "string",
- "min_version": "string",
- "above": 1,
- "threshold_pct": 1,
- "above_c": 30
}, - "severity": "info",
- "enabled": true,
- "enabled_for_tenant": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}
], - "adoption": [
- {
- "component": "agent",
- "version": "string",
- "count": 0
}
], - "public_key": "string"
}Global admins, or release automation with Authorization: Bearer <RMM_RELEASE_TOKEN>.
PUT the MSI to upload.url with upload.headers, then POST .../publish.
| component required | string Enum: "agent" "connector" |
| version required | string <= 64 characters |
| channel | string Enum: "stable" "beta" |
| notes | string <= 4000 characters |
| sha256 required | string^[0-9a-fA-F]{64}$ |
| size_bytes required | integer <int64> [ 1 .. 524288000 ] |
| rollout_pct | integer [ 0 .. 100 ] |
{- "component": "agent",
- "version": "string",
- "channel": "stable",
- "notes": "string",
- "sha256": "string",
- "size_bytes": 1,
- "rollout_pct": 0
}{- "release": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}, - "upload": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "object_key": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}
}| releaseID required | string <uuid> |
| channel | string Enum: "stable" "beta" |
| notes | string <= 4000 characters |
| rollout_pct | integer [ 0 .. 100 ] |
{- "channel": "stable",
- "notes": "string",
- "rollout_pct": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}| releaseID required | string <uuid> |
{- "type": "about:blank",
- "title": "string",
- "status": 0,
- "detail": "string",
- "code": "string",
- "instance": "string",
- "request_id": "string",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}409 codes: upload_missing, upload_mismatch, signing_key_missing, not_draft.
| releaseID required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "component": "agent",
- "version": "string",
- "channel": "stable",
- "status": "draft",
- "size_bytes": 0,
- "sha256": "string",
- "signature": "string",
- "notes": "string",
- "rollout_pct": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z"
}Global admins only (not the release automation token). The link is presigned for one hour and
the browser saves the file as file_name (rmm-<component>-<version>.msi). Drafts can be
downloaded once their MSI is uploaded. Each link is audited as release.download.
409 codes: upload_missing, storage_unavailable.
| releaseID required | string <uuid> |
{- "download_url": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "file_name": "string"
}