TanqoryDocs

TanqoryExtAiCredits

  • Object
  • Other operations

The store's AI credits, from the cell's copy of the ledger (no central call).

Fields

FieldTypeDescription
alerts[TanqoryExtAiCreditAlert!]!
balanceFloat!

Credits the store can spend now: included plus purchased (purchased may be below zero after an overrun).

canManageBoolean!

Whether the caller may buy credits and change the spend controls (staff permissions settings.billing_edit and ai.manage; the store owner and admins hold both).

dailyResetsAtDateTime

Trial only: when today's grant is replaced by the next one.

includedCreditsFloat!

The plan's credits for the period; for a trial, the period's maximum of the daily grant.

includedRemainingFloat!
lots[TanqoryExtAiCreditLot!]!
packs[TanqoryExtAiCreditPack!]!
periodStartsAtDateTime
purchasedRemainingFloat!
purchases[TanqoryExtAiCreditPurchase!]!

The latest purchases, newest first (at most 20).

resetsAtDateTime

When the included credits reset (no rollover).

trialBoolean!

True when the store gets the trial's daily grant (20 a day, at most 100 a month) instead of a plan's credits.

Returned by

Used in fields

Built from commit c0b3fb3fdef7 · API version 2026-10