Administration
Administration is for platform staff. If you are an organization owner or admin managing your own workspace, use Settings instead.
Who can access
Admin requires the isPlatformAdmin flag, which is only set for IVY OS staff accounts. Organization owners and admins do not get admin access — their scope is their own organization.
Admin Dashboard
Go to Admin for the platform overview.
| Metric | Meaning |
|---|---|
| Organizations | Total tenants |
| Users | Total accounts |
| Agents | Total agents across all tenants |
| Executions (24h) | Agent runs in the last day |
| System health | Status of API, web, and workers |
| Error rate | Failed requests as a share of total |
System health
Shows each process's status, uptime, memory, and CPU. If a process shows as offline, restart it:
pm2 list # check status
pm2 restart agentic-api # restart the API
pm2 logs agentic-api --lines 50 # read the error
Users
Go to Admin → Users.
Finding a user
Search by email or name. The list shows each user's organization, role, last sign-in, and status.
Resetting a password
- Find the user.
- Click Reset password.
- Either set it directly or send a reset link.
Resetting someone's password is a support action. Confirm their identity first.
Disabling an account
Set the status to disabled rather than deleting. This preserves their audit history and lets you re-enable if they return.
Impersonating
Platform staff can sign in as a user to reproduce an issue.
- Find the user, click Impersonate.
- A banner shows you are impersonating.
- Everything you do is recorded as that user. Use read-only exploration
unless the user has asked you to change something.
Organizations
Go to Admin → Organizations.
| Column | Meaning |
|---|---|
| Name | Organization name |
| Plan | Current subscription tier |
| Users | Member count |
| Agents | Agent count |
| Storage | Bytes used |
| Status | Active, trial, suspended, cancelled |
| Created | Sign-up date |
Assigning a plan
- Find the organization.
- Click Assign plan.
- Choose the plan and set the effective date.
- Save.
The change is recorded as a billing event. Entitlements update immediately.
Suspending an organization
Sets the organization to read-only. Users can sign in and read, but not create or modify. Use for non-payment or abuse situations.
Deleting an organization
Irreversible. Deletes the organization, its users, and all tenant data.
Before deleting:
- Confirm the organization has exported its data.
- Check for legal retention requirements — UAE rules generally require 7 years
of records.
- Verify with a second staff member.
Plans and Entitlements
Go to Admin → Plans to manage subscription tiers.
Creating a plan
- Click New plan.
- Set the name, price, billing period, and trial length.
- Add entitlements: for each feature, the limit or boolean.
- Save.
Entitlement types
| Type | Example |
|---|---|
| Boolean | E-invoicing enabled: yes |
| Count | Maximum agents: 10 |
| Rate limit | API calls per month: 50,000 |
The superadmin plan
The superadmin plan has null entitlements, which the system reads as unlimited. It is assigned only to platform staff and cannot be purchased.
System Health and Logs
Health check
curl -s https://ivyos.ivydigitals.com/api/v1/admin/health
Returns per-process status.
Reading logs
pm2 logs agentic-api --lines 100 # API logs
pm2 logs agentic-web --lines 100 # web logs
pm2 logs agentic-worker --lines 100 # worker logs
docker logs agentic-pgvector --tail 50 # database
Logs are structured JSON on stdout. Filter with grep:
pm2 logs agentic-api --lines 1000 --nostream | grep '"level":50'
Level 50 is error.
Database inspection
docker exec -it agentic-pgvector psql -U agentic -d agentic
\dt -- list tables
\d+ agents -- describe a table
SELECT COUNT(*) FROM agent_memories; -- row count
SELECT * FROM audit_logs ORDER BY created_at DESC LIMIT 20;
Read-only queries are safe. Do not run UPDATE or DELETE on production without an approved change request and a fresh backup.
Audit Log
Go to Admin → Audit Log to see every mutation across all organizations.
| Field | Meaning |
|---|---|
| When | Timestamp |
| Who | User or agent |
| Organization | Which tenant |
| Action | What was done |
| Resource | What it was done to |
| Details | Before and after values |
Use it to answer "who changed this client's TRN" or "when was this agent disabled".
Audit logging is best-effort, not enforced. Some code paths write to the audit log and some do not. Treat it as a strong signal, not a complete record.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Admin panel is 403 | Your account is not isPlatformAdmin |
Contact platform staff |
| User cannot sign in | Account disabled | Re-enable in Admin → Users |
| Organization shows the wrong plan | Plan change not applied | Re-assign the plan |
| Entitlements not updating | Cache | Hard-refresh; restart the API if it persists |
| Health check fails | A process is down | pm2 list, then restart the failed process |
| Health endpoint returns 404 | Wrong path | Use /api/v1/admin/health with admin auth |
| Database is locked | Long-running query | Check pg_stat_activity |