Skip to main content

GraphQL reference: device-management

Generated from the schema this service serves, so it cannot fall behind it. The same schema is published as a file for tools and agents.

Endpointhttps://<your-host>/api/device-management/graphql
Auth planetenant — The ordinary application plane. Obtain a tenant access token by calling login then selectTenant on user-management, and authorize each call with the capability it names (for example device:write).
Authorize withtenant access token
Schema file/schema/device-management.graphql
Described419 of 1435 elements

Queries​

activeAssetTypeVersion · activeProfileRules · alarms · alarmsById · alarmsByToken · areaTypes · areaTypesById · areaTypesByToken · areas · areasById · areasByToken · assetAncestors · assetChildren · assetParent · assetTypeVersions · assetTypes · assetTypesById · assetTypesByToken · assets · assetsById · assetsByToken · auditEvents · commandDefinitions · commandDefinitionsById · commandDefinitionsByToken · currentFenceSetVersion · currentGeoFenceSet · currentGeoFenceSetManifest · customerTypes · customerTypesById · customerTypesByToken · customers · customersById · customersByToken · detectionRules · detectionRulesById · detectionRulesByToken · deviceClaim · deviceCommandVocabulary · deviceConfiguration · deviceConfigurationRevisions · deviceCredentials · deviceCredentialsById · deviceCredentialsByToken · deviceLocationDeclaration · deviceProfileVersions · deviceProfiles · deviceProfilesById · deviceProfilesByToken · deviceReplacements · deviceRosterPage · deviceThresholdAttributePage · deviceTypes · deviceTypesById · deviceTypesByToken · devices · devicesByExternalId · devicesById · devicesByToken · entityAttributes · entityGroupVersions · entityGroups · entityGroupsById · entityGroupsByToken · entityRelationshipTypes · entityRelationshipTypesById · entityRelationshipTypesByToken · entityRelationships · entityRelationshipsById · entityRelationshipsByToken · existingEntityRefs · facetKeys · facetValues · geoFenceGeometry · geoFenceSetManifest · geoFenceSetSnapshot · geoFences · geoFencesById · geoFencesByToken · metricDefinitions · metricDefinitionsById · metricDefinitionsByToken · previewSelector · provisioningProfiles · provisioningProfilesById · provisioningProfilesByToken · resolveDeviceGroupTargets · validateCommandEnqueue · validateCommandEnqueueBatch

activeAssetTypeVersion​

No description yet.

Returns AssetTypeVersion

ArgumentTypeDescription
tokenString!No description yet.

activeProfileRules​

No description yet.

Returns ActiveProfileRulesPage!

ArgumentTypeDescription
afterIdStringNo description yet.
limitInt!No description yet.

alarms​

No description yet.

Returns AlarmSearchResults!

ArgumentTypeDescription
criteriaAlarmSearchCriteria!No description yet.

alarmsById​

No description yet.

