> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript

<Update label="0.1.0-beta.36" description="2026-07-08">
  **Direct credit consumption**

  * Added: an endpoint to consume credits directly from a customer's pool, without reporting usage against a metered feature or requiring an active subscription. Complements the existing grant-credits endpoint so credit balances, grants, and consumption can be managed fully decoupled from Stigg subscription management. See [direct credit consumption](/documentation/modeling-your-pricing-in-stigg/credits/credits-core-concepts#direct-credit-consumption).
  * The check-entitlement endpoint continues to return a valid credit balance for customers with no active subscription.
</Update>

<Update label="0.1.0-beta.15" description="2026-06-01">
  **Credit usage breakdown by event dimensions**

  * Added: `groupBy` array parameter on the retrieve credit usage endpoint to break down credit consumption by any dimension key attached to reported usage events (e.g., `user`, `model`, `region`). Results are paginated for performance at high event volumes.
</Update>

<Update label="0.1.0-alpha.31" description="2026-05-10">
  **Credit usage date filters**

  * Added: `startDate` and `endDate` parameters on the retrieve credit usage endpoint. Pass specific start and end timestamps to retrieve credit consumption data for an exact time window, in addition to the existing preset period enums. See [customer credits](/documentation/modeling-your-pricing-in-stigg/credits/customer-credits).
</Update>

<Update label="0.1.0-alpha.5" description="2026-03-19">
  * Added: `billingCycleAnchor` property when provisioning and updating subscriptions. Accepts `SubscriptionBillingCycleAnchor.UNCHANGED` (default) to keep the existing billing cycle anchor, or `SubscriptionBillingCycleAnchor.NOW` to reset it to the current timestamp.
</Update>

<Update label="0.1.0-alpha.4" description="2026-01-29">
  * Updated stainless config for API configuration enhancement
</Update>

<Update label="0.1.0-alpha.3" description="2026-01-28">
  * API updates implementing incremental improvements
</Update>

<Update label="0.1.0-alpha.2" description="2026-01-27">
  * API updates
  * Improved cursor pagination for enhanced data retrieval
</Update>

<Update label="0.1.0-alpha.1" description="2026-01-27">
  **Features:**

  * Added customer endpoints
  * Promotional endpoints support

  **Maintenance:**

  * Code formatting improvements for snippet readability
  * CI/CD workflow updates
  * Documentation corrections
  * Dependency upgrades (Babel, qs, js-yaml)
  * SDK configuration refinements
</Update>
