Documentation / Administration

Platform operations

Background tasks, schedules, dashboards and logs.

For platform administrators
The pages described here are available to the Platform admin role, under Admin (the fingerprint icon in the left menu).

Architecture at a glance#

ComponentRole
Web applicationThe user interface, the REST API and the callback endpoint that receives AI results.
Hangfire serverRuns the scheduled system tasks that move documents through the pipeline.
CL-AI serviceQueue-based AI workers (split, map JSON, compare, search, Q&A) that call the configured model providers.
CL-OCR serviceText extraction with the Auto, Paddle and Kreuzberg engines.
OpenSearchFull-text, semantic (vector) and per-document-type indexes. Models and the hybrid search pipeline are provisioned automatically at start-up.
SQL ServerOrganizations, documents, settings, logs and credits.
Alias serviceCreates each organization's capture email alias in Exchange Online.

System tasks#

Platform management → System Tasks lists the background jobs. For each task you can edit it, assign a Schedule, trigger it with Run now, or deactivate it.

TaskWhat it does
Split documentsSends uploaded PDFs to AI to be split into business documents before versioning; also removes originals when KeepOriginalAfterSplit = N.
Detect document versionsFor organizations with versioning on, matches new uploads to existing documents and increases their version numbers.
Convert documents to textSends documents to the OCR service.
Index documentsAdds OCR-completed documents to OpenSearch.
Map JSONMaps extracted content onto the document type's schema and adds it to the type's index.
Auto compare documentsCompares new versions with their previous version and emails the result.
Delete auto compare resultsRemoves comparison result files older than AutoCompareFileLifeTime days.
Capture mailReads the capture mailbox and saves attachments for the organization owning the addressed alias.
Delete handled mailDeletes already captured mail from the capture mailbox.
Send emailsSends queued emails.
Calculate storage costCharges each active organization its daily storage cost.
External service heartbeat checkPings CL-AI, CL-OCR and OpenSearch and emails NotificationEmail on failure.
Clean up deleted tenantsPermanently removes organizations deleted more than DeletedTenantLifeTime days ago, with their data, files and indexes.
Reset All CacheClears the Redis and in-memory caches.

Schedules#

Platform management → Task schedules holds reusable schedules (daily, daily recurring, weekly, monthly or a custom cron expression) that you attach to system tasks. Schedule times use the Hangfire server time zone (ServerTimeZone).

Dashboards#

  • Hangfire Dashboard: live, scheduled, succeeded and failed job runs, with retry and delete actions.
  • RQ Dashboard: the AI service's queues, workers and failed jobs.

Logs#

LogContains
Activity LogsUser and system activity, with an AI summary of technical entries.
Error LogsExceptions, including mail capture problems and service failures.
Email LogsEvery email the platform sent.
AI service logsRequests to and responses from the AI service.
OCR service logsRequests to and responses from the OCR service.
AI job failuresAI jobs that failed, with their error, so you can see what was retried or gave up.

All of them are grouped under Platform logs; organization managers see their own Activity and Email logs under Logs.

System parameters#

System administration → System parameters holds platform-wide settings. The most important ones:

ParameterDefaultMeaning
OCRBatchSize, OSBatchSize, AISplitBatchSize, AutoCompareBatchSize10Documents handled per task run.
AIJobMaxRetryCount3Attempts before a document is marked Permanently failed.
OSSemanticKValue5Nearest neighbours considered by semantic search.
OSSemanticPipelineNamecldoc-rrf-pipelineHybrid search pipeline, created automatically.
OSMaxTokenCount50000Largest content an index accepts.
FreeCreditAmount100Welcome credits for new organizations.
CreditAmountPer1Usd10Credits per US dollar.
LowCreditAmount / LowCreditWarningAmount10 / 5Auto charge threshold / warning threshold.
BaseTimeUnit / BaseSizeUnit / BaseTokenUnit1000 / 1000000 / 100Billing units: milliseconds, bytes, tokens.
InvitationLinkLifeTime24Hours an invitation link stays valid.
DeletedTenantLifeTime30Days before a deleted organization is purged.
AutoCompareFileLifeTime7Days comparison results are kept.
DefaultFilePath…\Tenant_[tenantid]\DocumentsStorage folder template for uploaded files.
ExecuteEmailsYY sends emails, N only records them, T sends them to EmailTestGroup.
NotificationEmail—Receives external service failure alerts.
ShowSelectAIProviderNShows a model picker in the AI assistant.
ShowLanguageResourceKeyNShows translation keys next to UI texts (for translators).
Status id parameters (WaitingForOCRStatusId, IndexedStatusId, …) tie the pipeline steps together. Change them only together with the document status table.

Other administration pages#

PagePurpose
Content TypesAccepted file extensions and their OCR engine.
Transaction TypesCredit rates per operation and priority.
Public AnnouncementsMessages shown on the What's new page (link at the bottom of the left menu) between a start and end date.
Settings → Email Templates, SMTP ServersContent and delivery of system emails.
Settings → Page PartsEditable HTML snippets, such as the setting explanations on Initial Setup.
Settings → Document Statuses, Log Entry Types, Access RolesReference lists used across the platform.
Language Settings → Languages, Language resourcesAvailable languages and every UI text, editable without a release.
Cached EntriesInspect and clear cached data.
Countries, States, Cities, Auto NumbersReference data.
Reference managementMaster document types and industries, and reference parameters copied to new organizations.
An unhandled error has occurred. Reload 🗙