Returns [Alarm!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

alarmsByToken​

No description yet.

Returns [Alarm!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

areaTypes​

No description yet.

Returns AreaTypeSearchResults!

ArgumentTypeDescription
criteriaAreaTypeSearchCriteria!No description yet.

areaTypesById​

No description yet.

Returns [AreaType!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

areaTypesByToken​

No description yet.

Returns [AreaType!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

areas​

No description yet.

Returns AreaSearchResults!

ArgumentTypeDescription
criteriaAreaSearchCriteria!No description yet.

areasById​

No description yet.

Returns [Area!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

areasByToken​

No description yet.

Returns [Area!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

assetAncestors​

No description yet.

Returns [Asset!]!

ArgumentTypeDescription
tokenString!No description yet.

assetChildren​

No description yet.

Returns AssetSearchResults!

ArgumentTypeDescription
paginationPaginationInput!No description yet.
parentTokenStringNo description yet.

assetParent​

No description yet.

Returns Asset

ArgumentTypeDescription
tokenString!No description yet.

assetTypeVersions​

No description yet.

Returns [AssetTypeVersion!]!

ArgumentTypeDescription
limitIntNo description yet.
offsetIntNo description yet.
tokenString!No description yet.

assetTypes​

No description yet.

Returns AssetTypeSearchResults!

ArgumentTypeDescription
criteriaAssetTypeSearchCriteria!No description yet.

assetTypesById​

No description yet.

Returns [AssetType!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

assetTypesByToken​

No description yet.

Returns [AssetType!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

assets​

No description yet.

Returns AssetSearchResults!

ArgumentTypeDescription
criteriaAssetSearchCriteria!No description yet.

assetsById​

No description yet.

Returns [Asset!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

assetsByToken​

No description yet.

Returns [Asset!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

auditEvents​

No description yet.

Returns AuditEventSearchResults!

ArgumentTypeDescription
criteriaAuditEventSearchCriteria!No description yet.

commandDefinitions​

Searches the tenant's command definitions, newest first, one page at a time. These are the draft definitions, not a published version. Requires device:read.

Returns CommandDefinitionSearchResults!

ArgumentTypeDescription
criteriaCommandDefinitionSearchCriteria!Filters and the page to return.

commandDefinitionsById​

Returns the command definitions with the given ids. Ids that match nothing are omitted, an id that is not a number fails the request, and more than 1000 ids are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [CommandDefinition!]!

ArgumentTypeDescription
ids[ID!]!Ids of the command definitions to return.

commandDefinitionsByToken​

Returns the command definitions with the given tokens. Tokens that match nothing are omitted, and more than 1000 tokens are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [CommandDefinition!]!

ArgumentTypeDescription
tokens[String!]!Tokens of the command definitions to return.

currentFenceSetVersion​

No description yet.

Returns Int!

currentGeoFenceSet​

No description yet.

Returns GeoFenceSetSnapshot!

currentGeoFenceSetManifest​

No description yet.

Returns GeoFenceSetManifest!

customerTypes​

No description yet.

Returns CustomerTypeSearchResults!

ArgumentTypeDescription
criteriaCustomerTypeSearchCriteria!No description yet.

customerTypesById​

No description yet.

Returns [CustomerType!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

customerTypesByToken​

No description yet.

Returns [CustomerType!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

customers​

No description yet.

Returns CustomerSearchResults!

ArgumentTypeDescription
criteriaCustomerSearchCriteria!No description yet.

customersById​

No description yet.

Returns [Customer!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

customersByToken​

No description yet.

Returns [Customer!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

detectionRules​

No description yet.

Returns DetectionRuleSearchResults!

ArgumentTypeDescription
criteriaDetectionRuleSearchCriteria!No description yet.

detectionRulesById​

No description yet.

Returns [DetectionRule!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

detectionRulesByToken​

No description yet.

Returns [DetectionRule!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

deviceClaim​

No description yet.

Returns DeviceClaim

ArgumentTypeDescription
deviceTokenString!No description yet.

deviceCommandVocabulary​

Lists the commands a device currently accepts, from the active published version of its profile. It reads the same data validateCommandEnqueue checks against. Returns null when no device has the token. Requires device:read.

Returns DeviceCommandVocabulary

ArgumentTypeDescription
deviceTokenString!Token of the device.

deviceConfiguration​

A device's configuration: its latest revision, its last report and whether they agree. Null when no device has this token. Reading mints nothing.

Returns DeviceConfiguration

ArgumentTypeDescription
deviceTokenString!The token of the device to read.

deviceConfigurationRevisions​

A page of a device's configuration revisions, newest first. Empty when no device has this token.

Returns DeviceConfigurationRevisionSearchResults!

ArgumentTypeDescription
deviceTokenString!The token of the device whose revisions to list.
paginationPaginationInput!Which page of revisions to return, bounded by the platform page-size ceiling.

deviceCredentials​

No description yet.

Returns DeviceCredentialSearchResults!

ArgumentTypeDescription
criteriaDeviceCredentialSearchCriteria!No description yet.

deviceCredentialsById​

No description yet.

Returns [DeviceCredential!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

deviceCredentialsByToken​

No description yet.

Returns [DeviceCredential!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

deviceLocationDeclaration​

Tells whether a device reports its own position, from the active published version of its profile rather than the draft. Returns null when no device has the token; a device that declares nothing answers with declared false. Requires device:read.

Returns DeviceLocationCapability

ArgumentTypeDescription
deviceTokenString!Token of the device.

deviceProfileVersions​

Lists the published versions of a device profile, newest first, at most 1000 per call; use limit and offset to page. Empty when the profile has never been published or offset is past the last version. Fails if no profile has the token. Requires device:read.

Returns [DeviceProfileVersion!]!

ArgumentTypeDescription
limitIntMaximum number of versions to return, at least 1. Omitted, or above 1000, it is 1000; below 1 is refused.
offsetIntNumber of newest versions to skip before the first one returned. Omitted, it is 0; negative is refused.
tokenString!Token of the profile.

deviceProfiles​

Lists the tenant's device profiles, newest first, one page at a time. Requires device:read.

Returns DeviceProfileSearchResults!

ArgumentTypeDescription
criteriaDeviceProfileSearchCriteria!The page to return.

deviceProfilesById​

Returns the device profiles with the given ids. Ids that match no profile are omitted, an id that is not a number fails the request, and more than 1000 ids are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [DeviceProfile!]!

ArgumentTypeDescription
ids[ID!]!Ids of the profiles to return.

deviceProfilesByToken​

Returns the device profiles with the given tokens. Tokens that match no profile are omitted, and more than 1000 tokens are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [DeviceProfile!]!

ArgumentTypeDescription
tokens[String!]!Tokens of the profiles to return.

deviceReplacements​

No description yet.

Returns DeviceReplacementSearchResults!

ArgumentTypeDescription
criteriaDeviceReplacementSearchCriteria!No description yet.

deviceRosterPage​

No description yet.

Returns DeviceRosterPage!

ArgumentTypeDescription
afterIdStringNo description yet.
limitInt!No description yet.

deviceThresholdAttributePage​

No description yet.

Returns DeviceThresholdAttributePage!

ArgumentTypeDescription
afterIdStringNo description yet.
limitInt!No description yet.

deviceTypes​

Lists the tenant's device types, newest first, one page at a time. Requires device:read.

Returns DeviceTypeSearchResults!

ArgumentTypeDescription
criteriaDeviceTypeSearchCriteria!The page to return.

deviceTypesById​

Returns the device types with the given ids. Ids that match no device type are omitted, an id that is not a number fails the request, and more than 1000 ids are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [DeviceType!]!

ArgumentTypeDescription
ids[ID!]!Ids of the device types to return.

deviceTypesByToken​

Returns the device types with the given tokens. Tokens that match no device type are omitted, and more than 1000 tokens are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [DeviceType!]!

ArgumentTypeDescription
tokens[String!]!Tokens of the device types to return.

devices​

Searches the tenant's devices, newest first, one page at a time. Requires device:read.

Returns DeviceSearchResults!

ArgumentTypeDescription
criteriaDeviceSearchCriteria!Filters and the page to return.

devicesByExternalId​

Returns the devices whose business identifier is one of the given values. Values that match no device are omitted. Requires device:read.

Returns [Device!]!

ArgumentTypeDescription
externalIds[String!]!Business identifiers to look up, matched exactly.

devicesById​

Returns the devices with the given ids. Ids that match no device are omitted, an id that is not a number fails the request, and more than 1000 ids are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [Device!]!

ArgumentTypeDescription
ids[ID!]!Ids of the devices to return.

devicesByToken​

Returns the devices with the given tokens. Tokens that match no device are omitted, and more than 1000 tokens are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [Device!]!

ArgumentTypeDescription
tokens[String!]!Tokens of the devices to return.

entityAttributes​

No description yet.

Returns EntityAttributeSearchResults!

ArgumentTypeDescription
criteriaEntityAttributeSearchCriteria!No description yet.

entityGroupVersions​

No description yet.

Returns [EntityGroupVersion!]!

ArgumentTypeDescription
limitIntNo description yet.
offsetIntNo description yet.
tokenString!No description yet.

entityGroups​

No description yet.

Returns EntityGroupSearchResults!

ArgumentTypeDescription
criteriaEntityGroupSearchCriteria!No description yet.

entityGroupsById​

No description yet.

Returns [EntityGroup!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

entityGroupsByToken​

No description yet.

Returns [EntityGroup!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

entityRelationshipTypes​

No description yet.

Returns EntityRelationshipTypeSearchResults!

ArgumentTypeDescription
criteriaEntityRelationshipTypeSearchCriteria!No description yet.

entityRelationshipTypesById​

No description yet.

Returns [EntityRelationshipType!]!

ArgumentTypeDescription
ids[String!]!No description yet.

entityRelationshipTypesByToken​

No description yet.

Returns [EntityRelationshipType!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

entityRelationships​

No description yet.

Returns EntityRelationshipSearchResults!

ArgumentTypeDescription
criteriaEntityRelationshipSearchCriteria!No description yet.

entityRelationshipsById​

No description yet.

Returns [EntityRelationship!]!

ArgumentTypeDescription
ids[String!]!No description yet.

entityRelationshipsByToken​

No description yet.

Returns [EntityRelationship!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

existingEntityRefs​

No description yet.

Returns [EntityRef!]!

ArgumentTypeDescription
refs[EntityRefInput!]!No description yet.

facetKeys​

No description yet.

Returns FacetKeySearchResults!

ArgumentTypeDescription
criteriaFacetKeySearchCriteria!No description yet.

facetValues​

Lists the distinct values currently in use for a free-text classification field across the tenant's device types or profiles, sorted, without empty values. An authoring form can offer them as suggestions. Requires device:read.

Returns [String!]!

ArgumentTypeDescription
facetDeviceFacet!The field whose values to list.

geoFenceGeometry​

No description yet.

Returns [GeoFenceGeometry!]!

ArgumentTypeDescription
hashes[String!]!No description yet.

geoFenceSetManifest​

No description yet.

Returns GeoFenceSetManifest!

ArgumentTypeDescription
versionInt!No description yet.

geoFenceSetSnapshot​

No description yet.

Returns GeoFenceSetSnapshot!

ArgumentTypeDescription
versionInt!No description yet.

geoFences​

No description yet.

Returns GeoFenceSearchResults!

ArgumentTypeDescription
criteriaGeoFenceSearchCriteria!No description yet.

geoFencesById​

No description yet.

Returns [GeoFence!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

geoFencesByToken​

No description yet.

Returns [GeoFence!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

metricDefinitions​

Searches the tenant's metric definitions, newest first, one page at a time. These are the draft definitions, not a published version. Requires device:read.

Returns MetricDefinitionSearchResults!

ArgumentTypeDescription
criteriaMetricDefinitionSearchCriteria!Filters and the page to return.

metricDefinitionsById​

Returns the metric definitions with the given ids. Ids that match nothing are omitted, an id that is not a number fails the request, and more than 1000 ids are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [MetricDefinition!]!

ArgumentTypeDescription
ids[ID!]!Ids of the metric definitions to return.

metricDefinitionsByToken​

Returns the metric definitions with the given tokens. Tokens that match nothing are omitted, and more than 1000 tokens are refused with LIMIT_EXCEEDED. Requires device:read.

Returns [MetricDefinition!]!

ArgumentTypeDescription
tokens[String!]!Tokens of the metric definitions to return.

previewSelector​

No description yet.

Returns SelectorPreview!

ArgumentTypeDescription
memberTypeString!No description yet.
paginationPaginationInput!No description yet.
selectorString!No description yet.

provisioningProfiles​

No description yet.

Returns ProvisioningProfileSearchResults!

ArgumentTypeDescription
criteriaProvisioningProfileSearchCriteria!No description yet.

provisioningProfilesById​

No description yet.

Returns [ProvisioningProfile!]!

ArgumentTypeDescription
ids[ID!]!No description yet.

provisioningProfilesByToken​

No description yet.

Returns [ProvisioningProfile!]!

ArgumentTypeDescription
tokens[String!]!No description yet.

resolveDeviceGroupTargets​

Returns one page of the devices an entity group contains, for use as the target of a command. Pass each page's nextCursor as afterId to get the next one. A device that stays in the group throughout a walk is visited exactly once. A dynamic group is resolved from a published version, never from its editable draft. A group that cannot be a target is answered with rejected set and a code, not with an error. Requires device:read.

Returns DeviceGroupTargetPage!

ArgumentTypeDescription
afterIdStringThe nextCursor of the previous page. Omit it to start from the beginning. A malformed cursor fails the request.
groupTokenString!Token of the entity group.
limitInt!Maximum number of devices on the page, from 1 to 1000.
versionIntPublished version of a dynamic group to resolve. Omit it for the active version. Must be omitted for a static group.

validateCommandEnqueue​

Checks whether a command may be sent to a device, using the active published version of the device's profile. If that version declares commands, the key must be one of them and the payload must satisfy its parameters; if it declares none, or the device has no published profile, any command is allowed. Refusals are returned as a verdict, not as an error. Requires device:read.

Returns CommandEnqueueVerdict!

ArgumentTypeDescription
commandKeyString!Key of the command to send.
deviceTokenString!Token of the target device.
payloadStringThe command's arguments as a JSON object. Omit it or send null to check a command sent with no arguments, which passes only if no parameter is required.

validateCommandEnqueueBatch​

Checks one command against many devices at once, with the same rules as validateCommandEnqueue. Only refusals are returned: a device that may receive the command produces no entry, so an empty list means every listed device may receive it. Duplicate tokens are collapsed, and refusals come back in the order each device was first named. More than 2000 tokens fails the request. Requires device:read.

Returns [BatchEnqueueRefusal!]!

ArgumentTypeDescription
commandKeyString!Key of the command to send.
deviceTokens[String!]!Tokens of the target devices, at most 2000.
payloadStringThe command's arguments as a JSON object, applied to every device. Omit it to check a command with no arguments.

Mutations​

acknowledgeAlarm · acknowledgeAlarms · cancelDeviceClaim · claimDevice · clearAlarm · clearAssetParent · createArea · createAreaType · createAsset · createAssetType · createCommandDefinition · createCustomer · createCustomerType · createDetectionRule · createDevice · createDeviceCredential · createDeviceProfile · createDeviceType · createDevices · createEntityGroup · createEntityRelationship · createEntityRelationshipType · createEntityRelationships · createGeoFence · createMetricDefinition · createProvisioningProfile · deleteArea · deleteAreaType · deleteAsset · deleteAssetType · deleteCommandDefinition · deleteCustomer · deleteCustomerType · deleteDetectionRule · deleteDevice · deleteDeviceCredential · deleteDeviceProfile · deleteDeviceType · deleteEntityAttribute · deleteEntityGroup · deleteEntityRelationshipType · deleteFacetKey · deleteGeoFence · deleteMetricDefinition · deleteProvisioningProfile · initiateDeviceClaim · publishAssetType · publishDeviceProfile · publishEntityGroup · removeEntityRelationship · removeEntityRelationships · renameDeviceProfile · replaceDevice · rollbackAssetType · rollbackDeviceProfile · rollbackEntityGroup · setAssetParent · setDeviceProfileConfigurationDeclaration · setEntityAttribute · setFacetKey · updateArea · updateAreaType · updateAsset · updateAssetType · updateCommandDefinition · updateCustomer · updateCustomerType · updateDetectionRule · updateDevice · updateDeviceCredential · updateDeviceProfile · updateDeviceType · updateEntityGroup · updateEntityRelationshipType · updateGeoFence · updateMetricDefinition · updateProvisioningProfile

acknowledgeAlarm​

No description yet.

Returns Alarm!

ArgumentTypeDescription
tokenString!No description yet.

acknowledgeAlarms​

No description yet.

Returns BulkAcknowledgeAlarmsResult!

ArgumentTypeDescription
tokens[String!]!No description yet.

cancelDeviceClaim​

No description yet.

Returns Boolean!

ArgumentTypeDescription
deviceTokenString!No description yet.

claimDevice​

No description yet.

Returns EntityRelationship!

ArgumentTypeDescription
requestDeviceClaimRequest!No description yet.

clearAlarm​

No description yet.

Returns Alarm!

ArgumentTypeDescription
tokenString!No description yet.

clearAssetParent​

No description yet.

Returns Boolean!

ArgumentTypeDescription
childTokenString!No description yet.

createArea​

No description yet.

Returns Area!

ArgumentTypeDescription
requestAreaCreateRequestNo description yet.

createAreaType​

No description yet.

Returns AreaType!

ArgumentTypeDescription
requestAreaTypeCreateRequestNo description yet.

createAsset​

No description yet.

Returns Asset!

ArgumentTypeDescription
requestAssetCreateRequestNo description yet.

createAssetType​

No description yet.

Returns AssetType!

ArgumentTypeDescription
requestAssetTypeCreateRequestNo description yet.

createCommandDefinition​

Adds a command definition to a profile's draft and returns it. It reaches devices when the profile is next published. Requires device:write.

Returns CommandDefinition!

ArgumentTypeDescription
requestCommandDefinitionCreateRequestThe new command definition's fields. Although the schema lets it be omitted, a call without it fails.

createCustomer​

No description yet.

Returns Customer!

ArgumentTypeDescription
requestCustomerCreateRequestNo description yet.

createCustomerType​

No description yet.

Returns CustomerType!

ArgumentTypeDescription
requestCustomerTypeCreateRequestNo description yet.

createDetectionRule​

No description yet.

Returns DetectionRule!

ArgumentTypeDescription
requestDetectionRuleCreateRequest!No description yet.

createDevice​

Creates a device and returns it. Requires device:write.

Returns Device!

ArgumentTypeDescription
requestDeviceCreateRequestThe new device's fields. Although the schema lets it be omitted, a call without it fails.

createDeviceCredential​

No description yet.

Returns DeviceCredential!

ArgumentTypeDescription
requestDeviceCredentialCreateRequestNo description yet.

createDeviceProfile​

Creates a device profile, with no definitions and no published version, and returns it. Requires device:write.

Returns DeviceProfile!

ArgumentTypeDescription
requestDeviceProfileCreateRequestThe new profile's fields. Although the schema lets it be omitted, a call without it fails.

createDeviceType​

Creates a device type and returns it. Requires device:write.

Returns DeviceType!

ArgumentTypeDescription
requestDeviceTypeCreateRequestThe new device type's fields. Although the schema lets it be omitted, a call without it fails.

createDevices​

Creates up to 1000 devices of one type from templates, in one transaction: every device is created, or none is (an invalid template, a rendered token that repeats or is already in use, or an unknown device type fails them all). Returns the created devices in index order. Requires device:write.

Returns [Device!]!

ArgumentTypeDescription
requestDeviceBulkCreateRequest!The type, count and templates of the devices to create.

createEntityGroup​

No description yet.

Returns EntityGroup!

ArgumentTypeDescription
requestEntityGroupCreateRequestNo description yet.

createEntityRelationship​

No description yet.

Returns EntityRelationship!

ArgumentTypeDescription
requestEntityRelationshipCreateRequest!No description yet.

createEntityRelationshipType​

No description yet.

Returns EntityRelationshipType!

ArgumentTypeDescription
requestEntityRelationshipTypeCreateRequest!No description yet.

createEntityRelationships​

No description yet.

Returns [EntityRelationship!]!

ArgumentTypeDescription
requests[EntityRelationshipCreateRequest!]!No description yet.

createGeoFence​

No description yet.

Returns GeoFence!

ArgumentTypeDescription
requestGeoFenceCreateRequest!No description yet.

createMetricDefinition​

Adds a metric definition to a profile's draft and returns it. It reaches devices when the profile is next published. Requires device:write.

Returns MetricDefinition!

ArgumentTypeDescription
requestMetricDefinitionCreateRequestThe new metric definition's fields. Although the schema lets it be omitted, a call without it fails.

createProvisioningProfile​

No description yet.

Returns ProvisioningProfile!

ArgumentTypeDescription
requestProvisioningProfileCreateRequestNo description yet.

deleteArea​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteAreaType​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteAsset​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteAssetType​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteCommandDefinition​

Removes a command definition from a profile's draft. Published versions keep their copy. Returns true when it was deleted and false when nothing has the token. Requires device:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the command definition to delete.

deleteCustomer​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteCustomerType​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteDetectionRule​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteDevice​

Deletes a device together with its credentials, replacement history, relationships, attributes, alarms and group memberships. Returns true when it was deleted and false when no device has the token. Requires device:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the device to delete.

deleteDeviceCredential​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteDeviceProfile​

Deletes a device profile together with its metric, command and detection-rule definitions and all its published versions. Returns true when it was deleted and false when no profile has the token. Refused with REFERENCE_VIOLATION while any device type adopts it. Requires device:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the profile to delete.

deleteDeviceType​

Deletes a device type. Returns true when it was deleted and false when no device type has the token. Refused with REFERENCE_VIOLATION while any device has this type. The profile it adopted is not affected. Requires device:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the device type to delete.

deleteEntityAttribute​

No description yet.

Returns Boolean!

ArgumentTypeDescription
attrKeyString!No description yet.
entityString!No description yet.
entityTypeString!No description yet.
scopeString!No description yet.

deleteEntityGroup​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteEntityRelationshipType​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteFacetKey​

No description yet.

Returns Boolean!

ArgumentTypeDescription
keyString!No description yet.
memberTypeString!No description yet.

deleteGeoFence​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

deleteMetricDefinition​

Removes a metric definition from a profile's draft. Published versions keep their copy. Returns true when it was deleted and false when nothing has the token. Requires device:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the metric definition to delete.

deleteProvisioningProfile​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

initiateDeviceClaim​

No description yet.

Returns DeviceClaim!

ArgumentTypeDescription
requestDeviceClaimInitiateRequest!No description yet.

publishAssetType​

No description yet.

Returns AssetTypeVersion!

ArgumentTypeDescription
descriptionStringNo description yet.
labelStringNo description yet.
tokenString!No description yet.

publishDeviceProfile​

Freezes the profile's current draft (its metric, command and detection-rule definitions, its position declaration and its configuration declaration) into a new version and makes that version the one devices use. The draft's enabled detection rules are checked first; a rejected rule, or a check that cannot be completed, fails the publish and nothing is stored. Fails if no profile has the token. Returns the new version. Requires device:write.

Returns DeviceProfileVersion!

ArgumentTypeDescription
descriptionStringOptional notes for the version, up to 1024 characters.
labelStringOptional label for the version, up to 128 characters, such as a release name.
tokenString!Token of the profile to publish.

publishEntityGroup​

No description yet.

Returns EntityGroupVersion!

ArgumentTypeDescription
descriptionStringNo description yet.
labelStringNo description yet.
tokenString!No description yet.

removeEntityRelationship​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokenString!No description yet.

removeEntityRelationships​

No description yet.

Returns Boolean!

ArgumentTypeDescription
tokens[String!]!No description yet.

renameDeviceProfile​

Changes a device profile's token and returns the profile. Allowed only while the profile has never been published and no device type currently adopts it; once it has been published, its token is permanent. Renaming to the current token succeeds without change. Fails if no profile has the token. Requires device:write.

Returns DeviceProfile!

ArgumentTypeDescription
newTokenString!The new token, in the usual token format. A blank value is refused, and a token another profile in the tenant holds is refused with CONFLICT.
tokenString!Current token of the profile.

replaceDevice​

No description yet.

Returns DeviceReplaceResult!

ArgumentTypeDescription
requestDeviceReplaceRequest!No description yet.

rollbackAssetType​

No description yet.

Returns AssetType!

ArgumentTypeDescription
tokenString!No description yet.
versionInt!No description yet.

rollbackDeviceProfile​

Makes an existing published version the one devices use again. The draft and the version history are untouched, so a later version can be made active the same way. Fails if the profile or the version does not exist. Returns the updated profile. Requires device:write.

Returns DeviceProfile!

ArgumentTypeDescription
tokenString!Token of the profile.
versionInt!Number of the published version to make active.

rollbackEntityGroup​

No description yet.

Returns EntityGroup!

ArgumentTypeDescription
tokenString!No description yet.
versionInt!No description yet.

setAssetParent​

No description yet.

Returns EntityRelationship!

ArgumentTypeDescription
childTokenString!No description yet.
parentTokenString!No description yet.

setDeviceProfileConfigurationDeclaration​

Replaces a profile's draft device-visible configuration declaration with the given keys; an empty list withdraws it. At most 256 keys; each key must follow the attribute-key grammar, be unique, and carry a valid value type. The whole call is refused if any key is invalid. Published versions are immutable: this changes only what the next publish freezes. Returns the updated profile. Requires device:write.

Returns DeviceProfile!

ArgumentTypeDescription
keys[ConfigurationKeyInput!]!The complete new declaration, replacing the current one.
tokenString!Token of the profile.

setEntityAttribute​

No description yet.

Returns EntityAttribute!

ArgumentTypeDescription
requestEntityAttributeSetRequest!No description yet.

setFacetKey​

No description yet.

Returns FacetKey!

ArgumentTypeDescription
requestFacetKeySetRequestNo description yet.

updateArea​

No description yet.

Returns Area!

ArgumentTypeDescription
requestAreaUpdateRequest!No description yet.
tokenString!No description yet.

updateAreaType​

No description yet.

Returns AreaType!

ArgumentTypeDescription
requestAreaTypeUpdateRequest!No description yet.
tokenString!No description yet.

updateAsset​

No description yet.

Returns Asset!

ArgumentTypeDescription
requestAssetUpdateRequest!No description yet.
tokenString!No description yet.

updateAssetType​

No description yet.

Returns AssetType!

ArgumentTypeDescription
requestAssetTypeUpdateRequest!No description yet.
tokenString!No description yet.

updateCommandDefinition​

Partially updates a draft command definition and returns it. Fails if no command definition has the token. Requires device:write.

Returns CommandDefinition!

ArgumentTypeDescription
requestCommandDefinitionUpdateRequest!The fields to change.
tokenString!Token of the command definition to update.

updateCustomer​

No description yet.

Returns Customer!

ArgumentTypeDescription
requestCustomerUpdateRequest!No description yet.
tokenString!No description yet.

updateCustomerType​

No description yet.

Returns CustomerType!

ArgumentTypeDescription
requestCustomerTypeUpdateRequest!No description yet.
tokenString!No description yet.

updateDetectionRule​

No description yet.

Returns DetectionRule!

ArgumentTypeDescription
requestDetectionRuleUpdateRequest!No description yet.
tokenString!No description yet.

updateDevice​

Partially updates a device and returns it. Fails if no device has the token. Requires device:write.

Returns Device!

ArgumentTypeDescription
requestDeviceUpdateRequest!The fields to change.
tokenString!Token of the device to update.

updateDeviceCredential​

No description yet.

Returns DeviceCredential!

ArgumentTypeDescription
requestDeviceCredentialUpdateRequest!No description yet.
tokenString!No description yet.

updateDeviceProfile​

Partially updates a device profile's draft and returns it. Fails if no profile has the token. Requires device:write.

Returns DeviceProfile!

ArgumentTypeDescription
requestDeviceProfileUpdateRequest!The fields to change.
tokenString!Token of the profile to update.

updateDeviceType​

Partially updates a device type and returns it. Fails if no device type has the token. Requires device:write.

Returns DeviceType!

ArgumentTypeDescription
requestDeviceTypeUpdateRequest!The fields to change.
tokenString!Token of the device type to update.

updateEntityGroup​

No description yet.

Returns EntityGroup!

ArgumentTypeDescription
requestEntityGroupUpdateRequest!No description yet.
tokenString!No description yet.

updateEntityRelationshipType​

No description yet.

Returns EntityRelationshipType!

ArgumentTypeDescription
requestEntityRelationshipTypeUpdateRequest!No description yet.
tokenString!No description yet.

updateGeoFence​

No description yet.

Returns GeoFence!

ArgumentTypeDescription
requestGeoFenceUpdateRequest!No description yet.
tokenString!No description yet.

updateMetricDefinition​

Partially updates a draft metric definition and returns it. Fails if no metric definition has the token. Requires device:write.

Returns MetricDefinition!

ArgumentTypeDescription
requestMetricDefinitionUpdateRequest!The fields to change.
tokenString!Token of the metric definition to update.

updateProvisioningProfile​

No description yet.

Returns ProvisioningProfile!

ArgumentTypeDescription
requestProvisioningProfileUpdateRequest!No description yet.
tokenString!No description yet.

Subscriptions​

alarmStream

alarmStream​

No description yet.

Returns AlarmEvent!

ArgumentTypeDescription
alarmKeyStringNo description yet.
originatorStringNo description yet.
originatorTypeStringNo description yet.
severityStringNo description yet.
stateStringNo description yet.

Objects​

ActiveProfileRules · ActiveProfileRulesPage · Alarm · AlarmAckRefusal · AlarmEvent · AlarmSearchResults · Area · AreaSearchResults · AreaType · AreaTypeSearchResults · Asset · AssetSearchResults · AssetType · AssetTypeSearchResults · AssetTypeVersion · AuditEvent · AuditEventSearchResults · BatchEnqueueRefusal · BulkAcknowledgeAlarmsResult · CommandDefinition · CommandDefinitionSearchResults · CommandEnqueueVerdict · ConfigurationKey · Customer · CustomerSearchResults · CustomerType · CustomerTypeSearchResults · DetectionRule · DetectionRuleSearchResults · Device · DeviceClaim · DeviceCommandVocabulary · DeviceConfiguration · DeviceConfigurationReport · DeviceConfigurationRevision · DeviceConfigurationRevisionSearchResults · DeviceCredential · DeviceCredentialSearchResults · DeviceGroupTargetPage · DeviceLocationCapability · DeviceLocationDeclaration · DeviceProfile · DeviceProfileSearchResults · DeviceProfileVersion · DeviceReplaceResult · DeviceReplacement · DeviceReplacementSearchResults · DeviceRosterEntry · DeviceRosterPage · DeviceSearchResults · DeviceThresholdAttribute · DeviceThresholdAttributePage · DeviceType · DeviceTypeSearchResults · EntityAttribute · EntityAttributeSearchResults · EntityGroup · EntityGroupMember · EntityGroupMemberSearchResults · EntityGroupSearchResults · EntityGroupVersion · EntityRef · EntityRelationship · EntityRelationshipSearchResults · EntityRelationshipType · EntityRelationshipTypeSearchResults · FacetKey · FacetKeySearchResults · GeoFence · GeoFenceGeometry · GeoFenceManifestEntry · GeoFenceSearchResults · GeoFenceSetManifest · GeoFenceSetSnapshot · GeoFenceSnapshotEntry · GeoFenceSnapshotEntrySearchResults · MetricDefinition · MetricDefinitionSearchResults · ProvisioningProfile · ProvisioningProfileSearchResults · PublishedCommand · PublishedProfileRule · SearchResultsPagination · SelectorPreview

ActiveProfileRules​

object

No description yet.

FieldTypeDescription
activeSinceString!No description yet.
profileTokenString!No description yet.
rules[PublishedProfileRule!]!No description yet.
versionTokenString!No description yet.

ActiveProfileRulesPage​

object

No description yet.

FieldTypeDescription
entries[ActiveProfileRules!]!No description yet.
nextCursorStringNo description yet.

Alarm​

object

No description yet.

Implements Model, TokenReference, MetadataEntity

FieldTypeDescription
acknowledgedBoolean!No description yet.
acknowledgedByStringNo description yet.
acknowledgedTimeStringNo description yet.
alarmKeyString!No description yet.
clearedTimeStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
idID!No description yet.
lastValueFloatNo description yet.
metadataStringNo description yet.
metricKeyString!No description yet.
originatorIdID!No description yet.
originatorTokenStringNo description yet.
originatorTypeString!No description yet.
raisedTimeStringNo description yet.
severityString!No description yet.
stateString!No description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

AlarmAckRefusal​

object

No description yet.

FieldTypeDescription
codeString!No description yet.
reasonString!No description yet.
tokenString!No description yet.

AlarmEvent​

object

No description yet.

FieldTypeDescription
acknowledgedBoolean!No description yet.
acknowledgedByStringNo description yet.
alarmKeyString!No description yet.
alarmTokenString!No description yet.
eventTypeString!No description yet.
lastValueFloatNo description yet.
metricKeyString!No description yet.
occurredTimeString!No description yet.
originatorIdID!No description yet.
originatorTokenStringNo description yet.
originatorTypeString!No description yet.
previousSeverityStringNo description yet.
raisedTimeStringNo description yet.
severityString!No description yet.
stateString!No description yet.

AlarmSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[Alarm!]!No description yet.

Area​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity, Entity

FieldTypeDescription
areaTypeAreaType!No description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

AreaSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[Area!]!No description yet.

AreaType​

object

No description yet.

Implements Model, TokenReference, NamedEntity, BrandedEntity, MetadataEntity

FieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
idID!No description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

AreaTypeSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[AreaType!]!No description yet.

Asset​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity, Entity

FieldTypeDescription
assetTypeAssetType!No description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertiesStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

AssetSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[Asset!]!No description yet.

AssetType​

object

No description yet.

Implements Model, TokenReference, NamedEntity, BrandedEntity, MetadataEntity

FieldTypeDescription
activeVersionIntNo description yet.
backgroundColorStringNo description yet.
borderColorStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
idID!No description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertySchemaStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

AssetTypeSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[AssetType!]!No description yet.

AssetTypeVersion​

object

No description yet.

FieldTypeDescription
descriptionStringNo description yet.
labelStringNo description yet.
propertySchemaString!No description yet.
publishedAtString!No description yet.
publishedByStringNo description yet.
versionInt!No description yet.

AuditEvent​

object

No description yet.

FieldTypeDescription
actorString!No description yet.
categoryString!No description yet.
entityLabelStringNo description yet.
entityPkStringNo description yet.
idID!No description yet.
occurredTimeString!No description yet.
operationString!No description yet.
rowsAffectedInt!No description yet.
tableNameStringNo description yet.

AuditEventSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[AuditEvent!]!No description yet.

BatchEnqueueRefusal​

object

One device a batch command check refused, and why.

FieldTypeDescription
codeString!Why the command was refused, as a stable code: DEVICE_NOT_FOUND, COMMAND_NOT_IN_VOCABULARY or PAYLOAD_SCHEMA_VIOLATION, with the same meanings as in validateCommandEnqueue. Branch on this, not on reason.
deviceTokenString!The refused device's token, exactly as it appeared in the request.
reasonString!Why the command was refused, in words a person can act on. The wording may change.

BulkAcknowledgeAlarmsResult​

object

No description yet.

FieldTypeDescription
acknowledged[Alarm!]!No description yet.
refusals[AlarmAckRefusal!]!No description yet.

CommandDefinition​

object

A command the devices of a profile accept, with the parameters its payload must satisfy. Once the profile is published, a command sent to such a device must use one of the published keys, and its payload is checked against the parameters.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
commandKeyString!The key used to send this command, unique within the profile. Letters, digits, hyphens and underscores, starting with a letter or digit; at most 128 characters.
createdAtStringWhen the command definition was created, as an RFC 3339 timestamp.
deletedAtStringAlways null: deleted command definitions are not returned.
descriptionStringFree-text description, up to 1024 characters. Null when none is set.
deviceProfileDeviceProfile!The profile this command is declared on.
idID!Server-assigned numeric identifier, as a string. Address a command definition by its token instead where you can.
metadataStringCaller-defined metadata as a JSON document, or null when none is set.
nameStringHuman-readable name, up to 128 characters. Null when none is set.
parameterSchemaStringThe command's parameters as a JSON array of parameter descriptors, or null when the command takes no structured arguments, in which case payloads are not checked.
tokenString!Identifier of the command definition, unique within the tenant.
updatedAtStringWhen the command definition was last written, as an RFC 3339 timestamp.

CommandDefinitionSearchResults​

object

One page of command definitions matching a search.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[CommandDefinition!]!The command definitions on this page.

CommandEnqueueVerdict​

object

Whether a command may be sent to a device. A refusal is reported here rather than as a GraphQL error; an error means the check itself could not be made.

FieldTypeDescription
allowedBoolean!True when the command may be sent.
codeStringWhy the command was refused, as a stable code; null when allowed. One of DEVICE_NOT_FOUND (no device has the token), COMMAND_NOT_IN_VOCABULARY (the device's published profile declares commands and this key is not one of them) or PAYLOAD_SCHEMA_VIOLATION (the payload does not satisfy the command's parameters). Branch on this, not on reason.
reasonStringWhy the command was refused, in words a person can act on; null when allowed. The wording may change; use code to decide what to do.

ConfigurationKey​

object

One shared attribute key declared as device-visible configuration on a device profile.

FieldTypeDescription
descriptionStringAn optional human-readable note.
keyString!The shared attribute key.
valueTypeString!How the key's value is typed: STRING, LONG, DOUBLE, BOOLEAN or JSON.

Customer​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity, Entity

FieldTypeDescription
createdAtStringNo description yet.
customerTypeCustomerType!No description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

CustomerSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[Customer!]!No description yet.

CustomerType​

object

No description yet.

Implements Model, TokenReference, NamedEntity, BrandedEntity, MetadataEntity

FieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
idID!No description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

CustomerTypeSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[CustomerType!]!No description yet.

DetectionRule​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
authoringGraphStringNo description yet.
createdAtStringNo description yet.
definitionString!No description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
deviceProfileDeviceProfile!No description yet.
enabledBoolean!No description yet.
entityGroupTokenStringNo description yet.
entityGroupVersionIntNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

DetectionRuleSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[DetectionRule!]!No description yet.

Device​

object

A device: one connected thing the platform receives events from and sends commands to. What it measures and accepts comes from its device type's profile.

Implements Model, TokenReference, NamedEntity, MetadataEntity, Entity

FieldTypeDescription
createdAtStringWhen the device was created, as an RFC 3339 timestamp.
deletedAtStringAlways null: deleted devices are not returned.
descriptionStringFree-text description, up to 1024 characters. Null when none is set.
deviceTypeDeviceType!The device's type.
externalIdStringOptional business identifier you assign, such as a serial number or VIN, up to 256 characters. Unique within the tenant when set. It is only a lookup key: devices are not addressed or authenticated by it.
idID!Server-assigned numeric identifier, as a string. Address a device by its token instead where you can.
metadataStringCaller-defined metadata as a JSON document, or null when none is set.
nameStringHuman-readable name, up to 128 characters. Null when none is set.
tokenString!Identifier of the device, unique within the tenant. It cannot be changed after the device is created.
updatedAtStringWhen the device was last written, as an RFC 3339 timestamp.

DeviceClaim​

object

No description yet.

Implements Model

FieldTypeDescription
claimedByCustomerCustomerNo description yet.
claimedTimeStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
deviceDevice!No description yet.
expiresAtStringNo description yet.
idID!No description yet.
statusString!No description yet.
updatedAtStringNo description yet.

DeviceCommandVocabulary​

object

The commands a device currently accepts, from its profile's active published version.

FieldTypeDescription
commands[PublishedCommand!]!The accepted commands; empty when not constrained.
constrainedBoolean!True when the device accepts only the listed commands. False when its published profile declares no commands, or it has no published profile: any command key is then accepted, and commands is empty.

DeviceConfiguration​

object

A device's configuration: the latest revision it should hold, what it last reported, and whether the two agree.

FieldTypeDescription
desiredDeviceConfigurationRevisionThe latest minted revision, or null when none has been minted for this device.
invalid[String!]!Declared keys whose stored value cannot be carried as the declared value type (written with another type, or unparseable). They are left out of the document.
pendingBoolean!True when a revision exists and the device has not reported APPLIED for that same revision with that same digest. Equal values under a different revision or digest do not count as applied.
reportedDeviceConfigurationReportThe device's last report, or null when it has never reported.
staleBoolean!True when the document the device's current profile declaration and shared attributes would build differs from the latest revision - for example after a profile publish declared new keys. A newer revision is minted when a declared key is next written or the device next synchronizes.
undeclared[String!]!The device's shared attribute keys that its declaration does not name. They are never part of the document.

DeviceConfigurationReport​

object

The configuration state a device last reported. Written only from the device's own reports; no mutation sets it.

FieldTypeDescription
digestStringThe digest the device reported for that revision.
errors[String!]!The device's reasons for a REJECTED report; empty otherwise.
lastSyncAtStringWhen the device last asked for its configuration.
reportedAtStringWhen the device made the report.
revisionIntThe revision the device reported, or null when it has not reported one.
statusStringRECEIVED, APPLIED or REJECTED.

DeviceConfigurationRevision​

object

One immutable revision of a device's configuration document: the values of the shared attribute keys its profile's active published version declares as device-visible. Revisions are append-only; a new one is minted only when the document changes.

FieldTypeDescription
actorString!The authenticated subject whose attribute change minted the revision; empty when none was recorded.
createdAtStringWhen the revision was minted.
digestString!"sha256:" followed by the lowercase hex SHA-256 of the document bytes. A device converges on a revision by reporting this revision number and this digest. A device hashes the bytes it receives and never re-serializes them to check the digest.
documentString!The document as canonical JSON text: an object of declared key to typed value with keys sorted. These are exactly the bytes the digest covers.
revisionInt!The revision number: 1 for the device's first document and one higher for each later one. A number is never reused for the same device.

DeviceConfigurationRevisionSearchResults​

object

A page of a device's configuration revisions, newest first.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the device's whole revision history.
results[DeviceConfigurationRevision!]!The revisions on this page, highest revision number first.

DeviceCredential​

object

No description yet.

Implements Model, TokenReference, MetadataEntity

FieldTypeDescription
createdAtStringNo description yet.
credentialIdString!No description yet.
credentialTypeString!No description yet.
credentialValueStringNo description yet.
deletedAtStringNo description yet.
deviceDevice!No description yet.
enabledBoolean!No description yet.
expiresAtStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

DeviceCredentialSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[DeviceCredential!]!No description yet.

DeviceGroupTargetPage​

object

One page of the devices an entity group contains, for use as the target of a command.

FieldTypeDescription
codeStringWhy the group was refused, as a stable code; null when not rejected. One of GROUP_NOT_FOUND, GROUP_NOT_A_DEVICE_GROUP (it contains something other than devices), GROUP_NOT_PUBLISHED (a dynamic group that was never published), GROUP_VERSION_NOT_FOUND (the requested version does not exist) or GROUP_NOT_VERSIONED (a version was requested for a static group).
deviceTokens[String!]!The device tokens on this page, in ascending order of the devices' ids.
nextCursorStringOpaque cursor to pass as afterId for the next page. Null when this page holds fewer tokens than the limit; a full page always carries a cursor, so a walk can end with an empty page.
reasonStringWhy the group was refused, in words a person can act on; null when not rejected.
rejectedBoolean!True when the group cannot be a command target. code and reason then explain why, and the empty deviceTokens list does not mean the group has no members.
resolvedVersionIntThe dynamic group's published version this page was resolved from; null for a static group.

DeviceLocationCapability​

object

Whether a device reports its own position, according to the active published version of its profile (not the draft). Location data is accepted whether or not it is declared, so an undeclared device may still have stored positions.

FieldTypeDescription
declarationDeviceLocationDeclarationThe declaration, or null when declared is false. An empty object is a real answer: the device reports position and no expectations are stated.
declaredBoolean!True when the published version declares that the device reports position. False when the device's type has no profile, the profile was never published, or the published version declares nothing.

DeviceLocationDeclaration​

object

A statement that devices report their own position, with what to expect of it. The object being present is the statement; both fields are optional, so an empty object still means the devices report position. It is descriptive only: location data is accepted and stored whether or not a declaration exists.

FieldTypeDescription
expectedAccuracyMetersFloatHorizontal accuracy to expect from these devices, in metres, or null when not stated. Descriptive only: a less accurate fix is still stored unchanged.
expectedUpdateIntervalSecondsIntHow often a position fix is expected, in seconds, or null when not stated. Descriptive only: nothing is raised when fixes arrive less often.

DeviceProfile​

object

The capability contract a device type adopts: the metrics its devices report, the commands they accept, the detection rules evaluated against them and whether they report their own position. What you edit is a draft; publishDeviceProfile freezes the draft into a numbered version, and devices use only the active published version. Many device types may share one profile.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
activeVersionIntThe published version devices currently use, or null if the profile has never been published. Until then devices of this profile have no declared metrics or commands.
categoryStringFunctional class of the devices, such as thermostat or meter: free text, up to 64 characters. facetValues lists the values already in use.
commandDefinitions[CommandDefinition!]!The command definitions in the draft. Devices use the active published version, so a change here takes effect only when the profile is published.
configurationDeclaration[ConfigurationKey!]!The profile's DRAFT device-visible configuration declaration: the shared attribute keys a device of this profile may see. Empty when nothing is declared, in which case a device sees an empty document. Like every draft field, it reaches devices only when the profile is published; the declaration frozen into each published version never changes.
createdAtStringWhen the profile was created, as an RFC 3339 timestamp.
deletedAtStringAlways null: deleted profiles are not returned.
descriptionStringFree-text description, up to 1024 characters. Null when none is set.
detectionRules[DetectionRule!]!The detection rules in the draft. Devices use the active published version, so a change here takes effect only when the profile is published.
deviceTypeCountInt!Number of device types that currently adopt this profile.
idID!Server-assigned numeric identifier, as a string. Address a profile by its token instead where you can.
locationDeviceLocationDeclarationThe draft position declaration: present when devices of this profile report their own position, null when they do not. Like the other draft content, it reaches devices only when the profile is published.
metadataStringCaller-defined metadata as a JSON document, or null when none is set.
metricDefinitions[MetricDefinition!]!The metric definitions in the draft. Devices use the active published version, so a change here takes effect only when the profile is published.
nameStringHuman-readable name, up to 128 characters. Null when none is set.
tokenString!Identifier of the profile, unique within the tenant. It can be changed with renameDeviceProfile only while the profile has never been published and no device type currently adopts it.
updatedAtStringWhen the profile was last written, as an RFC 3339 timestamp.

DeviceProfileSearchResults​

object

One page of device profiles matching a search.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[DeviceProfile!]!The device profiles on this page.

DeviceProfileVersion​

object

An immutable, published snapshot of a profile's metric, command and detection-rule definitions and its position declaration. Versions are never deleted while the profile exists; rollbackDeviceProfile makes an earlier one active again.

FieldTypeDescription
descriptionStringOptional notes given at publish time.
labelStringOptional label given at publish time, such as a release name. Not interpreted.
publishedAtString!When the version was published, as an RFC 3339 timestamp.
publishedByStringWho published it: their username, or their email when there is no username.
versionInt!Version number: 1 for the first publish of the profile, increasing by one with each publish.

DeviceReplaceResult​

object

No description yet.

FieldTypeDescription
deviceDevice!No description yet.
newCredentialDeviceCredential!No description yet.
replacementDeviceReplacement!No description yet.
retiredCredentialTokens[String!]!No description yet.

DeviceReplacement​

object

No description yet.

FieldTypeDescription
actorString!No description yet.
createdAtStringNo description yet.
deviceDevice!No description yet.
idID!No description yet.
newCredentialTokenString!No description yet.
newCredentialTypeString!No description yet.
occurredTimeString!No description yet.
reasonStringNo description yet.
retiredCredentialTokens[String!]!No description yet.
unitIdentifierStringNo description yet.

DeviceReplacementSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[DeviceReplacement!]!No description yet.

DeviceRosterEntry​

object

No description yet.

FieldTypeDescription
deviceTokenString!No description yet.
expectedSinceString!No description yet.
profileTokenString!No description yet.

DeviceRosterPage​

object

No description yet.

FieldTypeDescription
entries[DeviceRosterEntry!]!No description yet.
nextCursorStringNo description yet.

DeviceSearchResults​

object

One page of devices matching a search.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[Device!]!The devices on this page.

DeviceThresholdAttribute​

object

No description yet.

FieldTypeDescription
deviceTokenString!No description yet.
keyString!No description yet.
scopeString!No description yet.
updatedAtString!No description yet.
valueFloat!No description yet.

DeviceThresholdAttributePage​

object

No description yet.

FieldTypeDescription
entries[DeviceThresholdAttribute!]!No description yet.
nextCursorStringNo description yet.

DeviceType​

object

A kind of device: what it is (manufacturer and model), how it is displayed, and the device profile that defines what its devices measure and accept. Every device has exactly one device type, and many types may share one profile.

Implements Model, TokenReference, NamedEntity, BrandedEntity, MetadataEntity

FieldTypeDescription
backgroundColorStringBackground colour to display the device type with, up to 32 characters. Not validated.
borderColorStringBorder colour to display the device type with, up to 32 characters. Not validated.
createdAtStringWhen the device type was created, as an RFC 3339 timestamp.
deletedAtStringAlways null: deleted device types are not returned.
descriptionStringFree-text description, up to 1024 characters. Null when none is set.
foregroundColorStringForeground (text) colour to display the device type with, up to 32 characters. Not validated.
iconStringName of an icon representing the device type, up to 128 characters. Not checked against any icon set.
idID!Server-assigned numeric identifier, as a string. Address a device type by its token instead where you can.
imageUrlStringURL of an image representing the device type, up to 512 characters.
manufacturerStringManufacturer of the devices of this type: free text, up to 128 characters. facetValues lists the values already in use.
metadataStringCaller-defined metadata as a JSON document, or null when none is set.
modelStringModel of the devices of this type: free text, up to 128 characters. facetValues lists the values already in use.
nameStringHuman-readable name, up to 128 characters. Null when none is set.
profileDeviceProfileThe device profile this type adopts, or null when it adopts none. Devices of a type with no profile have no declared metrics or commands.
tokenString!Identifier of the device type, unique within the tenant.
updatedAtStringWhen the device type was last written, as an RFC 3339 timestamp.

DeviceTypeSearchResults​

object

One page of device types matching a search.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[DeviceType!]!The device types on this page.

EntityAttribute​

object

No description yet.

Implements Model

FieldTypeDescription
attrKeyString!No description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
entityEntity!No description yet.
entityTypeString!No description yet.
idID!No description yet.
lastUpdatedStringNo description yet.
scopeString!No description yet.
updatedAtStringNo description yet.
valueStringNo description yet.
valueTypeString!No description yet.

EntityAttributeSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[EntityAttribute!]!No description yet.

EntityGroup​

object

No description yet.

Implements Model, TokenReference, NamedEntity, BrandedEntity, MetadataEntity, Entity

FieldTypeDescription
activeVersionIntNo description yet.
backgroundColorStringNo description yet.
borderColorStringNo description yet.
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
idID!No description yet.
imageUrlStringNo description yet.
memberTypeString!No description yet.
membersEntityGroupMemberSearchResults!No description yet.

Arguments:
pagination: PaginationInput! — No description yet.
membershipModeString!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
selectorStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.
versions[EntityGroupVersion!]!No description yet.

EntityGroupMember​

object

No description yet.

FieldTypeDescription
idID!No description yet.
tokenString!No description yet.

EntityGroupMemberSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[EntityGroupMember!]!No description yet.

EntityGroupSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[EntityGroup!]!No description yet.

EntityGroupVersion​

object

No description yet.

FieldTypeDescription
descriptionStringNo description yet.
labelStringNo description yet.
memberTypeString!No description yet.
publishedAtString!No description yet.
publishedByStringNo description yet.
selectorString!No description yet.
versionInt!No description yet.

EntityRef​

object

No description yet.

FieldTypeDescription
tokenString!No description yet.
typeString!No description yet.

EntityRelationship​

object

No description yet.

Implements Model, TokenReference, MetadataEntity

FieldTypeDescription
createdAtStringNo description yet.
deletedAtStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
relationshipTypeEntityRelationshipType!No description yet.
sourceEntity!No description yet.
sourceTypeString!No description yet.
targetEntity!No description yet.
targetTypeString!No description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

EntityRelationshipSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[EntityRelationship!]!No description yet.

EntityRelationshipType​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
trackedBoolean!No description yet.
updatedAtStringNo description yet.

EntityRelationshipTypeSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[EntityRelationshipType!]!No description yet.

FacetKey​

object

No description yet.

Implements Model

FieldTypeDescription
createdAtStringNo description yet.
deletedAtStringNo description yet.
idID!No description yet.
keyString!No description yet.
labelStringNo description yet.
memberTypeString!No description yet.
sourceString!No description yet.
updatedAtStringNo description yet.
valueTypeString!No description yet.
values[String!]No description yet.

FacetKeySearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[FacetKey!]!No description yet.

GeoFence​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
createdAtStringNo description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
geometryString!No description yet.
idID!No description yet.
kindString!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

GeoFenceGeometry​

object

No description yet.

FieldTypeDescription
geometryString!No description yet.
hashString!No description yet.

GeoFenceManifestEntry​

object

No description yet.

FieldTypeDescription
hashString!No description yet.
tokenString!No description yet.

GeoFenceSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[GeoFence!]!No description yet.

GeoFenceSetManifest​

object

No description yet.

FieldTypeDescription
fences[GeoFenceManifestEntry!]!No description yet.
mintedAtStringNo description yet.
versionInt!No description yet.

GeoFenceSetSnapshot​

object

No description yet.

FieldTypeDescription
fencesGeoFenceSnapshotEntrySearchResults!No description yet.

Arguments:
pagination: PaginationInput! — No description yet.
versionInt!No description yet.

GeoFenceSnapshotEntry​

object

No description yet.

FieldTypeDescription
geometryString!No description yet.
tokenString!No description yet.

GeoFenceSnapshotEntrySearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[GeoFenceSnapshotEntry!]!No description yet.

MetricDefinition​

object

A measurement the devices of a profile report: its key, numeric type, unit and allowed values. Inbound measurements whose key matches are validated against it; a measurement whose key is not declared is not validated.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
createdAtStringWhen the metric definition was created, as an RFC 3339 timestamp.
dataTypeString!The value type: DOUBLE, INT or BOOLEAN. A BOOLEAN value is stored as 0 or 1.
deletedAtStringAlways null: deleted metric definitions are not returned.
descriptionStringFree-text description, up to 1024 characters. Null when none is set.
descriptorStringOptional semantic tag for the metric, such as a Web of Things type. Stored and returned; not interpreted.
deviceProfileDeviceProfile!The profile this metric is declared on.
enumStringThe allowed values as a JSON array of strings, or null when any value is allowed. A measurement must equal one of them exactly. A value that is not a non-empty array of strings restricts nothing.
idID!Server-assigned numeric identifier, as a string. Address a metric definition by its token instead where you can.
maxValueFloatLargest value accepted for a DOUBLE or INT metric, or null for no upper bound. A measurement above it is rejected.
metadataStringCaller-defined metadata as a JSON document, or null when none is set.
metricKeyString!The key a measurement uses to report this metric, unique within the profile and at most 128 characters.
minValueFloatSmallest value accepted for a DOUBLE or INT metric, or null for no lower bound. A measurement below it is rejected.
nameStringHuman-readable name, up to 128 characters. Null when none is set.
tokenString!Identifier of the metric definition, unique within the tenant.
unitStringUnit of measure, such as a UCUM code (Cel, kW). It is carried with each measurement of this metric; values are not converted.
updatedAtStringWhen the metric definition was last written, as an RFC 3339 timestamp.

MetricDefinitionSearchResults​

object

One page of metric definitions matching a search.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[MetricDefinition!]!The metric definitions on this page.

ProvisioningProfile​

object

No description yet.

Implements Model, TokenReference, NamedEntity, MetadataEntity

FieldTypeDescription
createdAtStringNo description yet.
credentialTypeString!No description yet.
deletedAtStringNo description yet.
descriptionStringNo description yet.
deviceTypeDeviceType!No description yet.
enabledBoolean!No description yet.
expiresAtStringNo description yet.
idID!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
provisionKeyString!No description yet.
strategyString!No description yet.
tokenString!No description yet.
updatedAtStringNo description yet.

ProvisioningProfileSearchResults​

object

No description yet.

FieldTypeDescription
paginationSearchResultsPagination!No description yet.
results[ProvisioningProfile!]!No description yet.

PublishedCommand​

object

One command a device accepts, as frozen in its profile's active published version. To edit commands, use the profile's command definitions and publish the profile.

FieldTypeDescription
commandKeyString!The key used to send this command.
descriptionStringFree-text description, or null when none was set.
nameStringHuman-readable name, or null when none was set.
parameterSchemaStringThe command's parameters as a JSON array of parameter descriptors, or null when it takes no structured arguments.

PublishedProfileRule​

object

No description yet.

FieldTypeDescription
definitionString!No description yet.
entityGroupTokenString!No description yet.
entityGroupVersionInt!No description yet.
tokenString!No description yet.

SearchResultsPagination​

object

Where a page of search results sits in the full result set. Positions are 1-based and inclusive.

FieldTypeDescription
pageEndIntPosition of the last result on this page within the full result set (1-based, inclusive). Lower than pageStart when the page is past the end of the results.
pageStartIntPosition of the first result on this page within the full result set (1-based).
totalRecordsIntNumber of records matching the criteria across all pages.

SelectorPreview​

object

No description yet.

FieldTypeDescription
errorStringNo description yet.
membersEntityGroupMemberSearchResultsNo description yet.
validBoolean!No description yet.

Interfaces​

BrandedEntity · Entity · MetadataEntity · Model · NamedEntity · TokenReference

BrandedEntity​

interface

Presentation hints a user interface can use when showing the record. The server stores them as text and does not interpret them.

FieldTypeDescription
backgroundColorStringBackground colour to display the record with, such as a CSS colour. Not validated.
borderColorStringBorder colour to display the record with, such as a CSS colour. Not validated.
foregroundColorStringForeground (text) colour to display the record with, such as a CSS colour. Not validated.
iconStringName of an icon representing the record. Not checked against any icon set.
imageUrlStringURL of an image representing the record.

Entity​

interface

No description yet.

FieldTypeDescription
idID!No description yet.
tokenString!No description yet.

MetadataEntity​

interface

A record that carries caller-defined metadata.

FieldTypeDescription
metadataStringCaller-defined metadata as a JSON document, or null when none is set.

Model​

interface

Fields every stored record carries: a server-assigned id and its timestamps.

FieldTypeDescription
createdAtStringWhen the record was created, as an RFC 3339 timestamp.
deletedAtStringAlways null: deleted records are not returned by this API.
idID!Server-assigned numeric identifier, as a string. Records are normally addressed by token; the ById lookups take this value.
updatedAtStringWhen the record was last written, as an RFC 3339 timestamp.

NamedEntity​

interface

A record with a human-readable name and description.

FieldTypeDescription
descriptionStringFree-text description. Null when none is set.
nameStringHuman-readable name. Null when none is set.

TokenReference​

interface

A record addressed by a token, an identifier unique within the tenant among records of its kind.

FieldTypeDescription
tokenString!Identifier of the record, unique within the tenant among records of its kind. Letters, digits, hyphens and underscores, starting with a letter or digit; at most 128 characters.

Input types​

AlarmSearchCriteria · AreaCreateRequest · AreaSearchCriteria · AreaTypeCreateRequest · AreaTypeSearchCriteria · AreaTypeUpdateRequest · AreaUpdateRequest · AssetCreateRequest · AssetSearchCriteria · AssetTypeCreateRequest · AssetTypeSearchCriteria · AssetTypeUpdateRequest · AssetUpdateRequest · AuditEventSearchCriteria · CommandDefinitionCreateRequest · CommandDefinitionSearchCriteria · CommandDefinitionUpdateRequest · ConfigurationKeyInput · CustomerCreateRequest · CustomerSearchCriteria · CustomerTypeCreateRequest · CustomerTypeSearchCriteria · CustomerTypeUpdateRequest · CustomerUpdateRequest · DetectionRuleCreateRequest · DetectionRuleSearchCriteria · DetectionRuleUpdateRequest · DeviceBulkCreateRequest · DeviceClaimInitiateRequest · DeviceClaimRequest · DeviceCreateRequest · DeviceCredentialCreateRequest · DeviceCredentialSearchCriteria · DeviceCredentialUpdateRequest · DeviceLocationDeclarationInput · DeviceProfileCreateRequest · DeviceProfileSearchCriteria · DeviceProfileUpdateRequest · DeviceReplaceRequest · DeviceReplacementSearchCriteria · DeviceSearchCriteria · DeviceTypeCreateRequest · DeviceTypeSearchCriteria · DeviceTypeUpdateRequest · DeviceUpdateRequest · EntityAttributeSearchCriteria · EntityAttributeSetRequest · EntityGroupCreateRequest · EntityGroupSearchCriteria · EntityGroupUpdateRequest · EntityRefInput · EntityRelationshipCreateRequest · EntityRelationshipSearchCriteria · EntityRelationshipTypeCreateRequest · EntityRelationshipTypeSearchCriteria · EntityRelationshipTypeUpdateRequest · FacetKeySearchCriteria · FacetKeySetRequest · GeoFenceCreateRequest · GeoFenceSearchCriteria · GeoFenceUpdateRequest · MetricDefinitionCreateRequest · MetricDefinitionSearchCriteria · MetricDefinitionUpdateRequest · PaginationInput · ProvisioningProfileCreateRequest · ProvisioningProfileSearchCriteria · ProvisioningProfileUpdateRequest

AlarmSearchCriteria​

input

No description yet.

Input fieldTypeDescription
acknowledgedBooleanNo description yet.
alarmKeyStringNo description yet.
originatorStringNo description yet.
originatorTypeStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.
severityStringNo description yet.
stateStringNo description yet.

AreaCreateRequest​

input

No description yet.

Input fieldTypeDescription
areaTypeTokenString!No description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

AreaSearchCriteria​

input

No description yet.

Input fieldTypeDescription
areaTypeTokenStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

AreaTypeCreateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

AreaTypeSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.

AreaTypeUpdateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

AreaUpdateRequest​

input

No description yet.

Input fieldTypeDescription
areaTypeTokenStringNo description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

AssetCreateRequest​

input

No description yet.

Input fieldTypeDescription
assetTypeTokenString!No description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertiesStringNo description yet.
tokenString!No description yet.

AssetSearchCriteria​

input

No description yet.

Input fieldTypeDescription
assetTypeTokenStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

AssetTypeCreateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertySchemaStringNo description yet.
tokenString!No description yet.

AssetTypeSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.

AssetTypeUpdateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertySchemaStringNo description yet.

AssetUpdateRequest​

input

No description yet.

Input fieldTypeDescription
assetTypeTokenStringNo description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
propertiesStringNo description yet.

AuditEventSearchCriteria​

input

No description yet.

Input fieldTypeDescription
actorStringNo description yet.
categoryStringNo description yet.
endTimeStringNo description yet.
entityPkStringNo description yet.
operationStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.
startTimeStringNo description yet.
tableNameStringNo description yet.

CommandDefinitionCreateRequest​

input

Fields for a new command definition.

Input fieldTypeDescription
commandKeyString!The key used to send the command. Letters, digits, hyphens and underscores, starting with a letter or digit; at most 128 characters. A key the profile already declares is refused with CONFLICT.
descriptionStringFree-text description, up to 1024 characters.
deviceProfileTokenString!Token of the profile to declare the command on. An unknown token fails the request.
metadataStringCaller-defined metadata. Must be valid JSON; an empty string means none.
nameStringHuman-readable name, up to 128 characters.
parameterSchemaStringThe command's parameters: a JSON array of descriptors, each with a name and optional description, kind (SCALAR, the default, or OBJECT with nested parameters), dataType (DOUBLE, INT, BOOLEAN or STRING), unit, required, default, minValue, maxValue and enum. Unknown keys and inconsistent constraints are refused. Omit it for a command without structured arguments.
tokenString!Identifier for the new command definition. A token already in use in the tenant is refused with CONFLICT.

CommandDefinitionSearchCriteria​

input

Criteria for searching command definitions. Results are newest first.

Input fieldTypeDescription
commandKeyStringReturn only definitions with exactly this command key.
deviceProfileStringReturn only definitions on the profile with this token. An unknown token matches nothing.
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

CommandDefinitionUpdateRequest​

input

A partial update to a command definition. Omit a field to leave the stored value alone, send a value to set it, or send an explicit null to clear it; the fields that cannot be cleared say so. The definition is named by the mutation's token argument, so there is no token here. Any refusal leaves the definition unchanged.

Input fieldTypeDescription
commandKeyStringNew command key, in the same format as on create. An explicit null or a blank value is refused, and a key already declared on the profile is refused with CONFLICT.
descriptionStringNew description, or null to clear it.
deviceProfileTokenStringToken of another profile to move the definition to. An explicit null or a blank value is refused, and an unknown token fails the whole update. The command key must be unique in the profile the definition ends up in.
metadataStringNew metadata (valid JSON, replacing the stored document), or null to clear it.
nameStringNew name, or null to clear it.
parameterSchemaStringNew parameters (validated as on create), or null to make the command one without structured arguments.

ConfigurationKeyInput​

input

One key of a configuration declaration. The key must follow the attribute-key grammar (letters, digits, hyphens and underscores, starting with a letter or digit), be unique within the declaration, and carry a valid value type.

Input fieldTypeDescription
descriptionStringAn optional human-readable note.
keyString!The shared attribute key.
valueTypeString!How the key's value is typed: STRING, LONG, DOUBLE, BOOLEAN or JSON.

CustomerCreateRequest​

input

No description yet.

Input fieldTypeDescription
customerTypeTokenString!No description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

CustomerSearchCriteria​

input

No description yet.

Input fieldTypeDescription
customerTypeTokenStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

CustomerTypeCreateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

CustomerTypeSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.

CustomerTypeUpdateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

CustomerUpdateRequest​

input

No description yet.

Input fieldTypeDescription
customerTypeTokenStringNo description yet.
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

DetectionRuleCreateRequest​

input

No description yet.

Input fieldTypeDescription
authoringGraphStringNo description yet.
definitionString!No description yet.
descriptionStringNo description yet.
deviceProfileTokenString!No description yet.
enabledBoolean!No description yet.
entityGroupTokenStringNo description yet.
entityGroupVersionIntNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

DetectionRuleSearchCriteria​

input

No description yet.

Input fieldTypeDescription
deviceProfileStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

DetectionRuleUpdateRequest​

input

No description yet.

Input fieldTypeDescription
authoringGraphStringNo description yet.
definitionStringNo description yet.
descriptionStringNo description yet.
deviceProfileTokenStringNo description yet.
enabledBooleanNo description yet.
entityGroupTokenStringNo description yet.
entityGroupVersionIntNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

DeviceBulkCreateRequest​

input

Creates many devices of one type from templates. Device n of the batch (n running from startIndex to startIndex + count - 1) is rendered by replacing {n} with n, or {n:0Wd} with n zero-padded to width W. Each template may be at most 256 characters, with a pad width of at most 128. The whole batch is created or none of it is.

Input fieldTypeDescription
countInt!Number of devices to create, from 1 to 1000.
deviceTypeTokenString!Token of the device type for every device. An unknown token fails the request.
externalIdTemplateStringTemplate for the external ids. Optional. {random} renders a fresh random value per device. When creating more than one device the template must contain {n}, {n:0Wd} or {random}, since external ids are unique within the tenant. A rendered value may be at most 256 characters.
metadataStringMetadata given to every device. Must be valid JSON; an empty string means none.
nameTemplateStringTemplate for the device names. Optional; {random} is not allowed. A rendered name may be at most 128 characters.
startIndexIntIndex of the first device. Defaults to 1; values below 1 are refused.
tokenTemplateString!Template for the device tokens. It must contain {n} or {n:0Wd} so each token is distinct, must not contain {random}, and every rendered token must be a valid token not already in use.

DeviceClaimInitiateRequest​

input

No description yet.

Input fieldTypeDescription
claimSecretString!No description yet.
deviceTokenString!No description yet.
expiresAtStringNo description yet.

DeviceClaimRequest​

input

No description yet.

Input fieldTypeDescription
claimSecretString!No description yet.
customerTokenString!No description yet.
deviceTokenString!No description yet.
relationshipTypeString!No description yet.

DeviceCreateRequest​

input

Fields for a new device.

Input fieldTypeDescription
descriptionStringFree-text description, up to 1024 characters.
deviceTypeTokenString!Token of the device's type. An unknown token fails the request.
externalIdStringOptional business identifier, up to 256 characters. A value another device in the tenant already has is refused with CONFLICT.
metadataStringCaller-defined metadata. Must be valid JSON; an empty string means none.
nameStringHuman-readable name, up to 128 characters.
tokenString!Identifier for the new device. A token already in use in the tenant is refused with CONFLICT.

DeviceCredentialCreateRequest​

input

No description yet.

Input fieldTypeDescription
credentialIdString!No description yet.
credentialTypeString!No description yet.
credentialValueStringThe password for an MQTT_BASIC credential: at least 16 bytes, counted as sent, and at most 4096. A shorter one is refused with extensions.code INVALID_VALUE. Write-only; it is stored only as a keyed digest. A password set before the 16-byte minimum keeps working until it is next changed.
deviceTokenString!No description yet.
enabledBoolean!No description yet.
expiresAtStringNo description yet.
metadataStringNo description yet.
tokenString!No description yet.

DeviceCredentialSearchCriteria​

input

No description yet.

Input fieldTypeDescription
credentialIdStringNo description yet.
credentialTypeStringNo description yet.
deviceStringNo description yet.
enabledBooleanNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

DeviceCredentialUpdateRequest​

input

No description yet.

Input fieldTypeDescription
credentialIdStringNo description yet.
credentialTypeStringNo description yet.
credentialValueStringThe new password for an MQTT_BASIC credential: at least 16 bytes, counted as sent, and at most 4096. A shorter one is refused with extensions.code INVALID_VALUE. Required when this request changes the credential's type to MQTT_BASIC. Ignored for a type that has no password. Write-only; it is stored only as a keyed digest. A password set before the 16-byte minimum keeps working until it is next changed.
deviceTokenStringNo description yet.
enabledBooleanNo description yet.
expiresAtStringNo description yet.
metadataStringNo description yet.

DeviceLocationDeclarationInput​

input

Sets a profile's position declaration. Supplying it states that the devices report their own position; an empty object makes that statement with no expectations.

Input fieldTypeDescription
expectedAccuracyMetersFloatHorizontal accuracy to expect, in metres. Must be a positive finite number when sent; omit it or send null to state no expectation.
expectedUpdateIntervalSecondsIntHow often a position fix is expected, in seconds. Must be positive when sent; omit it or send null to state no expectation.

DeviceProfileCreateRequest​

input

Fields for a new device profile. Its definitions are added afterwards, and take effect when the profile is published.

Input fieldTypeDescription
categoryStringFunctional class of the devices, such as thermostat or meter, up to 64 characters.
descriptionStringFree-text description, up to 1024 characters.
locationDeviceLocationDeclarationInputWhether the devices report their own position, and what to expect of it. Omit it when they do not.
metadataStringCaller-defined metadata. Must be valid JSON; an empty string means none.
nameStringHuman-readable name, up to 128 characters.
tokenString!Identifier for the new profile. A token already in use in the tenant is refused with CONFLICT.

DeviceProfileSearchCriteria​

input

Criteria for searching device profiles. Results are newest first.

Input fieldTypeDescription
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

DeviceProfileUpdateRequest​

input

A partial update to a device profile's own fields. Omit a field to leave the stored value alone, send a value to set it, or send an explicit null to clear it. The profile is named by the mutation's token argument; use renameDeviceProfile to change its token. Changes here are part of the draft.

Input fieldTypeDescription
categoryStringNew category, or null to clear it.
descriptionStringNew description, or null to clear it.
locationDeviceLocationDeclarationInputNew position declaration, replacing the stored one; null states that the devices do not report their own position. An empty object states that they do, with no expectations.
metadataStringNew metadata (valid JSON, replacing the stored document), or null to clear it.
nameStringNew name, or null to clear it.

DeviceReplaceRequest​

input

No description yet.

Input fieldTypeDescription
credentialIdStringNo description yet.
credentialTokenStringNo description yet.
credentialTypeStringNo description yet.
credentialValueStringThe password for an MQTT_BASIC credential: at least 16 bytes, counted as sent, and at most 4096. A shorter one is refused with extensions.code INVALID_VALUE. Write-only; it is stored only as a keyed digest. A password set before the 16-byte minimum keeps working until it is next changed.
deviceTokenString!No description yet.
expiresAtStringNo description yet.
reasonStringNo description yet.
unitIdentifierStringNo description yet.

DeviceReplacementSearchCriteria​

input

No description yet.

Input fieldTypeDescription
deviceStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

DeviceSearchCriteria​

input

Criteria for searching devices. Results are newest first.

Input fieldTypeDescription
deviceTypeStringReturn only devices of the device type with this token. An unknown token matches nothing.
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

DeviceTypeCreateRequest​

input

Fields for a new device type.

Input fieldTypeDescription
backgroundColorStringBackground colour, up to 32 characters.
borderColorStringBorder colour, up to 32 characters.
descriptionStringFree-text description, up to 1024 characters.
foregroundColorStringForeground (text) colour, up to 32 characters.
iconStringName of an icon representing the device type, up to 128 characters.
imageUrlStringURL of an image representing the device type, up to 512 characters.
manufacturerStringManufacturer of the devices of this type, up to 128 characters.
metadataStringCaller-defined metadata. Must be valid JSON; an empty string means none.
modelStringModel of the devices of this type, up to 128 characters.
nameStringHuman-readable name, up to 128 characters.
profileTokenStringToken of the device profile the type adopts. Omit it, or send an empty value, for a type with no profile. An unknown token fails the request.
tokenString!Identifier for the new device type. A token already in use in the tenant is refused with CONFLICT.

DeviceTypeSearchCriteria​

input

Criteria for searching device types. Results are newest first.

Input fieldTypeDescription
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

DeviceTypeUpdateRequest​

input

A partial update to a device type. Omit a field to leave the stored value alone, send a value to set it, or send an explicit null to clear it; sending only name renames the type and changes nothing else. The type is named by the mutation's token argument, so there is no token here and a type's token cannot be changed.

Input fieldTypeDescription
backgroundColorStringNew background colour, or null to clear it.
borderColorStringNew border colour, or null to clear it.
descriptionStringNew description, or null to clear it.
foregroundColorStringNew foreground colour, or null to clear it.
iconStringNew icon name, or null to clear it.
imageUrlStringNew image URL, or null to clear it.
manufacturerStringNew manufacturer, or null to clear it.
metadataStringNew metadata (valid JSON, replacing the stored document), or null to clear it.
modelStringNew model, or null to clear it.
nameStringNew name, or null to clear it.
profileTokenStringToken of the profile the type should adopt; null or an empty value detaches the current profile. An unknown token fails the whole update. Changing the profile changes what every device of the type measures and accepts.

DeviceUpdateRequest​

input

A partial update to a device. Omit a field to leave the stored value alone, send a value to set it, or send an explicit null to clear it; the fields that cannot be cleared say so. The device is named by the mutation's token argument, so there is no token here. An empty object changes nothing.

Input fieldTypeDescription
descriptionStringNew description, or null to clear it.
deviceTypeTokenStringToken of a different device type to move the device to. An explicit null or an empty value is refused, because every device must have a type; an unknown token fails the whole update.
externalIdStringNew business identifier, or null to clear it. A value another device already has is refused with CONFLICT.
metadataStringNew metadata (valid JSON, replacing the stored document), or null to clear it.
nameStringNew name, or null to clear it.

EntityAttributeSearchCriteria​

input

No description yet.

Input fieldTypeDescription
attrKeys[String!]No description yet.
entityStringNo description yet.
entityTypeStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.
scopeStringNo description yet.

EntityAttributeSetRequest​

input

No description yet.

Input fieldTypeDescription
attrKeyString!No description yet.
entityString!No description yet.
entityTypeString!No description yet.
scopeString!No description yet.
valueStringNo description yet.
valueTypeString!No description yet.

EntityGroupCreateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
memberTypeString!No description yet.
membershipModeStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
selectorStringNo description yet.
tokenString!No description yet.

EntityGroupSearchCriteria​

input

No description yet.

Input fieldTypeDescription
memberTypeStringNo description yet.
membershipModeStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

EntityGroupUpdateRequest​

input

No description yet.

Input fieldTypeDescription
backgroundColorStringNo description yet.
borderColorStringNo description yet.
descriptionStringNo description yet.
foregroundColorStringNo description yet.
iconStringNo description yet.
imageUrlStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
selectorStringNo description yet.

EntityRefInput​

input

No description yet.

Input fieldTypeDescription
tokenString!No description yet.
typeString!No description yet.

EntityRelationshipCreateRequest​

input

No description yet.

Input fieldTypeDescription
metadataStringNo description yet.
relationshipTypeString!No description yet.
sourceString!No description yet.
sourceTypeString!No description yet.
targetString!No description yet.
targetTypeString!No description yet.
tokenString!No description yet.

EntityRelationshipSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.
relationshipTypeStringNo description yet.
sourceStringNo description yet.
sourceTypeStringNo description yet.
targetStringNo description yet.
targetTypeStringNo description yet.
trackedBooleanNo description yet.

EntityRelationshipTypeCreateRequest​

input

No description yet.

Input fieldTypeDescription
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.
trackedBoolean!No description yet.

EntityRelationshipTypeSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.

EntityRelationshipTypeUpdateRequest​

input

No description yet.

Input fieldTypeDescription
descriptionStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
trackedBooleanNo description yet.

FacetKeySearchCriteria​

input

No description yet.

Input fieldTypeDescription
memberTypeStringNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.

FacetKeySetRequest​

input

No description yet.

Input fieldTypeDescription
keyString!No description yet.
labelStringNo description yet.
memberTypeString!No description yet.
valueTypeString!No description yet.
values[String!]No description yet.

GeoFenceCreateRequest​

input

No description yet.

Input fieldTypeDescription
descriptionStringNo description yet.
geometryString!No description yet.
metadataStringNo description yet.
nameStringNo description yet.
tokenString!No description yet.

GeoFenceSearchCriteria​

input

No description yet.

Input fieldTypeDescription
pageNumberInt!No description yet.
pageSizeInt!No description yet.

GeoFenceUpdateRequest​

input

No description yet.

Input fieldTypeDescription
descriptionStringNo description yet.
geometryStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.

MetricDefinitionCreateRequest​

input

Fields for a new metric definition.

Input fieldTypeDescription
dataTypeString!The value type: DOUBLE, INT or BOOLEAN. STRING is refused, because a metric must be numeric; report string values as attributes instead.
descriptionStringFree-text description, up to 1024 characters.
descriptorStringOptional semantic tag, such as a Web of Things type.
deviceProfileTokenString!Token of the profile to declare the metric on. An unknown token fails the request.
enumStringAllowed values as a JSON array of strings. Must be valid JSON.
maxValueFloatLargest value accepted for a DOUBLE or INT metric.
metadataStringCaller-defined metadata. Must be valid JSON; an empty string means none.
metricKeyString!The key measurements will use for this metric, at most 128 characters. A key the profile already declares is refused with CONFLICT.
minValueFloatSmallest value accepted for a DOUBLE or INT metric.
nameStringHuman-readable name, up to 128 characters.
tokenString!Identifier for the new metric definition. A token already in use in the tenant is refused with CONFLICT.
unitStringUnit of measure, such as a UCUM code (Cel, kW).

MetricDefinitionSearchCriteria​

input

Criteria for searching metric definitions. Results are newest first.

Input fieldTypeDescription
deviceProfileStringReturn only definitions on the profile with this token. An unknown token matches nothing.
metricKeyStringReturn only definitions with exactly this metric key.
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

MetricDefinitionUpdateRequest​

input

A partial update to a metric definition. Omit a field to leave the stored value alone, send a value to set it, or send an explicit null to clear it; the fields that cannot be cleared say so. The definition is named by the mutation's token argument, so there is no token here. Any refusal leaves the definition unchanged.

Input fieldTypeDescription
dataTypeStringNew value type: DOUBLE, INT or BOOLEAN. An explicit null is refused.
descriptionStringNew description, or null to clear it.
descriptorStringNew semantic tag, or null to clear it.
deviceProfileTokenStringToken of another profile to move the definition to. An explicit null or a blank value is refused, and an unknown token fails the whole update.
enumStringNew allowed values as a JSON array of strings, or null to allow any value.
maxValueFloatNew upper bound, or null to remove it.
metadataStringNew metadata (valid JSON, replacing the stored document), or null to clear it.
metricKeyStringNew key for the metric, unique within the profile the definition ends up in. An explicit null or a blank value is refused.
minValueFloatNew lower bound, or null to remove it.
nameStringNew name, or null to clear it.
unitStringNew unit, or null to clear it.

PaginationInput​

input

Which page of results to return.

Input fieldTypeDescription
pageNumberInt!Page to return, starting at 1. Values below 1 are read as 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

ProvisioningProfileCreateRequest​

input

No description yet.

Input fieldTypeDescription
credentialTypeStringNo description yet.
descriptionStringNo description yet.
deviceTypeTokenString!No description yet.
enabledBoolean!No description yet.
expiresAtStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
provisionKeyString!No description yet.
provisionSecretString!No description yet.
strategyString!No description yet.
tokenString!No description yet.

ProvisioningProfileSearchCriteria​

input

No description yet.

Input fieldTypeDescription
deviceTypeStringNo description yet.
enabledBooleanNo description yet.
pageNumberInt!No description yet.
pageSizeInt!No description yet.
strategyStringNo description yet.

ProvisioningProfileUpdateRequest​

input

No description yet.

Input fieldTypeDescription
descriptionStringNo description yet.
deviceTypeTokenStringNo description yet.
enabledBooleanNo description yet.
expiresAtStringNo description yet.
metadataStringNo description yet.
nameStringNo description yet.
provisionKeyStringNo description yet.
provisionSecretStringNo description yet.
strategyStringNo description yet.

Enums​

DeviceFacet

DeviceFacet​

enum

A free-text classification field whose values in use facetValues can list.

ValueDescription
MANUFACTURERThe manufacturer field of device types.
MODELThe model field of device types.
CATEGORYThe category field of device profiles.