Appearance
API changelog
Changes to the OpsMerge API are announced here, newest first. The promises behind each entry — what counts as breaking, and how much notice you get per stability tier — are on the API page. The spec's info.version is date-based and matches the most recent entry.
2026-11-24
Reports: the dataset catalogue is complete. Additive, beta.
GET /report-datasetsnow lists 107 datasets in 13 groups, up from 17. They include twelve ready-made metrics withkind: "metric", such as SLA performance, client profitability, patch compliance and backup success rate.- New group keys:
metrics,security,m365_email,projects,docs_vcioandtenant_admin. max_period_daysis now set where a large dataset caps its Period (raw check results at 31 days, ticket volume at 366).period_requiredis true on every time-series dataset.- Datasets with no client field (the client list, and tenant-wide data such as Scripts) now report
client_scope: "tenant". POST /report-queries/testandPOST /report-queries/{id}/testreturn400for a time-series model queried without agtorgtefilter on its Period field, or with a start further back thanmax_period_days.
Device sessions: OpsMerge Desk PIN policy. Additive, beta.
POST /auth/device-sessionsandPOST /auth/device-sessions/exchangenow returndesk_require_pin: whether the user's organisation requires a Desk PIN as well as Windows Hello. OpsMerge Desk applies it to the device at setup and at each unlock. Other clients can ignore it.- The setting is
desk_require_pinonGETandPUT /settings/security(internal), off by default. OnPUTit is optional; leaving it out keeps the current value.
Agents: release a device to another tenant. New, beta.
- New
POST /agents/{id}/releaseremoves the agent exactly asDELETE /agents/{id}does, so another tenant can register the same device, but sends no uninstall to a linked Bitdefender GravityZone endpoint. Nothing is sent to the device either. Returns204, writes anagent.releaseaudit entry, and needs theagents:writescope. The required permission is provisional and may change while the operation isbeta.
Agents: registration preflight. New, beta.
- New public
POST /agents/register/preflightwith{"registration_token", "agent_id"}answers whether that agent ID could register under that token, without registering it or using up the token.resultisallowed,cross_tenant(another tenant still manages the device) oronline_without_proof(the agent is online in your tenant and no possession proof was sent). It never says which tenant, site or host holds the device. Token failures are401with the same codes as registration. Rate-limited per IP like registration. - The install scripts now call it before a Force reinstall removes the existing agent, and stop with the agent untouched when registration would be refused.
POST /agents/registeris unchanged.
2026-11-23
Reports: dataset catalogue for the report builder. New, beta.
GET /report-datasetslists the datasets the no-code report builder offers. Each dataset is keyed by its model name (as in saved queries) and has labels in your locale, typedfieldswith the filteroperators,aggregationsand grouping each allows,enum_valueswhere the values are fixed, and theclient_field,site_fieldandperiod_fieldthat answer the Client, Site and Period questions when a report runs. ID fields are not listed. Datasets that need a permission you lack are left out. Needsreports:read.- New datasets, fields, field types and operators will be added without notice, so ignore values you don't recognise.
versionchanges only if the shape breaks.
Tickets: unmatched tray requesters. Additive, beta.
- New
GET /psa/tickets/{id}/tray-requesterreturns who sent a tray request that matched no contact:typed_name,typed_email,local_user(the Windows login) andhostname, withunmatched: true.other_client_nameslists other clients with a contact using the typed email, by name only, and is empty unless the caller also holdsclients.listandpsa.contacts.view. Needs thepsa-tickets:readscope. - New
POST /psa/tickets/{id}/tray-requester/contactcreates a contact under the ticket's client from the submission, sets itswindows_usernameand makes it the requester. Returns201. Needs thepsa-tickets:writeandpsa-contacts:writescopes. - New
POST /psa/tickets/{id}/tray-requester/linkwith{"contact_id", "overwrite_windows_username"}links a contact of the ticket's client and sets itswindows_username. A contact from any other client, or with no client, is a400. A different existingwindows_usernameis a409 WINDOWS_USERNAME_CONFLICTunlessoverwrite_windows_usernameis true. Needs thepsa-tickets:writeandpsa-contacts:writescopes. - Both writes return
409 TRAY_REQUESTER_NOT_PENDINGonce the ticket has a requester, and409 WINDOWS_USERNAME_TAKENwhen another contact in the client already has that login. Adding a contact also returns409 CONTACT_EMAIL_TAKENwhen a contact in the client already has the typed email. Both carrydetails.contact_idanddetails.contact_name.
2026-11-19
Tray configs: clone, inheritance and delete fixes. Additive and behaviour changes, internal.
- New
POST /tray-configs/{id}/clonewith{"scope_type", "scope_id", "include_scripts", "include_branding"}copies a tray config to another scope in one step, optionally with its branding and every self-service catalogue entry. Returns409if the target scope already has a config. Needs thetray:writescope. - A blank branding field (
company_name,support_phone,support_email,support_url,icon_url,logo_url,primary_color) now means "inherit from the parent scope".POST /tray-configsstores it as null, andPUT /tray-configs/{id}with""ornullclears it. Before, an empty string was stored and overrode the parent. Leaving a field out of aPUTstill keeps it. primary_colormust be#and six hex digits; anything else is a400, not a500. Creating a second config for the same scope is a409. For theorgscope,scope_idmay be left out. Other scopes must name a client, site or agent in your organisation.GET /tray-configsandGET /tray-configs/{id}now includescope_nameandcatalogue_count.DELETE /tray-configs/{id}returnscatalogue_entries_removedand now pushes the change to devices; a device with no config left is told to turn the tray off.GET /tray-configs/resolve/{agentID}now returns the payload the agent is pushed (withself_service, filtered to the agent's platform) instead of a merged config row.PUT /agents/{agentID}/tray-enabledkeeps the multi-session setting the agent inherits instead of resetting it to off.PUT /tray-policy-scripts/{id}with an emptydescription,iconorconfirmation_promptnow clears it. Adding a script that is already in the catalogue is a409, not a500.
2026-11-18
Documents: show in the desktop app. Additive, beta.
- New
PUT /documents/{id}/desktop-visibilitywith{"visible_on_desktop": true|false}shows or hides a file or article in the end-user desktop app. The app lists a document only when this is on and the document is associated with the device's client, site or agent. Needs thedocuments:writescope. - Documents returned by
GET /documentsnow includevisible_on_desktop. Existing documents arefalse.
Checks: null clears a threshold. Behaviour change, stable.
PUT /checks/{id}withwarn_thresholdorerr_thresholdset tonullnow removes that threshold. Before, null was ignored and the old threshold stayed, though the call succeeded. Leaving the field out still leaves it unchanged.
Checks: legacy config keys are honoured. Fix.
- A disk check saved with
config.partitionand noconfig.disknow monitors that partition. Before, the agent ignoredpartitionand checked/. The console's check forms wrotepartitionuntil this release and now writedisk. - A script check saved with
config.script_idand noconfig.script_bodynow runs that library script, with its shell and default timeout, andconfig.script_argsis passed as its arguments. Before, the agent reported "missing script_body".
2026-11-17
Agents: per-agent policy overrides. Additive, beta.
GET /agents/{agentID}/policy-overrideslists every enabled check, task, scheduled script and app of the agent's effective policy, each with the agent's override if it has one, plus counts of agent-only checks and tasks and of dormant overrides.PUT /agents/{agentID}/policy-overrides/{kind}/{itemID}turns one policy item off for that agent (disabled), or for a check sets its ownwarn_threshold,err_thresholdandcheck_interval.kindischecks,tasks,scriptsorapps.DELETEon the same path removes the override.DELETE /agents/{agentID}/policy-overridesresets the agent to its policy: every override goes, and so do its agent-only checks and tasks.GET /policies/{id}/agent-overrideslists every agent override of a policy's items.
Checks and tasks: policy rows refuse direct edits. Behaviour change, stable.
PUTandDELETEon/checks/{id}and/tasks/{id}now return 409POLICY_MANAGEDwhen the row came from a policy. Those calls used to succeed and were then silently undone the next time the policy was applied. Use the policy override endpoints above for one agent, or edit the policy.
2026-11-02
Invoices: accounts package push state on the list. Additive, stable.
- Each row from
GET /psa/billing/invoicesgainsaccounting_provider(freeagent,quickbooks_online,xero, or an empty string when none is connected) andaccounting_push_status(pushed,pending,not_pushed,failed, or an empty string). The statuses mean the same as the provider block on the invoice detail response, so you no longer need one detail call per invoice to find those that have not reached the accounts package.
2026-11-01
Tickets: filter the list by site and by last-updated time. Additive, stable.
GET /psa/ticketstakes an optionalsite_id, returning only tickets raised against that site. It combines withclient_id.GET /psa/ticketstakes optionalupdated_afterandupdated_before(RFC 3339). A malformed value returns 400.- Each row in the full (non-
compact) list gainssite_name, the name of the ticket's site, ornull.
Contacts: deleting a contact keeps their comments. Fix, stable.
DELETE /psa/contacts/{id}used to fail with 500 when the contact had commented on a ticket through the portal or a desktop tray app. It now succeeds, and the comments stay on their tickets.- On those comments,
author_contact_idbecomesnull.author_name(already in the comment response) keeps the contact's name, andauthor_emailkeeps their email when they had one. No fields were added or removed.
Asset groups: agent_id left out of the field catalogue. beta.
GET /asset-groups/fieldsno longer listsagent_id(the NATS agent ID). It is an internal routing key, not something to filter devices on. Criteria that already useagent_idstill parse and evaluate, so existing groups are unaffected.
2026-10-30
Remote access tool detection (RMM, RAT, MDM). Additive, beta.
GET /agents/{agentID}/rmm-detections— remote access tools found on a device from the LOLRMM catalogue, with the matching evidence,installedorrunningstatus and whether the tool is sanctioned.GET /rmm-tools/catalogueandGET /rmm-tools/catalogue/status— the catalogue, refreshed daily, and when it last refreshed.GET,POST /rmm-tools/sanctionedandDELETE /rmm-tools/sanctioned/{id}— tools the organisation allows, per organisation, client or site.GET,POST /rmm-tools/alert-rules,GET,PUT,DELETE /rmm-tools/alert-rules/{id}andGET /rmm-tools/alert-rules/{id}/existing-detections— RMM alert rules. Writes need the newrmm-alerts:writescope (rmm_alerts.managepermission).GET /agentstakes optionalrmm_category(any,RMM,RAT,MDM) andrmm_tool_idfilters.- Alerts gain two
alert_typevalues:rmm_tool_detectedandrmm_tool_removed.
Scripts: queue options on batch dispatch. Additive, stable.
POST /scripts/{scriptID}/dispatchtakes optionalqueue_expiry_minutes(1 to 40320) andignore_offline. Without them a run still waits up to 28 days for an offline agent, so existing callers are unaffected.ignore_offline: trueleaves out agents that are offline at dispatch and fails, rather than queues, any that drop offline before their job runs. The response gainsskipped_offline, and a request that leaves no agent online returns 400NO_ONLINE_AGENTS.
2026-10-29
Remote tools: bring-your-own AnyDesk and Splashtop. Additive, beta.
GET /remote-tools/configandPUT /remote-tools/config/{tool}— the organisation's AnyDesk and Splashtop settings, and which tools are in the default set clients inherit.PUTneeds the newremote-tools:writescope (remote_tools.managepermission).GET /clients/{clientID}/remote-toolsandPUT /clients/{clientID}/remote-tools— a client's selection:{"inherit": true}or{"tools": [...]}, where[]means none.GET /agents/{agentID}/remote-tools— the device's tools with the IDs its agent reported.POST /agents/{agentID}/remote-tools/{tool}/launch— audits and returns a server-built launch URL. Same scope as OpsMerge Connect (agents:execute).
Remote tools: ScreenConnect, BeyondTrust, TeamViewer and a custom link. Additive, beta.
{tool}and every tool list now acceptscreenconnect,beyondtrust,teamviewerandcustomas well asanydeskandsplashtop.PUT /remote-tools/config/{tool}takesinstanceandgroupfor ScreenConnect,appliancefor BeyondTrust, and forcustomadisplay_nameplusurl_template,id_sourceand the source's fields. A custom registry or file ID source also needs thescripts.runpermission (403 without it). See the operation for the template rules.RemoteToolConfiggainsbetaandrequired_keys.AgentRemoteToolgainsbeta,uses_idandhostname. A tool found by hostname (BeyondTrust) hasuses_id: falseand launches without a reported ID.reasongainsinvalid_hostnameandinvalid_settings.POST .../launchcan return 422REMOTE_TOOL_INVALID_HOSTNAMEorREMOTE_TOOL_INVALID_SETTINGS.
Remote tools: install and uninstall. Additive, beta.
POST /agents/{agentID}/remote-tools/{tool}/installandPOST .../uninstallqueue an install or uninstall of the vendor's client and return 202 with aRemoteToolInstall. Install works on Windows and macOS, uninstall on Windows only; the custom tool cannot be installed. Scoperemote-tools:write(remote_tools.manage).PUT /remote-tools/config/{tool}takes optionalinstall(windows_url,macos_url, and TeamViewer'scustom_config_id), write-onlysecrets(deployment_code,licence_key,assignment_id,installer_key;nullclears one) andauto_install. Omitting them keeps what is stored, so existing callers are unaffected.RemoteToolConfiggainsinstallable,auto_install,install,install_keys,secret_keys,has_secretsandinstall_error. Secret values are never returned.AgentRemoteToolgainsinstallable,install_reason,uninstallable,uninstall_reasonandlast_install.
Tickets: moving a ticket to another client. stable. Additive, plus two fixes to behaviour that was broken.
PATCH /psa/tickets/{id}acceptsconfirm_client_change. Aclient_idchange on a ticket with unbilled time used to fail with 500; it now returns 409CLIENT_CHANGE_NEEDS_CONFIRM, and succeeds when re-sent withconfirm_client_change: true. The unbilled time then goes on the new client's next invoice.- A
client_idchange on a ticket with billed time returns 409CLIENT_CHANGE_BILLED_TIME(it was also a 500). Void the invoice first. - A
client_idchange on a ticket with any ticket charge returns 409CLIENT_CHANGE_HAS_CHARGES(it used to succeed and leave the charges billing the old client). Charges keep the client they were added under. site_id: nullnow clears the ticket's site. It was silently ignored, so a ticket moved to another client kept the old client's site. Omittingsite_idstill leaves the site unchanged.- Send
client_idandrequester_contact_idin the same request: the requester must belong to the new client or be a floating contact.
Asset groups: Huntress criteria fields, and field catalogue fixes. Additive, beta.
GET /asset-groups/fieldslists eleven newhuntress.*fields:linked,install_status,isolated,tamper_protection,pending_uninstall,defender_status,firewall_status,last_callback,match_method,agent_versionandopen_incident_count. Use them in criteria like any other field.namespacenow matches the field name's prefix for every field, as documented. Fields computed without a join (patches.*,alerts.*,software.*,heartbeat.*,td.threat_count,policy.id) used to report an empty namespace.fieldsis now sorted byname, so the order is the same on every call.
2026-10-28
Vulnerabilities: exclusions can be listed and removed, and per-device counts. Additive, beta.
GET /vulnerability-exclusions— the organisation's exclusions, newest first.agent_idnarrows to those that apply to one device.DELETE /vulnerability-exclusions/{id}— removes an exclusion; the findings it hid show again.GET /vulnerabilities/device-counts— open high and critical vulnerabilities per device, for list badges.
Vulnerabilities: alert rules. Additive, beta.
GET /vulnerabilities/alert-settingsandPUT /vulnerabilities/alert-settings— two optional rules per organisation: alert when a device gains a new critical CVE, and when a high or critical CVE stays open longer thanoverdue_days(default 14). They raisevuln_new_criticalandvuln_overduealerts, which go out through the device's alert template like any other alert.
2026-10-27
Vulnerabilities: new beta endpoints. Additive. CVE findings from matching each Windows device's software and build against NVD, OSV and Microsoft's security updates. Read with the vulnerabilities:read scope, change with vulnerabilities:write.
GET /vulnerabilitiesandGET /agents/{agentID}/vulnerabilities— findings, most severe first, filterable byseverity,status,product,device,client_id,site_idandsince, and paged. Excluded findings are hidden unlessinclude_excluded=true.GET /vulnerabilities/summary— open vulnerabilities by severity, counted once per device, CVE and installed version, plus devices affected and the oldest open high or critical. Narrow it to one client or site withclient_idorsite_id.GET /vulnerabilities/export?format=csv— the same findings as CSV for Cyber Essentials Plus evidence, with aclientand apossiblecolumn. Useclient_idfor one customer's file. Possible (unconfirmed) matches are left out unlessinclude_possible=true.PATCH /vulnerabilities/{id}— acknowledge or exclude a finding with a note, or set it back to open.POST /vulnerability-exclusions— exclude a product or a CVE for the organisation or one device.
2026-10-26
Triggers: the inbound webhook secret is no longer returned on reads. The endpoints are internal (used by the web console), but anything that read the secret back will now see a redacted value. Webhook senders are unaffected: the same X-Webhook-Secret header, and the same 404 on a wrong or missing secret.
GET /triggersandGET /triggers/{id}— awebhook_inboundtrigger'scondition.secretis returned redacted, as…plus its last four characters (…alone for a secret under 16 characters).POST /triggers— unchanged: the response carries the secret in full, including one generated for a blank secret. Copy it then; it is not shown again.PUT /triggers/{id}— sending back the redacted value from a read, or aconditionwith nosecretkey, keeps the stored secret. A new secret replaces it, and a blank or null one rotates it to a newly generated secret; only those responses carry the secret in full. Any other update returns it redacted. A condition-only update now uses the stored trigger type, so it no longer drops awebhook_inboundtrigger's secret.
2026-10-23
Inbound trigger webhook: Uptime Kuma source and field mapping. Additive; existing webhook workflows behave exactly as before.
POST /webhooks/trigger/{id}— awebhook_inboundtrigger whose condition setssource: uptime_kumanow handles Uptime Kuma deliveries itself: one ticket per monitor outage, notes on repeat DOWNs, resolve on UP, and reopen within a set window. These triggers answer200with{"data": {"result", "ticket_id", "ticket_number"}}for every handled outcome (including skipped and cooldown) and422for a body without a validstate. Generic triggers still answer202 {"ok":true}.- Trigger
conditionforwebhook_inboundaccepts optionalsource,kuma,field_mapanddefaultsfields. Field mapping sets a ticket's client, site, type, impact, urgency, category or ticket form fields from keys in the body; values that don't match fall back to the defaults and are noted on the ticket.
2026-10-21
Automated tasks: group and policy context on task lists. Additive only; existing responses are unchanged.
GET /tasks— new optionaltarget_group_idquery parameter returns only tasks targeting that smart group. An invalid UUID returns400 INVALID_ID. Each item now also carriespolicy_name(null unless the task was materialised from a policy).GET /agents/{agentID}/tasks— new optionalinclude_groups=truequery parameter also returns smart-group tasks whose group currently has the agent as a member, withagent_hostname,target_group_nameandpolicy_nameset. Without it the response is exactly as before.
Checks: disabling a check resolves its alerts. Behaviour only; request and response shapes are unchanged.
PUT /checks/{id}— settingenabledtofalsenow resolves the check's active and acknowledged alerts, with the message prefixed[Auto-resolved: check disabled]. Results an agent still sends for a disabled check are discarded and no longer raise alerts.
2026-06-11
Initial public API release.
- Per-key scopes — API keys can be restricted to exactly the feature areas and access levels an integration needs (
family:level, e.g.agents:read,scripts:execute). Full access remains the default for keys that need it. See API → Scopes. - Full surface documented — every endpoint is documented in the interactive reference at app.opsmerge.cloud/api/docs, generated from the OpenAPI spec and enforced against the live router in CI, so the docs cannot silently drift from reality.
- Stability tiers — every operation is marked
stable,beta, orinternal(thex-stabilityfield in the spec). Build onstable; the tier definitions and our change-notice promises are on the API page.
Related
- API — authentication, scopes, rate limits, conventions
- API error codes — every machine-readable error code