Skip to content

List plans

GET
/api/v1/plans
curl --request GET \
--url https://app.monitorly.cloud/api/v1/plans \
--header 'Authorization: Bearer <token>'

The plans with their limits, features and prices. Any token may read them.

The plan catalogue.

Media typeapplication/json

The plans and the add-on packs.

object
checksPerPack
required

Checks in one add-on pack.

integer format: int32
maxPacks
required

The most packs of each kind one subscription can have.

integer format: int32
plans
required
Array<object>

One plan of the catalogue: what it allows. Prices are not here: they are at the payment provider and, as shown, in the dashboard’s and landing page’s price file.

object
apiTokens
required
integer format: int32
channels
required
integer format: int32
checks
required
integer format: int32
features
required

What the plan allows besides counts.

object
addons
required

Add-on packs (checks, servers) can be bought on top of the plan.

boolean
customDomain
required
boolean
hideBranding
required
boolean
privatePages
required
boolean
forSale
required

Offered for new subscriptions (Free is not bought).

boolean
historyDays
required
integer format: int32
key
required
string
members
required
integer format: int32
minIntervalSecs
required
integer format: int32
name
required
string
privateNodes
required
integer format: int32
projects
required
integer format: int32
statusPages
required
integer format: int32
subscribersPerPage
required
integer format: int32
serversPerPack
required

Servers (private nodes) in one add-on pack.

integer format: int32

Example generated

{
"checksPerPack": 1,
"maxPacks": 1,
"plans": [
{
"apiTokens": 1,
"channels": 1,
"checks": 1,
"features": {
"addons": true,
"customDomain": true,
"hideBranding": true,
"privatePages": true
},
"forSale": true,
"historyDays": 1,
"key": "example",
"members": 1,
"minIntervalSecs": 1,
"name": "example",
"privateNodes": 1,
"projects": 1,
"statusPages": 1,
"subscribersPerPage": 1
}
],
"serversPerPack": 1
}

Bad Request.

  • auth.credentials_conflict: the request carries both a session cookie and a token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unauthorized.

  • auth.unauthenticated, auth.session_expired: no session, or it ended
  • token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Forbidden.

  • auth.forbidden: your role is too low for this
  • token.scope_missing: the token lacks the scope this needs; detail names it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Too Many Requests.

  • token.rate_limited: more than 10 requests a second with this token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}
Retry-After
integer
>= 1

Seconds to wait before trying again.