Generate an MDM deployment package

Builds the deployment script that installs the MineOS AI-agent discovery scanner on your organization's devices
through your MDM (Intune, Jamf, Kandji, or any MDM that can run a script). The script is returned in the response
body: save contents to a file named filename and upload it to your MDM.

The package is tied to your organization by a packaging token. For every MDM except Jamf the token is embedded in
the script; for Jamf the script reads it from the policy's $4 parameter and the token is returned separately
in token.token. Generating again returns the same token, so a package can be regenerated at any time.
The token can be revoked with DELETE /api/aispm/v1/mdm-package/token.

Supported targets:

  • generic (default when mdm is omitted): macos, windows, linux — os is required
  • intune: macos, windows — defaults to windows
  • jamf: macos
  • kandji: macos

Requires an Admin user of the organization. The environment and region are taken from the API host you call;
they are not request parameters.

Responses:

  • 200 — the package (see the response schema)
  • 400 — unknown mdm, unknown or unsupported os, or a missing os for generic; error names
    the accepted values
  • 403 — reason: "tenant_not_onboarded": your organization is not yet enabled for AI-agent discovery; contact MineOS
    support
  • 503 — status: "packaging_unavailable": packaging is temporarily unavailable in this environment; retry later
  • 500 — the package could not be generated; retry, and contact support if it persists
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The deployment target. Your organization and the environment are derived from the call, not from the body.

string | null

The MDM to package for: generic, intune, jamf, or kandji, case-sensitive. Omitted means
generic. Any other value is rejected with 400.

string | null

The target operating system: macos, windows, or linux, case-sensitive. Required for
generic; for a named MDM it defaults to that MDM's default (intune: windows; jamf and
kandji: macos). A pair the MDM does not support is rejected with 400.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json