AdminUser account
Full support snapshot of one account by email: plan, balances, usage windows, team seats and per-member spend, recent activity.
Responses
Successful response
userIdstring · requiredemailstring · requiredcreatedAtnumber · requiredisAnonymousboolean · requiredblockedboolean · requireddeveloperModeboolean · requiredWhether the Developer group shows in their View settings (adminUser.setDeveloperMode).
tierrequiredscaleis legacy: no longer sold, kept so existing subscriptions resolve.tierNamestring · requiredsubscriptionSourcerequiredWho owns the plan record.
stripe= Stripe writes it via webhooks and admins must not overwrite it;apple= App Store subscription (iOS IAP, same rule);admin= a comp/trial grant;free= the default free tier;none= no subscription at all.planLimitrequiredThe plan's monthly allowance — what a reset restores to.
subscriptionBalancenumber · requiredmanualBalancenumber · requiredtotalBalancenumber · requiredusageThisCyclenumber · requiredpercentUsednumber · requiredsessionrequiredweeklyrequiredprojectCountnumber · requiredtodoCountnumber · requireddailyobject[] · requiredSpend per day over the last 30 days, oldest first.
recentTransactionsobject[] · requiredMost recent transactions, newest first.
adminAuditobject[] · requiredAdmin actions taken on this account, newest first.
namestringstatusintervalstripeSubscriptionIdstringcurrentPeriodEndnumberbillingCycleStartnumberfirstPaidAtnumberseatsnumberTeam accounts only (the owner's view of their pool).
seatsUsednumberseatsIsOverridebooleanjoinDomainstringmembersobject[]Per-member spend this billing cycle — includes the owner and former members.
teamOwnerEmailsstring[]Set when this user SPENDS from someone else's pool: that owner's email.
AdminUser resetCredit
Restore a user's subscription credit to their plan's monthly allowance (same path as a renewal).
Responses
Successful response
userIdstring · requiredemailstring · requiredtierrequiredscaleis legacy: no longer sold, kept so existing subscriptions resolve.previousBalancenumber · requirednewBalancenumber · required
AdminUser prewarmStart
AdminUser setSubscription
Grant a plan without Stripe (trial / comp). Refused when the user has a live Stripe subscription — change those in Stripe.
Responses
Successful response
userIdstring · requiredemailstring · requiredtierrequiredscaleis legacy: no longer sold, kept so existing subscriptions resolve.subscriptionBalancenumber · required
AdminUser stats
Aggregate user stats (total, registered, anonymous, new in last 7 days). Cached 5 min.
Responses
Successful response
totalUsersnumber · requiredregisteredUsersnumber · requiredanonymousUsersnumber · requirednewUsers7dnumber · requireddailyobject[] · requiredrecentSignupsobject[] · requiredgeneratedAtnumber · required
AdminUser providerLoginStart
AdminUser providerLoginComplete
Finish a provider OAuth flow by pasting the localhost callback URL the browser landed on.
Request Body
redirectUrlstring · minLength: 1 · maxLength: 4000 · requiredThe
http://localhost:<port>/callback?code=…&state=…URL the browser was redirected to. NoFormat<'url'>: typia's url pattern rejects localhost / private IPs, which is exactly what every loopback OAuth callback is. Shape is validated in ProviderLoginService.
Responses
Successful response
statestring · requiredstatusrequired
errorstring
AdminUser opsAlert
Relay an operational alert (e.g. agent-side API keys exhausted) to the dev team email. Throttled per key.
Request Body
keystring · minLength: 1 · maxLength: 100 · requiredThrottle key, e.g.
serper-keys-exhausted; one email per key per hour.subjectstring · minLength: 1 · maxLength: 200 · required
detailstring · maxLength: 4000
Responses
Successful response
successboolean · required
AdminUser agentIssue
Report a malformed model tool call (bad arg types, unparseable JSON, unknown tool) to PostHog Error Tracking.
Request Body
kindstring · minLength: 1 · maxLength: 50 · requiredbad_args|unparseable_args|unknown_toolmessagestring · maxLength: 1000 · requiredtoolstring · maxLength: 200 · requiredmodelstring · maxLength: 200 · requiredrawArgsstring · maxLength: 8000 · requiredThe exact argument string the model produced (redacted, capped).
rawArgsLengthinteger · min: 0Byte length of the original raw args (> rawArgs length = truncated).
todoIdstring · maxLength: 100userIdstring · maxLength: 100envstring · maxLength: 50
Responses
Successful response
successboolean · required