Get Model

Retrieve a single device model, including its parameters and supported commands.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Returns a single device model your organization can access, including the parameters and commands it supports. Only published models your organization can access are returned.

Authorization

This endpoint requires Authorization.

Path Parameters

KeyTypeDescriptionRequired
idStringUnique identifier of the model.Yes

Response

KeySubkeyTypeDescription
idStringUnique identifier of the device model.
vendorStringVendor / manufacturer name.
modelStringModel name.
aliasesArrayAlternative names the model is also known by (array of strings).
parametersArrayThe custom parameters the model supports.
nameStringHuman-readable parameter label.
typeStringParameter type: text, textarea, password, number, or file.
requiredBoolWhether the parameter must be provided.
commandsArrayThe active commands the model supports.
idStringUnique identifier of the command.
nameStringInternal command name.
friendly_nameStringHuman-readable command name.
custom_fieldsArrayThe command's custom field definitions (arguments the command accepts).
with_fileBoolWhether the command requires a file argument.
{
  "id": "5e7b1f0a-3c2d-4e5f-9a8b-1c2d3e4f5a6b",
  "vendor": "Acme",
  "model": "Acme Sensor 100",
  "aliases": ["Acme Alpha", "Acme Beta"],
  "parameters": [
    { "name": "SNMP community", "type": "text", "required": true },
    { "name": "Port", "type": "number", "required": false }
  ],
  "commands": [
    {
      "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
      "name": "reboot",
      "friendly_name": "Reboot device",
      "custom_fields": [{ "name": "delay", "type": "number" }],
      "with_file": false
    }
  ]
}

Errors

StatusDescription
401Missing or invalid Authorization header.
404Model not found or not accessible to your organization.
Path Params
string
required

Unique identifier of the device model.

Response

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