Skip to Content

Public M2M API — agent

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/agent

Exported methods: GET, POST

GET

  • Resource scopes: monitoring:read
  • Query parameters: limit, page
  • Shared pagination: Yes
  • Response keys observed across outcomes: agentKeys, data, devices

POST

  • Resource scopes: monitoring:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: action, data, device, deviceId, ok, recordedAt

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumYesNoheartbeat, register_device, enroll, create_key—
agentVersionstringYesNo——
deviceIdstringYesNo——
hostnamestringYesNo——
ipAddressstringYesNo——
namestringYesNo——
osstringYesNo——
osVersionstringYesNo——
telemetryobjectYesNo——