Layers

Credit History

Detailed log of every credit event on your organization.

View as Markdown

Org → Credit history shows every credit movement on your account.

Event types

Each event has one of these event_type values:

TypeDescription
usageCredit consumption by an activity.
prepaid_purchasePrepaid credit top-up via the wallet.
subscription_creditMonthly subscription credit allocation.
billingBilling event (invoice, charge).
adjustmentManual adjustment.
grantAdmin-granted credits (promotional or goodwill).
refundCredit refund.
reservationCredits reserved at workflow start to prevent race conditions.
reservation_releasedReserved credits released on workflow cancel / failure.

Columns

ColumnDescription
created_atWhen the event happened (UTC).
event_typeSee table above.
sourceThe system that triggered the event.
project_idThe project that consumed credits (blank for purchases and grants).
activity_nameThe activity that consumed credits (e.g. a generation workflow).
creditsSigned credit delta (positive = added, negative = consumed).
prepaid_balance_afterPrepaid balance immediately after the event.
period_usage_afterSubscription-period usage count immediately after the event.
metadataEvent-specific detail.

Filtering

The credit events endpoint and UI support:

  • Date rangedate_from / date_to.
  • Event type — filter to one or more of the types above.
  • Project — focus on events for a single project.

Pagination

Up to 100 events per request via limit / offset on the credit events API (GET /api/organizations/{orgId}/credit-events).

Wallet vs credits

The wallet holds prepaid balance (purchasable via top-up) and recurring reservations for activities with cost. Subscription credits are granted monthly from your plan and stored alongside the prepaid balance. Both types show up in the credit events log.

On this page