Internal Daily Cron

Internal-only: billing maintenance. Runs, in order:

  1. Token grant expiration (expires_at in the past → zero remaining).
  2. Yearly subscription monthly drips (next_cron_grant <= today).
  3. Storage quota reset to default for lapsed subscriptions (period ended and status is not active / trialing).
  4. Removal of enterprise subscriptions whose period has ended.

All steps share one DB transaction. Called once per day by cron_job_daily; kept as its own route so it can be driven by hand. Idempotent for expirations within a day; yearly drips advance next_cron_grant so the same day does not double-grant.

post/internal/daily_cron

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Response

Successful Response

grants_expiredinteger required
yearly_grants_appliedinteger required
storage_quota_resetsinteger required
enterprise_user_subscriptions_endedinteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.