This article covers how to get started with the Device APIs:
Notes:
The API Tester in the v4 Portal enables you to securely call the methods of these APIs using your organization's Kentik data.
For information about devices, start with Network Devices.
Protobuf and OpenAPI specifications for Kentik’s v6 APIs are available in our api-schema-public repository.
Device Usage
The Device API provides programmatic access to configuration of devices
Device RPCs
The tables below provide a quick reference to key information about each Remote Procedure Call in these APIs. Use the links in the tables to see schemas for the request and/or response body (if any).
Note: To test methods using your own Kentik data, use the portal's API Tester.
ListDevices
API: DeviceService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
GET | /device/v202308beta1 | Returns list of configured devices (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||
|
CreateDevice
API: DeviceService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
POST | /device/v202308beta1 | Create configuration for a new device. Returns the newly created configuration (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||
|
DeleteDevices
API: DeviceService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
POST | /device/v202308beta1 | Deletes configuration of multiple devices with specific IDs (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||
|
UpdateDevices
API: DeviceService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
PUT | /device/v202308beta1 | Replaces configuration of multiple devices with attributes in the request. Returns the updated configurations (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||
|
UpdateDevice
API: DeviceService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
PUT | /device/v202308beta1 | Replaces configuration of a device with attributes in the request. Returns the updated configuration (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||||||||||
|
GetDevice
API: DeviceService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
GET | /device/v202308beta1 | Returns configuration of a device specified by ID (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||||||||||
Parameters:
|
DeleteDevice
API: DeviceService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
DELETE | /device/v202308beta1 | Deletes configuration of a device with specific ID (see [About Devices](https://kb.kentik.com/v4/Cb01.htm)). | ||||||||||
|
UpdateDeviceLabels
API: DeviceService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
PUT | /device/v202308beta1 | Removes all existing labels from the device and applies the device labels (see [About Device Labels](https://kb.kentik.com/v4/Cb16.htm)) specified by id. Returns the updated configuration. | ||||||||||
|
Device Schemas
This API uses the following schemas.
Label
Schema: devicev202308beta1Label | Type: object | ||||||||||||||||||||||||
Properties:
|
protobufAny
Schema: protobufAny | Type: object | ||||||
Properties:
|
rpcStatus
Schema: rpcStatus | Type: object | ||||||||
Properties:
|
CreateDeviceRequest
Schema: v202308beta1CreateDeviceRequest | Type: object | ||||
Properties:
|
CreateDeviceResponse
Schema: v202308beta1CreateDeviceResponse | Type: object | ||||
Properties:
|
CreateDevicesRequest
Schema: v202308beta1CreateDevicesRequest | Type: object | ||||
Properties (* = required)
|
CreateDevicesResponse
Schema: v202308beta1CreateDevicesResponse | Type: object | ||||||
Properties:
|
CustomColumnData
Schema: v202308beta1CustomColumnData | Type: object | ||||||||||||||
Properties:
|
DeleteDeviceResponse
Schema: v202308beta1DeleteDeviceResponse Properties: None. | Type: object |
DeleteDevicesRequest
Schema: v202308beta1DeleteDevicesRequest | Type: object | ||||
Properties (* = required)
|
DeleteDevicesResponse
Schema: v202308beta1DeleteDevicesResponse | Type: object | ||||
Properties:
|
DeviceConcise
Schema: v202308beta1DeviceConcise | Type: object | ||||||||||||||||||||||||||||||||||||||||||||||||
Properties:
|
DeviceDetailed
Schema: v202308beta1DeviceDetailed | Type: object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties:
|
DeviceNmsConfig
Schema: v202308beta1DeviceNmsConfig | Type: object | ||||||||||
Properties:
|
DeviceNmsSnmpConfig
Schema: v202308beta1DeviceNmsSnmpConfig | Type: object | ||||||||
Properties:
|
DeviceNmsStConfig
Schema: v202308beta1DeviceNmsStConfig | Type: object | ||||||||||
Properties:
|
DeviceSnmpV3Conf
Schema: v202308beta1DeviceSnmpV3Conf | Type: object | ||||||||||||
Properties:
|
GetDeviceResponse
Schema: v202308beta1GetDeviceResponse | Type: object | ||||
Properties:
|
GnmiV1Conf
Schema: v202308beta1GnmiV1Conf | Type: object | ||||
Properties:
|
Interface
Schema: v202308beta1Interface | Type: object | ||||||||||||||||||||
Properties:
|
LabelConcise
Schema: v202308beta1LabelConcise | Type: object | ||||
Properties:
|
ListDevicesResponse
Schema: v202308beta1ListDevicesResponse | Type: object | ||||||
Properties:
|
Plan
Schema: v202308beta1Plan | Type: object | ||||||
Properties:
|
Site
Schema: v202308beta1Site | Type: object | ||||||||||||
Properties:
|
UpdateDeviceLabelsRequest
Schema: v202308beta1UpdateDeviceLabelsRequest | Type: object | ||||||
Properties (* = required)
|
UpdateDeviceLabelsResponse
Schema: v202308beta1UpdateDeviceLabelsResponse | Type: object | ||||
Properties:
|
UpdateDeviceRequest
Schema: v202308beta1UpdateDeviceRequest | Type: object | ||||
Properties:
|
UpdateDeviceResponse
Schema: v202308beta1UpdateDeviceResponse | Type: object | ||||
Properties:
|
UpdateDevicesRequest
Schema: v202308beta1UpdateDevicesRequest | Type: object | ||||
Properties (* = required)
|
UpdateDevicesResponse
Schema: v202308beta1UpdateDevicesResponse | Type: object | ||||||
Properties:
|
© 2014-25 Kentik