List Plans
GET/plans/
Request
Query Parameters
Number of results to return per page.
A page number within the paginated result set.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
per_unit
- per_unitflat_fee
- flat_feevolume
- volumetiered
- tieredUSD
- USDEUR
- EURGBP
- GBPweek
- Weekmonth
- Monthyear
- YearArray [
USD
- USDEUR
- EURGBP
- GBP]
]
Total number of results.
Total number of pages.
Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.
Number of results returned per page.
results
object[]
Possible values: <= 255 characters
Plan identifier.
Possible values: <= 50 characters
Plan name.
Plan family.
Possible values: <= 500 characters
Plan description.
Does plan include trial.
Possible values: [per_unit
, flat_fee
, volume
, tiered
]
Possible values: [USD
, EUR
, GBP
]
Possible values: >= -2147483648
and <= 2147483647
Plan billing is done every N units.
Possible values: [week
, month
, year
]
Unit for the plan billing cycle.
allowed_credits_packs
object[]
required
Possible values: <= 100 characters
Possible values: <= 50 characters
Possible values: >= -2147483648
and <= 2147483647
Possible values: [USD
, EUR
, GBP
, ``]
Possible values: <= 4294967295
tiers
object
nullable
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"id": "string",
"name": "string",
"family": "string",
"description": "string",
"is_trial": true,
"charge_model": "per_unit",
"price": 0,
"currency_code": "USD",
"period": 0,
"period_unit": "week",
"allowed_builtin_scan_profiles": [
"string"
],
"allowed_credits_packs": [
{
"id": "string",
"name": "string",
"price": 0,
"currency_code": "USD",
"pack_amount": 0,
"discount": 0,
"savings": 0
}
],
"discount": 0,
"savings": 0,
"tiers": {}
}
]
}
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"id": "enterprise-base-eur",
"name": "Enterprise Plan",
"family": "enterprise",
"description": "",
"is_trial": true,
"charge_model": "flat_fee",
"period": 1,
"period_unit": "year",
"allowed_scan_profiles": [
"lightning",
"safe",
"normal",
"full"
],
"allowed_credits_packs": []
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}