Maton

Action1

Access the Action1 API with managed authentication. List and read organizations, endpoints, missing updates, vulnerabilities, installed software, automations and their results, reports, packages, scripts, users, roles, and the audit trail; and run automations, approve updates, and change groups, packages, and settings. Automations install software, run scripts, and reboot real machines. All access runs through the Maton gateway and the maton CLI.

Permissions

Suggested read access

In the Console, Read limits the connection to these 68 read-only endpoints, plus deny rules for any write endpoint a broader rule would otherwise match. Endpoints Maton has found to return credentials, start jobs, or spend credits are left out; a few reads that can change state or return a secret depending on their parameters stay in, and their descriptions say how. It is a suggestion: the saved rules are exactly the ones you see, and you can change them with Custom. See Access policy.

Reference

Organizations and Enterprise

List Organizations

maton api '/action1/api/3.0/organizations'

Response:

{
  "id": "1",
  "type": "ResultPage",
  "self": "https://app.action1.com/api/3.0/organizations?from=0&limit=50",
  "items": [
    {
      "id": "2709789b-e94a-43d1-b92a-de0f51a74ff0",
      "type": "Organization",
      "self": "https://app.action1.com/api/3.0/organizations/2709789b-e94a-43d1-b92a-de0f51a74ff0",
      "name": "Main office",
      "description": "Default organization",
      "enterprise_id": "e3b0c442-98fc-1c14-9afb-f4c8996fb924"
    }
  ],
  "total_items": "1",
  "limit": "50",
  "next_page": "",
  "prev_page": ""
}

Get Enterprise Settings

maton api '/action1/api/3.0/enterprise'

Returns the enterprise id, name, description, and settings such as etp_enabled.

Get License and Usage

maton api '/action1/api/3.0/subscription/enterprise'
maton api '/action1/api/3.0/subscription/usage/enterprise'
maton api '/action1/api/3.0/subscription/usage/organizations'

subscription/enterprise returns license_type, license_status, license_expires, licensed_endpoint_count, actual_endpoint_count, and free_endpoint_count; the usage endpoints return active, inactive, and monthly average endpoint counts.

Endpoints

List Endpoints

maton api '/action1/api/3.0/endpoints/managed/{org_id}?limit=50'

Query parameters: limit, from, filter (a case-insensitive substring of any field), sortby (a field name, prefixed with - for descending), fields (* for every field, or a comma-separated list), and filters such as status, online_status, update_status, vulnerability_status, reboot_required, and os.

