Skip to content
Proud to collaborate with Microsoft for Startups

subscription.actor-rbac-seat.resize ​

Resize paid RBAC actor seats for Staff actors. Every reduction requires explicit destructive-loss confirmation.

Resize the paid RBAC actor seat quantity on the platform subscription.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-subscription
Version1.1

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID for tenant isolation.
subscription_uuiduuidNo—Optional platform subscription UUID; omitted resolves the active platform subscription.
paid_rbac_actor_seatsintegerNo—Absolute target paid RBAC actor seat quantity.
add_paid_rbac_actor_seatsintegerNo—Delta to add to the current paid RBAC actor seat quantity.
proration_behaviorstringNo—Stripe proration behavior; defaults to always_invoice for seat increases.
confirm_rbac_actor_seat_lossbooleanNo—Must be explicitly true for every seat reduction; reductions may immediately revoke Staff actor RBAC tokens.
return_urlstringNo—Optional browser return URL for Stripe Billing Portal or Checkout handoff.
success_urlstringNo—Optional Stripe Checkout success return URL for seat increases.
cancel_urlstringNo—Optional Stripe Checkout cancel return URL for seat increases.
return_channeljsonNo—Optional notification routing metadata.
agent_session_refstringNo—Optional initiating agent session reference.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID.
subscription_uuiduuidNo—Platform subscription UUID.
subscription_statusstringNo—Current subscription status.
paid_rbac_actor_seatsintegerNo—New paid RBAC actor seat quantity.
paid_rbac_actor_seats_totalintegerNo—New paid agent seat pool total.
paid_rbac_actor_seats_usedintegerNo—Paid Staff actors currently consuming seats.
integration_key_seats_usedintegerNo—Integration keys consuming the same paid agent pool.
shared_paid_agent_seats_usedintegerNo—Total paid agent seats currently consumed.
paid_rbac_actor_seats_availableintegerNo—Remaining paid agent seats after resize.
purchase_requiredbooleanNo—True when no additional paid agent seat is available.
stripe_readybooleanNo—True when Stripe can manage the paid RBAC actor seat item.
current_period_endstringNo—Current billing period end timestamp.
explanationstringNo—Customer-facing explanation of the paid RBAC seat model.
priorjsonNo—Prior paid RBAC actor seat quantity.
stripe_callslistNo—Stripe quantity updates attempted by kind and quantity.
proration_behaviorstringNo—Stripe proration behavior used.
confirmation_requiredbooleanNo—True when a reduction must be confirmed before actor RBAC tokens are revoked.
rbac_actor_seats_to_revokeintegerNo—Staff actors that had to lose paid RBAC access for this resize.
pre_revocation_eventslistNo—Typed rbac_token_revocation audit events emitted before token revocation.
rbac_actor_access_revocationslistNo—Staff actor RBAC token revocations performed by this resize.
binding_suspend_actor_uuidslistNo—Staff actors whose paid seat this run revoked; their end-user bindings are suspended.
binding_suspend_dispatchedlistNo—identity.end-user.actor-binding.suspend runs started, as {staff_actor_uuid, workflow_id}.
binding_suspend_failureslistNo—Suspend dispatches that failed, as {staff_actor_uuid, error}; the reconcile sweep converges.
operationstringNo—subscription_inactive_release when the run released an ended subscription's actors.
release_reasonstringNo—subscription_inactive for the internal release mode.
release_decisionjsonNo—Why the internal release did or did not revoke paid RBAC actors.
deprecated_workflow_warningstringNo—Compatibility warning when the deprecated change alias is used.
stripe_customer_refstringNo—Stripe customer reference used for billing portal handoff.
portal_urlstringNo—Stripe Billing Portal URL for customer billing management.
checkout_workflow_refstringNo—Seat checkout workflow started for an increase.
checkoutjsonNo—Seat checkout workflow state data.
checkout_urlstringNo—Stripe Checkout URL for an increase.
stripe_checkout_session_refstringNo—Stripe Checkout Session for an increase.
return_urlstringNo—Browser return URL used for Stripe handoff.
statusstringNo—Workflow handoff status.
return_channeljsonNo—Optional notification routing metadata.
agent_session_refstringNo—Optional initiating agent session reference.
next_actionjsonNo—UI or agent follow-up instruction.
completed_atstringNo—Completion timestamp.
failed_atstringNo—Failure timestamp.
failure_reasonstringNo—Failure reason.
failure_typestringNo—Failure class or category.
failed_actionstringNo—Action that failed.
failed_at_statestringNo—State where the failure happened.
failed_stepstringNo—DAG step that failed, when applicable.
failed_layerstringNo—Layer that reported the failure.
reasonstringNo—Engine failure reason.
errorstringNo—Unexpected error message.
error_typestringNo—Unexpected error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
resizedNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecuteresized—
resizedcompletecompleted—
pendingfailfailed—
resizedfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "subscription.actor-rbac-seat.resize",
  "initial_data": {
    "organization_uuid": "value"
  }
}