Subscription

Get Active Package

Changed on

Get the user's active package ID from their Metronome contract.

get/v1/subscription/active-package

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/subscription/active-package
  • Auth
    HTTPBearer (a scheme the document does not define)

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

package_idstring nullable

Active package ID if available

has_active_contractboolean required

Whether the user has an active contract

access_ends_atstring nullable

ISO 8601 timestamp when access ends, from Metronome contract ending_before (e.g. cancel at period end or trial end). Null if open-ended or not returned.

is_custom_contractboolean

True for a negotiated contract on a Bluejay-managed rate card with no catalog package, so billing can show it as the Custom plan. False for catalog plans and the $0 usage tracker.

Changes