Skip to main content

Overview

Authiqa tracks all authentication operations to:
  • Calculate costs
  • Monitor usage patterns
  • Prevent abuse
  • Manage billing

Operation Types

Authentication

  • Sign in attempts
  • Password resets
  • Email verifications

Account Management

  • Child account creation
  • Account updates
  • List retrievals

Cost Structure

Each operation has associated costs:
{
  "reads": 0.1981,  // per million reads 
  "writes": 0.987   // per million writes 
}

Balance Management

  • Parent accounts start with $3.00 balance
  • Operations deduct from available balance
  • Child accounts use parent’s balance
  • Balance updates in real-time

Usage Limits

{
  "rateLimits": {
    "signIn": 5,        
    "passwordReset": 1,  
    "emailResend": 1    
  }
}

Monitoring Usage

Track usage through the dashboard:
  • Operation counts
  • Cost breakdown
  • Balance history
  • Active child accounts

Alerts and Notifications

Automatic notifications for:
  • Low balance (75% used)
  • Critical balance (90% used)
  • Depleted balance
  • Unusual activity

API Response

GET /parent/cost-analysis

{
  "data": {
    "totalOperations": 1000,
    "operationCounts": {
      "signIn": 500,
      "emailConfirmation": 200,
      "passwordReset": 100
    },
    "costs": {
      "total": 0.40,
      "breakdown": {
        "authentication": 0.25,
        "childAccounts": 0.15
      }
    }
  }
}

Best Practices

Cost Management

  • Monitor usage patterns
  • Set up balance alerts
  • Review monthly reports

Operation Tracking

  • Track operation types
  • Monitor failed attempts
  • Review usage spikes