Get session plan
const url = 'https://example.com/api/v1/provision/consumer/me/session/plan';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/provision/consumer/me/session/plan \ --header 'Authorization: Bearer <token>'The plan context of the license session whose token authenticates the call: the plan applied now
and the plans it may change to. A signed-in user reads a license’s through entitlements/{entitlementId}/plan.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”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.
Responses
Section titled “Responses”OK
The plan context for an entitlement or session: what is applied, and what is available.
object
The plan a temporary override reverts to, while one is in force.
Why the temporary override is in force (self-service-signup-trial, payment-lapsed, …);
null when none is active. What tells a lapsed account apart from one on a trial.
The plan a running temporary override puts in force, such as the plan a trial lets the customer use; null when no override is in force.
When the running temporary override ends; null when none is in force or it has no end.
The plan in force: the override’s plan while one runs, else the assigned plan. What the license grants is EffectiveFeatureValues: a trial’s plan can name only some features and keep the rest from the plan underneath, and an add-on can change a value.
object
What the plan includes: one entry per feature it sets.
One feature’s value for the calling user: a fixed value, or a metered allowance.
object
The feature’s display name from the vendor’s catalog, for rendering; null when the server could not resolve the code, in which case the code is all there is to show.
The meter a metered feature reads, or null for a fixed value.
The feature’s type in the vendor’s catalog: Boolean, Numeric, Text,
Enumeration, Metered or JsonField, as a stable name; null when the code resolves to no catalog
entry. A Metered feature with a single value is a quota the server enforces, not a fixed limit.
What the value is counted in (GB, seats, calls), from the vendor’s catalog; null when it names none.
SingleValue, TieredAbsolute, TieredPercentage, Denied or NotIncluded, as a stable name; the last two carry no value and no bands.
The value of a fixed feature — a flag, a count, a setting. Null for a metered one.
The bands a metered feature is enforced in, in ladder order. Empty for a fixed value.
One band of a metered feature’s ladder: where it starts and ends, and what the plan does there.
object
None, NotifyOnly, AllowWithGrace, AllowWithOverage, RateLimit,
Deny or SuspendUsage, as a stable name.
A plan a consumer can see or switch to, and what it includes.
object
What the plan includes: one entry per feature it sets.
One feature’s value for the calling user: a fixed value, or a metered allowance.
object
The feature’s display name from the vendor’s catalog, for rendering; null when the server could not resolve the code, in which case the code is all there is to show.
The meter a metered feature reads, or null for a fixed value.
The feature’s type in the vendor’s catalog: Boolean, Numeric, Text,
Enumeration, Metered or JsonField, as a stable name; null when the code resolves to no catalog
entry. A Metered feature with a single value is a quota the server enforces, not a fixed limit.
What the value is counted in (GB, seats, calls), from the vendor’s catalog; null when it names none.
SingleValue, TieredAbsolute, TieredPercentage, Denied or NotIncluded, as a stable name; the last two carry no value and no bands.
The value of a fixed feature — a flag, a count, a setting. Null for a metered one.
The bands a metered feature is enforced in, in ladder order. Empty for a fixed value.
One band of a metered feature’s ladder: where it starts and ends, and what the plan does there.
object
None, NotifyOnly, AllowWithGrace, AllowWithOverage, RateLimit,
Deny or SuspendUsage, as a stable name.
What the holder is entitled to under the applied plan, add-on grants merged in and internal features left out — the values a license page renders.
One feature’s value for the calling user: a fixed value, or a metered allowance.
object
The feature’s display name from the vendor’s catalog, for rendering; null when the server could not resolve the code, in which case the code is all there is to show.
The meter a metered feature reads, or null for a fixed value.
The feature’s type in the vendor’s catalog: Boolean, Numeric, Text,
Enumeration, Metered or JsonField, as a stable name; null when the code resolves to no catalog
entry. A Metered feature with a single value is a quota the server enforces, not a fixed limit.
What the value is counted in (GB, seats, calls), from the vendor’s catalog; null when it names none.
SingleValue, TieredAbsolute, TieredPercentage, Denied or NotIncluded, as a stable name; the last two carry no value and no bands.
The value of a fixed feature — a flag, a count, a setting. Null for a metered one.
The bands a metered feature is enforced in, in ladder order. Empty for a fixed value.
One band of a metered feature’s ladder: where it starts and ends, and what the plan does there.
object
None, NotifyOnly, AllowWithGrace, AllowWithOverage, RateLimit,
Deny or SuspendUsage, as a stable name.
Examplegenerated
{ "entitlementId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "assignedPlanName": "example", "overrideRevertPlanName": "example", "overrideReason": "example", "overridePlanName": "example", "overrideEndsAt": "2026-04-15T12:00:00Z", "appliedPlan": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "description": "example", "sortOrder": 1, "featureValues": [ { "featureCode": "example", "featureName": "example", "metricName": "example", "featureType": "example", "units": "example", "enforcementType": "example", "value": "example", "bands": [ { "startUsage": 1, "endUsage": 1, "quotaUsagePolicy": "example" } ] } ] }, "availablePlans": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "description": "example", "sortOrder": 1, "featureValues": [ { "featureCode": "example", "featureName": "example", "metricName": "example", "featureType": "example", "units": "example", "enforcementType": "example", "value": "example", "bands": [ { "startUsage": 1, "endUsage": 1, "quotaUsagePolicy": "example" } ] } ] } ], "effectiveFeatureValues": [ { "featureCode": "example", "featureName": "example", "metricName": "example", "featureType": "example", "units": "example", "enforcementType": "example", "value": "example", "bands": [ { "startUsage": 1, "endUsage": 1, "quotaUsagePolicy": "example" } ] } ]}Headers
Section titled “Headers”The correlation id of the call: the one you sent, or the one the server made.
Unauthorized
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
A reference to the code’s entry on the error-codes page.
A short summary of the problem.
The HTTP status of the answer.
What went wrong in this call, in a sentence.
The path of the call.
The stable numeric error code. The error-codes page lists them.
The stable name of the error code, for example resource.not_found.
The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.
The scope or condition the caller is missing, on a refusal that names one.
The limiter that shed the call, on a 429.
On a validation failure, the messages for each field, keyed by the field’s name.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": 1, "codeName": "example", "traceId": "example", "requires": "example", "scope": "example", "errors": "example"}Headers
Section titled “Headers”The correlation id of the call: the one you sent, or the one the server made.
How to authenticate: the bearer challenge.
Forbidden
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
A reference to the code’s entry on the error-codes page.
A short summary of the problem.
The HTTP status of the answer.
What went wrong in this call, in a sentence.
The path of the call.
The stable numeric error code. The error-codes page lists them.
The stable name of the error code, for example resource.not_found.
The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.
The scope or condition the caller is missing, on a refusal that names one.
The limiter that shed the call, on a 429.
On a validation failure, the messages for each field, keyed by the field’s name.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": 1, "codeName": "example", "traceId": "example", "requires": "example", "scope": "example", "errors": "example"}Headers
Section titled “Headers”The correlation id of the call: the one you sent, or the one the server made.
Not Found
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
A reference to the code’s entry on the error-codes page.
A short summary of the problem.
The HTTP status of the answer.
What went wrong in this call, in a sentence.
The path of the call.
The stable numeric error code. The error-codes page lists them.
The stable name of the error code, for example resource.not_found.
The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.
The scope or condition the caller is missing, on a refusal that names one.
The limiter that shed the call, on a 429.
On a validation failure, the messages for each field, keyed by the field’s name.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": 1, "codeName": "example", "traceId": "example", "requires": "example", "scope": "example", "errors": "example"}Headers
Section titled “Headers”The correlation id of the call: the one you sent, or the one the server made.
Conflict
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
A reference to the code’s entry on the error-codes page.
A short summary of the problem.
The HTTP status of the answer.
What went wrong in this call, in a sentence.
The path of the call.
The stable numeric error code. The error-codes page lists them.
The stable name of the error code, for example resource.not_found.
The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.
The scope or condition the caller is missing, on a refusal that names one.
The limiter that shed the call, on a 429.
On a validation failure, the messages for each field, keyed by the field’s name.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": 1, "codeName": "example", "traceId": "example", "requires": "example", "scope": "example", "errors": "example"}Headers
Section titled “Headers”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).
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
A reference to the code’s entry on the error-codes page.
A short summary of the problem.
The HTTP status of the answer.
What went wrong in this call, in a sentence.
The path of the call.
The stable numeric error code. The error-codes page lists them.
The stable name of the error code, for example resource.not_found.
The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.
The scope or condition the caller is missing, on a refusal that names one.
The limiter that shed the call, on a 429.
On a validation failure, the messages for each field, keyed by the field’s name.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": 1, "codeName": "example", "traceId": "example", "requires": "example", "scope": "example", "errors": "example"}Headers
Section titled “Headers”The correlation id of the call: the one you sent, or the one the server made.
The seconds to wait before the call is sent again.
The calls the limiter allows in its window, when it knows.
The calls left in the window, when the limiter knows.
The seconds until the window resets, when the limiter knows.
Names the limiter that shed the call.