Documentation Index
Fetch the complete documentation index at: https://docs.aiybiz.com/llms.txt
Use this file to discover all available pages before exploring further.
Model overview
Aiybiz uses a per-seat subscription model. Companies pay a monthly or annual fee per user seat. Sessions run freely within the plan’s concurrent session limit — no per-hour charges, no wallet top-ups.| Who | What |
|---|---|
| Company | Pays a monthly/annual subscription per seat |
| Plan | Defines maxActiveSessions per seat |
| Session | Free to run — no per-session billing |
Plans
Each plan defines:- Price per seat — monthly or annual
- maxActiveSessions — how many sessions can run simultaneously per seat
Subscription lifecycle
Company subscribes
POST /stripe/subscriptions/create { planId, quantity } → Stripe Subscription createdStripe confirms payment
Stripe fires
invoice.paid → Aiybiz activates the subscription and sets the seat countConcurrent session guard
When a session is requested, the platform checks:Auto-end cron
A cron job runs periodically againstPOST /internal/check-sessions:
- Detects stale sessions (e.g. no heartbeat for too long)
- Force-ends them and notifies the client