Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

List add ons

GET
/api/v1/provision/admin/usage-plans/add-ons
curl --request GET \
--url 'https://example.com/api/v1/provision/admin/usage-plans/add-ons?pageSize=20&includeTotal=false' \
--header 'Authorization: Bearer <token>'

Lists add-ons with pagination, sorting, and filtering.

  • oidc
    provision.add-on.read
pageSize
integer format: int32
default: 20 >= 1 <= 100

The number of items per page: 20 when omitted, at most 100.

pageToken
string

The nextPageToken of the previous page; omit it for the first page.

includeTotal
boolean

Whether the response carries totalCount, the size of the filtered list.

sortOrder
string

Optional sort expression; ascending when omitted.

filter
string

Optional filter expression applied to the results.

X-Correlation-Id
string

An id of your own for the call. The answer returns it in the same header, and the server log carries it; when you send none, the server makes one.

OK

Media typeapplication/json

One page of a list endpoint: { items, nextPageToken, totalCount }. A list pages with an opaque cursor: pass NextPageToken back unchanged as the next request’s pageToken, with the same filter, sort and page size, until it is null. PageFollower does that for you.

object
items
required

The items on this page. A page may hold fewer items than the page size and still have a next page.

Array<object>

An add-on: a named set of feature adjustments, scoped to a suite, that can be granted to entitlements on top of their plan. Scoped to the suite rather than one of its plan-set revisions — revisions fork, the suite is what persists.

object
id
string format: uuid
suiteId
string format: uuid
code
string
name
string
description
string
status

Lifecycle state of an add-on.

Allowed values: Draft Published Archived
features
Array<object>

A feature definition in a product’s feature catalog: the canonical source for a feature code’s type, allowed values, metering, and visibility. Whether end users are asked to rate a feature is configured separately, per campaign — see RatingCampaign.

object
id
string format: uuid
productId
string format: uuid
featureCode
string
name
string
units
null | string
metricName

Metric name a Metered feature reports usage under.

null | string
featureType

Data type of a feature’s value; determines how Value strings are interpreted and enforced.

Allowed values: Boolean Numeric Text Enumeration Metered JsonField
status
Allowed values: Draft Preview Published Disabled Archived
visibility

Who can see a feature.

Allowed values: Public Internal
meterAggregationType
One of:
null
valueScore

Relative, unitless value weight used by value-delivered analytics. Null means the feature is not valued yet and contributes nothing. Between 0 and 1000, with two decimals kept; a catalog import skips an entry outside that range. Weights are applied when a report is generated, so changing one re-values history — intended behaviour for a relative measure.

null | number format: decimal
enumOptions
Array<object>

One allowed value of an Enumeration-typed feature.

object
value
string
description
null | string
tags

Tag names applied to this entry, from the tenant’s TagScope.FeatureCatalog vocabulary.

Array<string>
isDeleted
boolean
createdAt
string format: date-time
updatedAt
null | string format: date-time
revisionNumber
integer format: int32
referencedBy
One of:
null
featureValues
Array<object>

One feature adjustment an add-on applies, and how it combines with the plan value.

object
featureCode
string
value

Operand for the operation, as a string interpreted per the feature’s data type; unused for Tiered.

null | string
usageTiers

Usage tiers applied when Operation is Tiered.

Array<object>

Represents a tier of usage with associated credits and severity status.

object
startUsage

Gets or sets the start usage for the tier.

null | number format: double
startPercentage

Tier start as a percentage of the feature value (percentage-based enforcement).

null | number format: double
endUsage

Gets or sets the end usage for the tier. Nullable.

null | number format: double
endPercentage

Tier end as a percentage of the feature value (percentage-based enforcement).

null | number format: double
baseCredits

Gets or sets the flat fee credits for the tier.

number format: decimal
creditsPerUnitOfConsumption

Gets or sets the credits per unit of consumption for the tier.

number format: double
name

Gets or sets the name of the usage tier.

string
quotaUsageLevel

Gets or sets the overage severity status for the tier.

Allowed values: None Normal Warning Critical OverUsage
quotaUsagePolicy

What the server does with usage in a quota tier. Only Deny and SuspendUsage refuse a consume; every other policy accepts it and is reported in the usage status, which carries the policy the tier’s level made apply.

Allowed values: None NotifyOnly AllowWithOverage AllowWithGrace RateLimit Deny SuspendUsage
fundingBalanceMetric

Metric name of the credit balance, on the same entitlement, that pays for consumption in this tier. Only meaningful on an OverUsage tier whose policy is AllowWithOverage, the one level where that policy applies as configured: name a balance and every unit past the tier’s start is priced and charged to it on commit, refusing the commit when it cannot be paid for; leave it empty and the overage is allowed and merely reported.

string
planTargets

Plan names this adjustment applies to; empty applies it to every plan.

Array<string>
operation

How an add-on’s feature value combines with the plan-provided value.

Allowed values: Replace Add Multiply Tiered
referencedBy
One of:
null
nextPageToken
required

The token that requests the next page, or null on the last page. Opaque: pass it back unchanged, never build or read one.

null | string
totalCount
required

The size of the whole filtered list, or null unless the request asked for it with includeTotal=true.

null | integer format: int32
Example
{
"items": [
{
"status": "Draft",
"features": [
{
"featureType": "Boolean",
"status": "Draft",
"visibility": "Public",
"meterAggregationType": "CumulativeCounter"
}
],
"featureValues": [
{
"usageTiers": [
{
"quotaUsageLevel": "None",
"quotaUsagePolicy": "None"
}
],
"operation": "Replace"
}
]
}
]
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The request is not valid: a body or a parameter that fails validation, or a page token that is not valid. The errors member names the fields.

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Unauthorized

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

WWW-Authenticate
string

How to authenticate: the bearer challenge.

The caller may not make this call. The code and requires members say why: a missing scope, or a plan that does not include it.

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Too many requests. Wait the seconds in Retry-After, then send the call again (service.too-many-requests).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Retry-After
integer

The seconds to wait before the call is sent again.

X-RateLimit-Limit
integer

The calls the limiter allows in its window, when it knows.

X-RateLimit-Remaining
integer

The calls left in the window, when the limiter knows.

X-RateLimit-Reset
integer

The seconds until the window resets, when the limiter knows.

X-RateLimit-Scope
string

Names the limiter that shed the call.