Canonical list of every PlatformXe domain event you can subscribe to, grouped by service.
PlatformXe emits 193 typed domain events in 28 sections, grouped by the service that emits them (a large service, such as fraud detection or tenant custom events, spans several sections). Every event constant lives in src/lib/events/platform-events.ts (PlatformEvents enum) — that file is the source of truth and the one this page mirrors. Names are SCREAMING_SNAKE_CASE and that's exactly the string you pass to event-subscriptions or match against in webhook handlers. Workflow triggers use their own list, Workflow Event Types: a name that is not on that list is refused with 400 VALIDATION_ERROR.
The PlatformXe events that are also workflow event types carry the organizationId of the organisation that owns the resource, and a subscription receives only its own organisation's events. Bus shapes for each event live in @caldera/events — install the package and import the typed payload interface (e.g. RoleCreatedPayload) for compile-time safety in subscriber handlers. Name SCREAMING_SNAKE_CASE events exactly: * and prefix patterns such as FRAUD_* match no event (only exact names, dotted prefix.* and custom-event @* patterns match; see Wildcard patterns).
Most fraud and compliance events are portal-only: never delivered to a subscription and never returned by GET /api/v1/event-log, and a subscription naming one is refused with 400 RESTRICTED_EVENT_TYPE. The deliverable ones, with the only fields they carry, are listed under Fraud and compliance events. The fraud tables below mark them (deliverable).
Authorization (12)
Event
Description
ROLE_CREATED
New permission role created.
ROLE_UPDATED
Role name/description/model edited.
ROLE_DELETED
Role deleted.
ROLE_CAPABILITIES_UPDATED
SIMPLE-model capability list changed for a role.
ROLE_MODULE_PERMISSIONS_UPDATED
FULL-model module/action grants changed for a role.
PERMISSION_OVERRIDE_CREATED
Per-user override added (allow or deny).
PERMISSION_OVERRIDE_DELETED
Per-user override removed.
PERMISSION_OVERRIDE_UPDATED
An existing per-user override replaced (a write onto the same key, e.g. a grant replaced by a deny); carries the previous effect.
RESOURCE_POLICY_CREATED
ABAC resource policy created.
RESOURCE_POLICY_UPDATED
ABAC resource policy edited.
RESOURCE_POLICY_DELETED
ABAC resource policy deleted.
PERMISSION_RELATIONSHIPS_WRITTEN
A batch of relationship (ReBAC) writes and deletes was applied, from the portal or POST /api/v1/permissions/relationships. Carries organizationId, the written and deleted counts and changedBy (the portal user, or the API key's id), never the tuples.
Documents & Storage (6)
Event
Description
DOCUMENT_CREATED
Document record created.
DOCUMENT_UPDATED
Document metadata or content edited.
PLATFORM_DOCUMENT_DELETED
Fixed-storage document deleted (soft delete). PlatformXe's own name. DOCUMENT_DELETED is a business event type you send yourself (see Workflow Event Types).
FOLDER_CREATED
Storage folder created.
FILE_UPLOADED
File uploaded to media or fixed storage, including a presigned upload recorded with POST /api/v1/storage/media/register.
FILE_DELETED
File removed.
FOLDER_CREATED, FILE_UPLOADED, FILE_DELETED, DOCUMENT_CREATED, DOCUMENT_UPDATED and PLATFORM_DOCUMENT_DELETED belong to the organisation of the API key that made the change (for a file deletion, and for a document update or deletion, the organisation recorded on the file or document), so they reach that organisation's subscriptions. A change made with a platform key, or to a record with no organisation, carries no organisation.
Invoicing & Billing (6)
Event
Description
INVOICE_CREATED
New invoice generated.
INVOICE_PAID
Invoice marked paid (the payment settled).
INVOICE_CANCELLED
Invoice voided before settlement.
PLAN_UPGRADED
Subscription tier raised.
PLAN_DOWNGRADED
Subscription tier lowered.
SUBSCRIPTION_CANCELLED
Subscription cancelled outright.
Webhooks & Subscriptions (7)
Event
Description
WEBHOOK_CREATED
Outbound webhook endpoint registered.
WEBHOOK_UPDATED
Webhook config edited.
WEBHOOK_DELETED
Webhook endpoint removed.
WEBHOOK_SECRET_ROTATED
Webhook signing secret rotated.
EVENT_SUBSCRIPTION_CREATED
New event subscription created.
EVENT_SUBSCRIPTION_UPDATED
Subscription config (filters/active flag) edited.
EVENT_SUBSCRIPTION_DELETED
Subscription removed.
WEBHOOK_CREATED, WEBHOOK_UPDATED, WEBHOOK_DELETED and WEBHOOK_SECRET_ROTATED belong to the endpoint's organisation (the organisation of the API key or portal user that created it), so they reach that organisation's subscriptions; an endpoint with no organisation carries none. Before 2026-11-11 these four events, and the three document events, carried the caller service name in organizationId and matched no organisation's subscription.
Workflows (1)
Event
Description
WORKFLOW_TRIGGER_DISABLED
A workflow trigger was switched off after five consecutive failed runs. Carries organizationId (the trigger's; none for a platform trigger), triggerId, triggerCode, consecutiveFailures and reason (the stored disabledReason). Turn the trigger back on with PATCH /api/v1/workflows/{id} and isActive: true, which also clears its failure count.
Tenant Lifecycle (5)
Event
Description
ORGANIZATION_CREATED
New tenant org provisioned.
TENANT_USER_CREATED
First (or new) user added to a tenant org.
TENANT_USER_UPDATED
A portal member saved their own profile (name, phone, job function, job title, marketing consent). Carries organizationId, userId and the changed field names (fields), never the values.
API_KEY_GENERATED
API key issued for an org.
ORGANIZATION_UPDATED
Organisation profile saved in the portal (name, contacts, business details, allowed origins); also sent with fields: ['kybStatus'] after a Caldera business-registration (KYB) check that changes the status. Carries the changed field names, never the values.
Auth & Security (3)
Event
Description
SSO_USER_PROVISIONED
SSO just-in-time provisioned a new user.
SSO_CONFIG_UPDATED
Org SSO settings changed.
TENANT_SIGN_IN_NEW_LOCATION
A portal member signed in from a country, or on a device, not seen for them before (never their first sign-in; decided once per sign-in). Carries organizationId, tenantUserId, signInId, country and the two flags newCountry and newDevice; never an IP address, an email or a city. On a new country the organisation's owners are also emailed, unless they turned security alerts off.
Passwordless Auth (7 — v1.19.0)
Event
Description
AUTH_CODE_REQUESTED
One-time login code requested.
AUTH_CODE_VERIFIED
Code accepted; session issued.
AUTH_CODE_FAILED
Code rejected (wrong/expired).
RECOVERY_CODE_USED
Recovery code consumed during account recovery.
RECOVERY_CODES_REGENERATED
New batch of recovery codes issued.
SESSION_REVOKED_ALL
All sessions for a user invalidated.
TENANT_TRUSTED_DEVICE_REPLAY
A portal trusted-device cookie was presented again after it had been rotated (a stolen copy used first). The sign-in is refused. While that device is still trusted, every session and trusted device of the user is ended (SESSION_REVOKED_ALL follows with reason suspicious_activity); a copy of a device already revoked or expired ends nothing. The organisation's owners are emailed once per device, unless they turned security alerts off. Carries organizationId, userId and deviceId only.
Branding (1)
Event
Description
ORGANIZATION_BRANDING_UPDATED
Tenant brand colors/logos/custom CSS edited.
Permission Federation (7)
The v1.x.x cross-app admin permission federation surface — distinct from the CUSTOM_EVENT_FEDERATION_* family below.
Event
Description
FEDERATION_GROUP_CREATED
Permission federation group created.
FEDERATION_GROUP_DELETED
Permission federation group archived.
FEDERATION_MEMBER_ADDED
Member org added to a permission federation group.
FEDERATION_MEMBER_REMOVED
Member org removed.
FEDERATION_PULL_COMPLETED
A module pull from a peer finished.
FEDERATION_PUSH_COMPLETED
A resolved-permissions push to a peer finished.
FEDERATION_SYNC_COMPLETED
A federation group's pull of every member's modules, or push of permissions to every member, finished: run by the group owner (POST /api/v1/permissions/federation/groups/{id}/pull or /push) or by PlatformXe's federation sync job. Sent to the group owner only.
Tenant service processor (messaging/storage/OCR/PDF/etc.) config updated.
Fraud Detection — Phase 6A (19)
Event
Description
FRAUD_DECISION_RENDERED
Fraud engine returned a decision (any verdict).
FRAUD_DECISION_BLOCKED
Decision was block.
FRAUD_DECISION_STEP_UP
Decision was step_up (require additional verification).
FRAUD_DECISION_REVIEW
Decision was review (queue for manual review).
FRAUD_RULE_CREATED
Tenant rule created (status: draft). (deliverable)
FRAUD_RULE_PROMOTED_TO_SHADOW
Rule promoted to shadow mode (logs decisions, doesn't enforce). (deliverable)
FRAUD_RULE_PUBLISHED
Rule published (enforces decisions). (deliverable)
FRAUD_RULE_UPDATED
A draft or shadow rule was edited: a new revision. Carries version, previousVersion, status and changedFields (the names of the edited fields, never their values). Every edit also writes an admin audit row with the before and after values. (deliverable)
FRAUD_RULE_ARCHIVED
Rule archived. (deliverable)
FRAUD_RULE_TRIGGERED
Rule matched on a decision request.
FRAUD_SCREEN_HIT
Subject matched a screening list entry.
FRAUD_DEVICE_FIRST_SEEN
Device fingerprint observed for the first time.
FRAUD_DEVICE_ANOMALY
Device fingerprint flagged anomalous.
FRAUD_LIST_REFRESHED
Screening list updated (entries added/removed).
FRAUD_PROVIDER_DOWN
A configured screening provider failed and the screen fell back to the next one, which answered (not sent while a provider is simply not configured, nor when every provider fails: that screen fails). (deliverable: provider only)
FRAUD_CASE_OPENED
Manual review case opened.
FRAUD_CASE_ESCALATED
Case escalated to a higher reviewer tier. At least once to the event bus (a lost send is re-sent by the fraud case SLA job with reason: "redelivery", see the fraud cases page). (deliverable: caseId, previousStatus, reason)
FRAUD_CASE_CLOSED
Case closed (approved/rejected).
SUSPICIOUS_ACTIVITY_FLAGGED
Engine flagged a generic suspicious-activity signal.
Fraud Intelligence — case work (20)
Event
Description
FRAUD_CASE_STAGE_CHANGED
A case moved stage (from, to), with who moved it (by, and the tenant user id byUserId; null for a system move) and the desk role they acted as (actingAs: the role the move needs, which they hold; the head of fraud escalates into the MLRO stage, the MLRO makes every move out of it).
FRAUD_PEP_LINK_RECORDED
A case party newly matched a politically exposed person list entry (list name and score).
FRAUD_WATCHLIST_HIT_RECORDED
A case or loan party newly matched an entry on the bank's own watch list (list name and score).
FRAUD_RECOVERY_ACTION_DRAFTED
A recovery action drafted for a node of a case's money trail (kind, target amount).
FRAUD_RECOVERY_ACTION_UPDATED
A recovery action moved status (from, to), with the frozen and returned amounts. On to: withdrawn the organisation withdrew the action, and frozenMinor is the hold to release in your own systems.
FRAUD_COLLAB_REQUEST_SENT
A collaboration request (secure link) sent to a counterparty for a node of a case's trail.
FRAUD_COLLAB_LINK_REISSUED
A collaboration request's secure link reissued; the previous link stops working.
FRAUD_COLLAB_REQUEST_VIEWED
The counterparty opened a collaboration request (the first view only).
FRAUD_COLLAB_REPLY_RECEIVED
The counterparty replied (not yet accepted); carries the number of onward transfers reported.
FRAUD_COLLAB_REPLY_ACCEPTED
An analyst accepted a reply: onward transfers added to the trail (hopsCreated), recovery updated. Onward transfers below the second hop are not added; onwardDropped counts them.
FRAUD_COLLAB_REPLY_REJECTED
An analyst rejected a reply; the trail and recovery are unchanged.
FRAUD_COLLAB_REQUEST_EXPIRED
An unanswered collaboration request's link lapsed with no reply (requestId, kind); a new link can still be sent. Emitted by the fraud case SLA job on its first run after the link lapsed (once per request), not at the lapse itself; the portal shows the request as expired from the moment it lapses.
FRAUD_SAR_DRAFTED
A suspicious transaction report or law-enforcement brief drafted for a case.
FRAUD_SAR_APPROVED
A report draft approved by a compliance officer (MLRO desk role).
FRAUD_SAR_FILED
A suspicious transaction report recorded as filed by a compliance officer (MLRO desk role), with its NFIU reference.
FRAUD_DESK_ROLE_GRANTED
A tenant user was granted a fraud desk role (officer, head_of_fraud or mlro) on the Team page; carries tenantUserId, role, by (the granting user's id) and selfGrant (true only when the organisation's sole active owner or admin granted their own role; anyone else is granted by another owner or admin). Every grant also writes an admin audit row.
FRAUD_DESK_ROLE_REVOKED
A tenant user's fraud desk role was revoked; carries tenantUserId, role, by and reason: null for a revoke on the Team page, member_removed or member_demoted when removing the member or lowering their role below ADMIN took every desk role away (one event per role).
FRAUD_CASE_OUTCOME_RECORDED
A closed case's outcome was recorded: its resolution, how many records it labelled (labelledCount, label), and the recovery figures at that time. It takes effect in scoring at the next analysis run. Portal-only.
FRAUD_CASE_CLEARED
A case was closed as a false positive. Its open recovery actions were withdrawn (draftsWithdrawn); holdsToRelease lists every request and hold withdrawn (kind, account, bank, statusBefore, amount frozen); the same entries are split in frozenHolds (statusBefore frozen: a hold to release in your own systems) and requestsToWithdraw (a request still pending, or a refused court order: nothing is held, withdraw the request at the bank). collabRequestsWithdrawn lists the requests to receiving banks the close withdrew, sent, opened, answered or expired (collabRequestId, kind, accountRef, counterpartyName, statusBefore). Portal-only: shown in the portal, never delivered to a subscription.
FRAUD_CASE_ASSIGNED
A case was assigned to a user (assignedTo: their email, assignedToUserId: their tenant user id) or unassigned (both null) from the cases worklist; by and byUserId name who did it. A user assigns cases only to themselves; assigning a case to its holder, or unassigning an unassigned case, sends nothing.
Amounts in fraud event payloads are integer minor units of the organisation's fraud currency.
Fraud signal pushed to a federation peer. Recorded for PlatformXe operations only: it carries no organisation, so it is neither delivered to a subscription nor shown in any tenant's portal.
Fraud Detection T&Cs and activation — Phase 6H (3)
Event
Description
FRAUD_TERMS_ACCEPTED
Tenant accepted current Fraud Detection terms version. (deliverable)
DETECTION_PACK_ACTIVATED
The Detection Pack addon switched on for the organisation (the Detection Pack activation endpoint); carries the billing outcome.
DETECTION_PACK_SOURCE_LICENSED
A Detection Pack that was on from the organisation's plan is now provided by its installed Enterprise License (nothing is billed for the change). Carries organizationId, priorSource and convertedAt.
Fraud Packs (6)
Event
Description
FRAUD_PACK_ACTIVATED
A sector fraud pack (banking, insurance, utilities or hospitality) or add-on (for example insurance.health, which needs the Insurance pack) was switched on for the organisation; carries organizationId, pack (the pack or add-on id), packVersion and billing (how the activation was billed). The pack's or add-on's rule templates are installed as draft rules at the same time. (deliverable)
FRAUD_PACK_DEACTIVATED
The organisation switched off one of its sector fraud packs or add-ons (an add-on before its pack). The row, its settings, rules and cases are kept, and it can be activated again. Portal-only.
FRAUD_PACK_SETTINGS_UPDATED
An organisation changed the settings of one of its active sector fraud packs or add-ons (for example insurance.health); carries organizationId, pack (the pack or add-on id) and keys (the top-level settings that were sent). Every change also writes an admin audit row. (deliverable)
FRAUD_PACK_BILLING_RETAGGED
A pack or add-on that an Enterprise License provided, whose license has lapsed, was activated again under the organisation's plan, which includes it: it is now billed as included in the plan. Carries organizationId, pack, previousBilling, billing and retaggedAt. Portal-only.
FRAUD_INSPECTION_RECORDED
The outcome of a field inspection of a utilities premise was recorded (for example no issue found, a bypass or tampering); the next analysis run uses it.
FRAUD_ORG_PROFILE_UPDATED
An organisation set the currency of its fraud data or its regulator; carries organizationId, currency, regulator and repair (true when a regulator outside the registry was repaired). A change is allowed only before any fraud data arrives, except repairing a regulator outside the registry (repair: true), which is allowed afterwards; every change also writes an admin audit row. (deliverable)
Enterprise License (12)
Event
Description
LICENSE_MINTED
Caldera staff minted a license (it does nothing until its holder installs it). Carries organizationId (the holder), licenseId, kind, issuedAt, expiresAt, the covered organizationIds and the supersedes license ids. No prices, no names.
LICENSE_INSTALLED
The holder installed an Enterprise License from the portal; the plugins it grants were switched on in every organisation it covers that is not suspended. Carries organizationId (the holder), licenseId, kind, issuedAt, expiresAt, installedAt, the covered organizationIds and the supersedes license ids. No prices, no names.
LICENSE_SUPERSEDED
A license was retired by the license that renews or replaces it. Carries organizationId (its holder), licenseId, supersededBy and supersededAt.
LICENSE_EXPIRING
An installed license is 30 days from its expiry day; emitted once per license by the daily licensing job. Carries organizationId (the holder), licenseId, kind, expiresAt and graceEndsAt.
LICENSE_IN_GRACE
An installed license has expired and its renewal grace period has started (its plugins keep running until graceEndsAt); emitted once per license. Carries organizationId (the holder), licenseId, kind, expiresAt and graceEndsAt.
LICENSE_EXPIRED
An installed license has lapsed (its grace period is over, or a trial ended) and its plugins are paused; emitted once per license. Carries organizationId (the holder), licenseId, kind, expiresAt and graceEndsAt.
LICENSE_REVOKED
Caldera staff revoked a minted or installed license; its plugins are paused at once, with no grace. Carries organizationId (the holder), licenseId, kind and revokedAt.
LICENSE_ENGAGEMENT_CHANGED
Caldera staff switched the "active licensing engagement" flag of a license on or off (renewal reminders stop while it is on). Carries organizationId (the holder), licenseId, active and changedAt; never the note.
LICENSE_CONTRACT_UPDATED
Caldera staff changed a license's contract (its term price or its billing contact). Carries organizationId (the holder), licenseId, changedFields (the names of the fields changed) and updatedAt; never the price or the address.
LICENSING_CONTACT_UPDATED
The organisation set, changed or cleared its licensing contact email on the portal's Billing page. Carries organizationId, contactSet and updatedAt; never the address.
LICENSE_PENDING_ACTIVATED
Caldera staff re-ran the pending activation of a covered organisation that was suspended at install and is active again, and its plugins were switched on. Carries organizationId (the covered organisation), licenseId and activatedAt. Not emitted when the activation runs as part of a reactivation by compliance.
LICENSE_PENDING_ACTIVATION_FAILED
A staff re-run of such a pending activation failed; the activation stays pending. Carries organizationId (the covered organisation), licenseId and failedAt. Not emitted when the activation runs as part of a reactivation by compliance.
Per-step lifecycle of registering / updating / archiving a tenant-defined custom event. Subscribers (federation push, drift detection, audit, billing meter, ops alerts, cache pub/sub) are decoupled — pick the event type that matches your concern.
Ids, codes and counts only: an AI event never carries a prompt, an output, or a tool's input or result.
Event
Description
AI_CALL_COMPLETED
A model call finished: its usage row id, feature, kind, model, status, token counts and cost in credits.
AI_CALL_REFUSED
The model declined to answer: the usage row id, feature and the refusal category.
AI_TOOL_CALLED
A tool call was allowed or denied (and, when allowed, run): the tool, the app that serves it (toolSourceApp; sourceApp is platformxe on every event, the emitter), its kind, the status and any deny reason.
AI_BUDGET_THRESHOLD_REACHED
Spend reached a budget's alert threshold. Once per budget period.
AI_BUDGET_EXCEEDED
Spend reached a budget's cap. Once per budget period.
AI_BUDGET_UPSERTED
A spend budget was created or changed (by Caldera's internal admin API), after the commit: budgetId, organizationId, callerService (or null), period, capCredits, alertAtPercent, hard.
AI_BUDGET_DELETED
A spend budget was deleted, after the commit: budgetId, organizationId, callerService (or null), period.
AI_TOOL_MANIFEST_SYNCED
A Caldera app's tool list was checked and stored, after the commit: appId, revision, toolCount, disabledCount, addedTools and disabledTools (tool names), trigger (CRON or ADMIN), and downgradeAcceptedBy when an admin accepted a downgrade or new tools.
AI_TOOL_MANIFEST_REJECTED
A Caldera app's tool list was refused and the last good one kept: appId, a closed code, trigger, and path when the refusal is about one place of the list (where it broke, never its text).
AI_TOOL_SOURCE_STATUS_CHANGED
Caldera's internal admin API switched a Caldera app's tools on or off, after the commit: appId, status (ACTIVE or DISABLED), previousStatus, changedBy (the admin key id).
Blog submissions (5)
Articles your team members submit to the PlatformXe blog. Ids, statuses and revision numbers only: never the article text or the byline.
Event
Description
BLOG_SUBMISSION_SUBMITTED
A member submitted an article (or a new revision of one) for review: submissionId, organizationId, revision.
BLOG_SUBMISSION_CHANGES_REQUESTED
A Caldera reviewer asked for changes: submissionId, organizationId, revision.
BLOG_SUBMISSION_REJECTED
A Caldera reviewer declined the article: submissionId, organizationId, revision, reason (a closed code).
BLOG_SUBMISSION_APPROVED
A Caldera reviewer approved a revision for publication: submissionId, organizationId, revision, slug, mergeRequest (OPENED, REUSED, MANUAL, FAILED or CONFLICT).
BLOG_POST_PUBLISHED
The approved article is live on the blog: submissionId, organizationId, slug.
The data payload for every event is service-specific — consult @caldera/events typed interfaces (<EventName>Payload) for compile-time shapes. * and underscore prefixes (FRAUD_*, THREAD_*, CUSTOM_EVENT_*) match no event: name each event you want exactly.