Admin Workflow
What it is
The Admin workflow covers platform configuration, monitoring, and management tasks performed by C_AI Engineers and Admin Viewers. This includes tenant management, corpus configuration, criteria import, and run monitoring.
When to use
Use this workflow when:
- Setting up a new tenant
- Importing or updating assessment criteria
- Managing the regulatory corpus
- Monitoring assessment runs and system health
- Reviewing audit logs for compliance
Do not use when:
- Submitting evidence documents (see Portal User Workflow)
- Running assessments (Portal User function)
- Debugging application code (developer function)
Prerequisites
Before starting, ensure you have:
- Admin credentials with appropriate role (C_AI_ENGINEER or ADMIN_VIEWER)
- Understanding of the tenant you're configuring
- Any configuration files ready (criteria CSV, corpus documents)
Step-by-step
Step 1: Access the admin console
- Navigate to
/admin/login - Select your role:
- C_AI Engineer: Full admin access including Engine Studio
- Admin Viewer: Read-only access to monitoring and audit logs
- Select the tenant you want to manage
- Click Login
You will be redirected to the Admin Observability dashboard.
Step 2: Navigate the admin interface
The admin console has several sections accessible from the left sidebar:
| Section | Purpose |
|---|---|
| Run History | View past assessment runs and their status |
| Metrics | Monitor system performance and throughput |
| Audit Logs | Review all platform actions for compliance |
| AI Performance | Evaluate assessment quality metrics |
| Corpus Manager | Manage regulatory document corpus |
| Engine Studio | Configure retrieval, chunking, and prompts |
| Criteria Manager | Import and manage assessment criteria |
Step 3: Import assessment criteria
To set up requirements for a new pack:
- Navigate to Criteria Manager
- Click Import Criteria
- Select your criteria CSV file
- Review the import preview showing criteria and requirements
- Confirm the import
CSV format requirements:
- Headers: S/No, Criterion, Description, Check items
- Check items can span multiple rows under the same S/No
- Roman numerals (i, ii, iii) are parsed as sub-items
Step 4: Manage the regulatory corpus
To add regulatory documents that provide context for assessments:
- Navigate to Corpus Manager
- Click Create Document or Upload Document
- Provide metadata (title, effective date, version)
- Upload the document file
- Create an Edition to group related versions
- Activate the edition to make it available for assessments
Step 5: Monitor assessment runs
To review run health and results:
- Navigate to Run History
- View the list of recent runs with status indicators
- Click a run to see details:
- Timeline showing processing stages
- Assessment summary (COMPLETE, PARTIAL, MISSING counts)
- Evaluation metrics if available
- For failed runs, review the failure reason
Step 6: Review audit logs
To verify platform activity:
- Navigate to Audit Logs
- Use filters to narrow by:
- Date range
- Action type (RUN_STARTED, DOCUMENT_UPLOADED, etc.)
- User or session
- Click an entry to see full details including metadata
Step 7: Configure engine settings (C_AI Engineer only)
To adjust retrieval and assessment behavior:
- Navigate to Engine Studio
- Select the configuration type:
- Retrieval: Vector search parameters
- Chunking: Document splitting strategy
- Prompt: LLM prompt templates
- Agent: Assessment workflow configuration
- Create a new version or edit an existing draft
- Test changes in the Test Console
- Publish when ready
Step 8: Activate configurations
After publishing engine configurations:
- Navigate to the Releases section in Engine Studio
- Find the release you want to activate
- Click Activate for the target environment (DEV, STAGING, or PROD)
Once a pack has any ACTIVE bindings (corpus, criteria, or engine), it becomes immutable. You cannot modify active configurations—instead, create new versions.
Example
Scenario: Setting up a new project pack with custom criteria.
Input:
- Tenant: "project-alpha"
- Criteria CSV: 20 criteria, 70 requirement items
- Corpus: 3 regulatory documents
Process:
- Login as C_AI Engineer → Select "project-alpha" tenant
- Import criteria CSV → 70 requirements created
- Upload 3 corpus documents → Create edition "v1.0"
- Activate corpus edition → Ready for assessments
- Verify in Run History → No runs yet (as expected)
Result:
- Tenant configured with 70 requirements across 20 criteria
- Regulatory corpus active for assessment context
- Portal Users can now upload evidence and run assessments
Troubleshooting
Cannot access admin console
Symptom: Redirected to login or shown access denied.
Causes and fixes:
- Session expired: Re-authenticate at
/admin/login - Insufficient role: Request C_AI_ENGINEER or ADMIN_VIEWER role
- Wrong tenant selected: Ensure you're in the correct tenant context
Criteria import fails
Symptom: Import shows errors or creates fewer items than expected.
Causes and fixes:
- CSV format incorrect: Verify headers match expected format
- Duplicate S/No values: Ensure unique section numbers
- Empty check items: Every S/No must have at least one check item
Corpus activation fails
Symptom: Cannot activate a corpus edition.
Causes and fixes:
- Pack already has active corpus: Deactivate existing first or create new pack
- Immutability constraint: If pack has active bindings, you cannot change them
- Missing edition: Ensure edition exists before activation
Run history shows no runs
Symptom: Run History is empty even after Portal Users run assessments.
Causes and fixes:
- Wrong tenant context: Switch to the correct tenant
- Runs in different environment: Check DEV vs STAGING vs PROD
- No runs actually started: Verify with Portal Users
Audit logs missing expected entries
Symptom: Cannot find audit entries for known actions.
Causes and fixes:
- Date filter too narrow: Expand the date range
- Action not audited: Not all actions generate audit entries
- Wrong tenant: Audit logs are tenant-scoped
Engine configuration won't publish
Symptom: Publish button fails or shows error.
Causes and fixes:
- Validation errors: Fix all schema validation issues first
- Version conflict: Another version may already be published
- Permission denied: Requires C_AI_ENGINEER role
Trace viewer shows no data
Symptom: Trace details are empty or fail to load.
Causes and fixes:
- Run has no traces: Older runs may lack trace data
- Tracing service down: Check Phoenix/OTEL connectivity
- Run still in progress: Wait for completion
Metrics not updating
Symptom: Dashboard metrics appear stale.
Causes and fixes:
- Auto-refresh disabled: Click refresh manually
- No recent activity: Metrics reflect actual usage
- Data aggregation delay: Wait a few minutes
Gotchas and edge cases
-
Tenant context persists: Your selected tenant remains in your session. Always verify you're in the correct tenant before making changes.
-
Admin Viewer is read-only: This role can monitor but cannot make changes. Engine Studio write operations require C_AI_ENGINEER.
-
Environment separation: DEV, STAGING, and PROD are isolated. Configurations activated in DEV don't affect PROD.
-
Pack immutability after activation: Once any configuration is ACTIVE for a pack+environment, that combination is locked. Create new versions instead of modifying.
-
Criteria versions are managed: Imported criteria go through a lifecycle (DRAFT → EVALUATING → ACTIVE → SUPERSEDED). Only one version can be ACTIVE per pack.
-
Audit logs are immutable: Audit entries cannot be modified or deleted. They provide a complete compliance trail.
Related links
- Portal User Workflow - Evidence submission process
- Roles and Tenancy - Understanding access control
- Runs, Snapshots, and Replay - Assessment lifecycle
- API Reference - Programmatic configuration
- Evidence, Requirements, and Assessments - Data model reference
- Quickstart - Basic getting-started guide