Losant · JSON Structure

Losant Device Structure

Represents a physical or virtual device. Has tags, attributes, connection state, and may be a standalone device, gateway, edge-compute device, embedded device, virtual device, or system device.

Type: Properties: 18
IoTInternet of ThingsDevicesEdge ComputeEmbeddedMQTTIndustrial IoTTelemetryWorkflow-AutomationVisual Workflow EngineDashboardsTime SeriesConnected ProductsEnterprise

LosantDevice is a JSON Structure definition published by Losant, describing 18 properties. It conforms to the https://json-structure.org/draft/2025-01/structure meta-schema.

Properties

id deviceId applicationId creationDate lastUpdated deletedAt name description tags attributes deviceClass gatewayId edgeAgentVersion connectionInfo parentId ancestorIds systemInterval keepDuplicates

Meta-schema: https://json-structure.org/draft/2025-01/structure

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2025-01/structure",
  "name": "LosantDevice",
  "description": "Represents a physical or virtual device. Has tags, attributes, connection state, and may be a standalone device, gateway, edge-compute device, embedded device, virtual device, or system device.",
  "source": "#/definitions/device in https://api.losant.com/",
  "properties": {
    "id": {
      "$ref": "#/definitions/common/objectId"
    },
    "deviceId": {
      "$ref": "#/definitions/common/objectId"
    },
    "applicationId": {
      "$ref": "#/definitions/common/objectId"
    },
    "creationDate": {
      "$ref": "#/definitions/common/date"
    },
    "lastUpdated": {
      "$ref": "#/definitions/common/date"
    },
    "deletedAt": {
      "$ref": "#/definitions/common/date"
    },
    "name": {
      "$ref": "#/definitions/common/name"
    },
    "description": {
      "$ref": "#/definitions/common/description"
    },
    "tags": {
      "$ref": "#/definitions/common/tagsRequired"
    },
    "attributes": {
      "$ref": "#/definitions/common/deviceAttributesInternal"
    },
    "deviceClass": {
      "$ref": "#/definitions/common/deviceClass"
    },
    "gatewayId": {
      "$ref": "#/definitions/common/objectId"
    },
    "edgeAgentVersion": {
      "$ref": "#/definitions/common/version"
    },
    "connectionInfo": {
      "type": "object",
      "properties": {
        "time": {
          "$ref": "#/definitions/common/date"
        },
        "connected": {
          "enum": [
            1,
            0,
            null
          ]
        }
      }
    },
    "parentId": {
      "$ref": "#/definitions/common/objectIdOrNull"
    },
    "ancestorIds": {
      "$ref": "#/definitions/common/objectIds"
    },
    "systemInterval": {
      "$ref": "#/definitions/common/systemInterval"
    },
    "keepDuplicates": {
      "type": "boolean"
    }
  },
  "required": []
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/losant-device-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.