usage

Create full custom plan.

Request body: { "organization_id": "uuid", "platform_fee": 1500.00, "entitlements": {"monitors": -1, "has_knowledge_base": true, ...}, "pricing": { "ai_credits": [ {"tier_start": 0, "tier_end": 10000, "price_per_unit": 0.005}, {"tier_start": 10000, "tier_end": null, "price_per_unit": 0.003} ], ... } }

post/usage/admin/custom-plan/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/usage/admin/custom-plan/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

organization_idstring uuid required
platform_feestring decimal
platform_fee_billing_cycleinteger
contract_end_datestring date nullable
start_datestring date nullable
entitlementsobject
pricingobject
create_stripe_subscriptionboolean

Response

OK

statusboolean required
resultobject required

Changes

No recorded changes to this operation across all 1 revision of this API.