API Reference
Log In
API Reference

User object with Auth and Token IDs.

  • Give you access to a unique userID
  • Useful to mesure rateLimit and user's usage if you want to trigger a paywall / payment flow.
export type UserClient = { usage: () => Promise<{ usage: number; rateLimit?: number; }>; getAuthID: () => Promise<string>; getToken: () => Promise<string>; };