Response item (from Action1's API reference):

{
  "id": "1",
  "type": "Endpoint",
  "name": "Conference room 2nd floor",
  "device_name": "WKSTA-879",
  "address": "192.168.10.35",
  "OS": {},
  "platform": "Windows",
  "agent_version": "2.0.33",
  "last_seen": "2022-08-29_12-22-11",
  "online_status": "ONLINE",
  "reboot_required": "no",
  "missing_updates": {"critical": 5, "other": 32},
  "vulnerabilities": {"critical": 5, "other": 32},
  "user": "CORP\\helpdesk",
  "comment": "A computer in the conference room",
  "organization_id": "2709789b-e94a-43d1-b92a-de0f51a74ff0"
}

Get an Endpoint

maton api '/action1/api/3.0/endpoints/managed/{org_id}/{endpoint_id}'
maton api '/action1/api/3.0/endpoints/managed/{org_id}/{endpoint_id}/missing-updates'

Endpoint Status Summary

maton api '/action1/api/3.0/endpoints/status/{org_id}'

Rename an Endpoint or Change Its Comment

maton api '/action1/api/3.0/endpoints/managed/{org_id}/{endpoint_id}' -X PATCH -H 'Content-Type: application/json' \
  --input - <<'JSON'
{"name": "Conference room 2nd floor", "comment": "Replaced in March"}
JSON

Custom attributes are set the same way, as "custom:{attribute name}": "value".

Endpoint Groups

maton api '/action1/api/3.0/endpoints/groups/{org_id}'
maton api '/action1/api/3.0/endpoints/groups/{org_id}/{group_id}'
maton api '/action1/api/3.0/endpoints/groups/{org_id}/{group_id}/contents'

Groups are created with POST endpoints/groups/{org_id}, changed with PATCH .../{group_id}, and have endpoints added or removed with POST .../{group_id}/contents.

Updates and Vulnerabilities

List Missing Updates

maton api '/action1/api/3.0/updates/{org_id}?limit=50&security_severity=Critical'

Query parameters: limit, from, filter, sortby, fields, approval_status (New, Approved, Declined), security_severity (prefix - to exclude a level, e.g. -Critical), and only_latest (yes by default, which leaves out superseded updates).

maton api '/action1/api/3.0/updates/{org_id}/{package_id}'
maton api '/action1/api/3.0/updates/{org_id}/{package_id}/versions/{version_id}/endpoints'

Approve or Decline Updates

maton api '/action1/api/3.0/updates/{org_id}/approvals' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
[{"approval_status": "Approved", "packages": [{"packages_id": "{package_id}", "version_id": "{version_id}"}]}]
JSON

Approval decides whether automations set to install approved updates will install the package on every endpoint that needs it.

List Vulnerabilities

maton api '/action1/api/3.0/vulnerabilities/{org_id}?limit=50'
maton api '/action1/api/3.0/vulnerabilities/{org_id}/{cve_id}'
maton api '/action1/api/3.0/vulnerabilities/{org_id}/{cve_id}/endpoints'
maton api '/action1/api/3.0/vulnerabilities/{org_id}/{cve_id}/remediations'

The list covers the vulnerable software found on the organization's endpoints; the per-CVE endpoints return its details, the affected endpoints, and past remediation records.

Get a CVE

maton api '/action1/api/3.0/CVE-descriptions/CVE-2024-38063'

Returns cve_id, published_date, base_severity, cvss_score, description, vector_string, and the impact and exploitability scores; this is general CVE data, not specific to an organization.

Installed Software

maton api '/action1/api/3.0/installed-software/{org_id}/data?limit=50'
maton api '/action1/api/3.0/installed-software/{org_id}/data/{endpoint_id}'
maton api '/action1/api/3.0/installed-software/{org_id}/errors'

The inventory is collected from the agents; POST installed-software/{org_id}/requery asks every endpoint (or one, with /{endpoint_id}) to report again.

Automations

Automations are how Action1 acts on endpoints: installing updates or software, running scripts, and rebooting. A schedule runs on a repeating timetable; an instance is a single run.

List Schedules and Instances

maton api '/action1/api/3.0/automations/schedules/{org_id}'
maton api '/action1/api/3.0/automations/schedules/{org_id}/{automation_id}'
maton api '/action1/api/3.0/automations/schedules/{org_id}/{automation_id}/deployment-statuses'
maton api '/action1/api/3.0/automations/instances/{org_id}?limit=20'
maton api '/action1/api/3.0/automations/instances/{org_id}/{instance_id}'
maton api '/action1/api/3.0/automations/instances/{org_id}/{instance_id}/endpoint-results'

Run an Automation Now

maton api '/action1/api/3.0/automations/instances/{org_id}' -X POST -H 'Content-Type: application/json' \
  --input - <<'JSON'
{
  "endpoints": [{"id": "{endpoint_id}", "type": "Endpoint"}],
  "configuration": {
    "id": "{new_uuid}",
    "type": "AutomationScheduleConfiguration",
    "organization_id": "{org_id}",
    "name": "Install approved updates",
    "start_time": "2026-12-01_02-00-00",
    "retry_minutes": "1440",
    "actions": [
      {
        "id": "{new_uuid}",
        "name": "Deploy Update",
        "template_id": "deploy_update",
        "params": {"require_update_approval": true, "scope": "All", "display_summary": "All", "reboot_options": {"auto_reboot": false}}
      }
    ]
  }
}
JSON

Note: {new_uuid} stands for a UUID you generate for the automation and for each action.

Body fields:

  • endpoints (array, required): Targets, each {"id": ..., "type": "Endpoint"} or {"id": ..., "type": "EndpointGroup"}.
  • configuration.start_time (string, required): UTC start time as YYYY-MM-DD_hh-mm-ss.
  • configuration.retry_minutes (string, required): How long to keep trying endpoints that are offline.
  • configuration.actions (array, required): One or more actions, each with a template_id of deploy_update, deploy_package, uninstall_program, run_script, reboot, or update_ring and that template's params. Read an existing schedule with automations/schedules/{org_id}/{automation_id} to see the params for a task.

org_id must be a real organization ID here, not all. POST automations/instances/{org_id}/{instance_id}/stop stops a running instance, and schedules are created and changed with POST/PATCH on automations/schedules/{org_id} using the same configuration with a settings timetable (for example ENABLED MONTHLY:3 AT:17-00-00) in place of start_time.

Reports

maton api '/action1/api/3.0/reports/all'
maton api '/action1/api/3.0/reportdata/{org_id}/{report_id}/data?limit=50'
maton api '/action1/api/3.0/reportdata/{org_id}/{report_id}/data/{row_id}/drilldown'
maton api '/action1/api/3.0/reportdata/{org_id}/{report_id}/export?format=csv'

reports/all lists the report categories and reports (id, name, description); reportdata returns a report's rows for an organization.

Software Repository and Scripts

maton api '/action1/api/3.0/software-repository/{org_id}?limit=50&builtin=no'
maton api '/action1/api/3.0/software-repository/{org_id}/{package_id}'
maton api '/action1/api/3.0/scripts/all?limit=50'
maton api '/action1/api/3.0/scripts/all/{script_id}'

builtin=no lists only the enterprise's own packages (the custom parameter is ignored). Repository packages carry name, vendor, platform, builtin, and status; scripts carry configuration.name, language, platform, and script_text. Custom packages, versions, and scripts are created and edited with POST/PATCH on the same paths; a package file is uploaded in chunks through versions/{version_id}/upload.

maton api '/action1/api/3.0/search/{org_id}?query=chrome'

Searches an organization's endpoints, software, reports, and other objects by name. Action1's 3.0 search can answer 500 even for a valid query; when it does, use the filter parameter of the list endpoint for the kind of object you want (such as endpoints/managed/{org_id}?filter=chrome).

Users, Roles, and Audit Trail

maton api '/action1/api/3.0/me'
maton api '/action1/api/3.0/users'
maton api '/action1/api/3.0/users/{user_id}/roles'
maton api '/action1/api/3.0/roles'
maton api '/action1/api/3.0/permissions'
maton api '/action1/api/3.0/audit/events?limit=50&timefrom=2026-11-01_00-00-00'

me returns the API credential's own user (id, email, user_type: "API"). The audit trail lists user actions with event, description, user_name, timestamp, and org_name; filter with event (a comma-separated list such as Login,Remote Connect), timefrom, and timeto (YYYY-MM-DD_HH-MM-SS).

Settings and Data Sources

maton api '/action1/api/3.0/settings/all?limit=50'
maton api '/action1/api/3.0/setting-templates/all'
maton api '/action1/api/3.0/data-sources/all'

Pagination

List responses carry total_items, limit, next_page, and prev_page; some return from instead of the page links. Page with limit and from (the index of the first item):

maton api '/action1/api/3.0/settings/all?limit=50&from=50'

next_page is a full Action1 URL on the connection's host; take its query string and call the same path through the gateway. An empty next_page means the last page.

Notes

  • Host. The connection holds the client ID, client secret, and the host of the Action1 console the enterprise uses (app.action1.com, app.na-2.action1.com, app.na-3.action1.com, app.eu.action1.com, app.eu-2.action1.com, app.uk.action1.com, or app.au.action1.com). Maton exchanges the client credentials for a token, renews it before it expires, and sends every call to that host. Paths start with api/3.0/.
  • Roles. An API credential is an Action1 user of type API; the roles assigned to it in the Action1 console decide what it can read and change, and a call outside them answers 403.
  • Organizations. Most paths carry an organization ID from organizations. Endpoints, updates, vulnerabilities, and the software repository also accept all in place of an ID; automation schedules and new automations need a real one.
  • Dates use YYYY-MM-DD_HH-MM-SS, and many yes/no fields are the strings "yes" and "no"; counts such as total_items are strings too.
  • Errors are JSON {"id": "0", "type": "Error", "status": ..., "developer_message": ..., "user_message": ...}. 403 Access to this organization is denied. means the organization ID is wrong or outside the credential's roles; 401 means the client credentials were deleted or their secret rotated, so the connection needs reauthorizing with new ones.
  • Endpoint details, installed software, and missing updates come from the agents and lag until each endpoint reports in; offline endpoints keep their last report.
  • API credentials are created in the Action1 console under the enterprise's API credentials settings. Deleting the credential or removing its roles breaks the connection.
  • GET endpoints that return installer URLs and remote session URLs are treated as writes in the read-only access policy.

Resources

On this page