Documentation Index

Fetch the complete documentation index at: https://learn.servitly.com/llms.txt

Use this file to discover all available pages before exploring further.

Get service levels

Prev Next
Get
Deprecated
/inventory/serviceLevels

Returns the list of configured service levels, i.e. the service plans (for instance Basic, Advanced, Premium) that can be subscribed for a thing or a customer.
Each service level declares the features it enables, such as alerting and notifications, and the pricing model applied to things and authorizations. The level value is the integer used to compare and sort them. Service levels are deprecated, so you should relay on Digital Services (plans and add-ons).

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the tenant (e.g. acme).

Responses
200

Successful operation.

Array of object
object
id
string

The service-level object identifier.

name
string

The name of the service level.

level
integer

The integer value used to compare and sort service levels.

alertingFeature
boolean

The flag indicating whether the alerts management is enabled or not.

notificationsFeature
boolean

The flag indicating whether the notifications management is enabled or not.

thingPricing
object

The thing pricing model.

authorizationPricing
object

The authorization pricing model.

features
object

The list of features enabled on this service level.

401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
429

API call rate limit exceeded.

object
message
string

The error response.

ExampleAPI call rate limit exceeded