PlatformXeDocs
Get API Key

SDK & Types Alignment

Coverage certification — every PlatformXe API endpoint is reachable from every official SDK and documented in this site.

SDK & Types Alignment Certification

Every public /api/v1/* endpoint shipped by PlatformXe is reachable from every official SDK (TypeScript, Python, Go) with strongly-typed request/response shapes and is documented in this site. This page is the canonical certification of that coverage and is updated on every release that adds an API domain.

The Terraform provider covers the subset of the surface that's infrastructure-shaped — declarative state of permissions, webhooks, workflows, processors, threads, fraud rules, screening lists. Runtime-only endpoints (audit log dispatch, federated search query, unauthenticated registration, key whoami) deliberately have no Terraform resource because they describe transient calls, not infrastructure state.

Coverage matrix

API domainTypesTypeScript SDKPython SDKGo SDKTerraform
ai (new — 2026-10-08; released 2026-10-11)✅ 3.7.0✅ 1.8.0 client.ai✅ 1.7.0 client.ai✅ v1.7.0 client.Ain/a (runtime-only)
ai.messages, ai.tools + toolsets (new — AI gateway, 2026-11-22: POST /api/v1/ai/messages, GET /api/v1/ai/tools, toolsets / toolRuns on POST /api/v1/ai/complete)⏳ 3.18.0 (ProductAiMessagesRequest / Result, ProductAiNative*, AiToolRunSummary, AiToolList, AiProfileGovernance, five new ProductAiErrorCode values, AI_BUDGET_EXCEEDED on VisionErrorCode)⏳ 1.20.0 client.ai.messages, client.aiTools.list⏳ 1.16.0 client.ai.messages, client.ai_tools.list (sync and async)⏳ v1.16.0 client.Ai.Messages, client.AiTools.Listn/a (runtime-only)
ai.messages actor, spoke tools on ai.tools (AI gateway P5, 2026-11-23: actor on POST /api/v1/ai/messages; sourceApp / requiredPermission on GET /api/v1/ai/tools)⏳ 3.19.0 (AiToolActorInput, ProductAiMessagesRequest.actor, the AiToolListItem fields, AiToolManifest, AiToolInvocation, AiToolInvocationContext, AiToolSpokeErrorCode)⏳ 1.21.0 typed actor on client.ai.messages⏳ 1.17.0 ai.messages(..., actor=)⏳ v1.17.0 AiMessagesInput.Actorn/a (spoke tool sources are first-party only: created by migration, switched by Caldera's internal admin)
mcp (new — AI gateway P4, 2026-11-23: POST /api/v1/mcp, https://mcp.platformxe.com/mcp)n/a (protocol endpoint: MCP clients speak JSON-RPC to it directly)n/a (protocol endpoint)n/a (protocol endpoint)n/a (protocol endpoint)n/a (runtime-only)
ai.knowledge + tool calling (new — 2026-10-08, xadmin#29; released 2026-10-11)✅ 3.7.0✅ 1.8.0 client.knowledge✅ 1.7.0 client.knowledge✅ v1.7.0 client.Knowledgen/a (runtime-only)
billing (new — W3, 2026-11-20: GET /api/v1/billing/invoices, GET /api/v1/billing/invoices/{id})✅ 3.16.0 (released 2026-11-21; BillingInvoice, BillingInvoiceLineItem, BillingInvoiceDetail, ListBillingInvoicesParams / Response, BillingInvoicesErrorCode; the old Invoice* types deprecated)✅ 1.18.0 client.billing (listInvoices, getInvoice; released 2026-11-21)⏳ 1.14.0 client.billing (list_invoices, get_invoice; sync and async)⏳ v1.14.0 client.Billing (ListInvoices, GetInvoice)n/a (read-only billing)
audit✅✅ client.audit✅ client.audit✅ client.Auditn/a (runtime-only)
domains✅✅ client.domains✅ client.domains✅ client.Domains✅ platformxe_domains_sending
event-log✅; ⏳ 3.15.0 (fraud and compliance events left out, the deliverable ones projected; JSDoc)✅ client.events.log; ⏳ 1.17.0 (answers { items, total, page, limit }; sends eventTypes)✅ client.events.log; ⏳ 1.13.0 (sends eventTypes, it sent eventType; from_ / to)✅ client.Events.Logn/a (read-only)
event-subscriptions✅; ⏳ 3.15.0 (restrictedEventTypes, EventSubscriptionErrorCode with RESTRICTED_EVENT_TYPE, the PATCH checks)✅ client.events; ⏳ 1.17.0 (list { items, total }, create { subscription, secret }, replay { replayed })✅ client.events; ⏳ 1.13.0 (replay sends fromTimestamp / toTimestamp, every replay was a 400; event_types; create name)✅ client.Events; ⏳ v1.13.0 (replay fix, ReplayTypes, RestrictedEventTypes, ErrCodeRestrictedEventType)✅ platformxe_events_subscription
events ingestion✅ (IngestEventRequest / IngestEventResponse match the route)⚠️ client.events.ingest; ⏳ 1.16.2 (posts to /api/v1/events; it posted to an /ingest sub-path the API does not have: every call was a 404. payload deprecated, sent as entityData; the answer is IngestEventResponse)⚠️ client.events.ingest; ⏳ 1.13.0 (sends entityData; it sent payload, which the route drops; payload deprecated); ⏳ 1.14.1 (docs)⚠️ client.Events.Ingest; ⏳ v1.13.0 (a payload key is sent as entityData; EmitEventResult.EntityType / EntityID); ⏳ v1.14.1 (docs)n/a (runtime-only)
events.custom (new in 9A)⚠️ 2.4.0 — update, emit dry-run, pagination, health and the 2026-11-17 codes pending⚠️ 1.2.0 client.events.custom — update / publish, dryRunEmit and list pagination (2026-11-17) pending✅ client.events.custom (update, publish, dry_run_emit, paged list)✅ client.Events.Custom (Update, Publish, DryRunEmit, ListPage)✅ platformxe_custom_event (in-place status / description update, import)
events.custom.marketplace (new in 9C; gap fixes 2026-11-17)⏳ owed (mine, payloadExample, publisherName, nullable publisherOrganizationId / publishedBy)⏳ owed (same)✅ client.events.custom.marketplace (sync; async n/a)✅ client.Events.Custom.Marketplace✅ platformxe_marketplace_listing
events.custom.federation (9D + Pattern 3 in 1.5.0, ENTERPRISE; gap fixes 2026-11-17)⏳ owed (federatedTypeName, relay log, uppercase codes)⏳ owed (removeMember, pauseMember, resumeMember, listRelays, pauseExternalPeer, resumeExternalPeer, includeRemoved)✅ client.events.custom.federation (sync, incl. remove_member, pause_member, resume_member, list_relays, pause_external_peer, resume_external_peer; async n/a)✅ client.Events.Custom.Federation (incl. RemoveMember, PauseMember, ResumeMember, ListRelays, PauseExternalPeer, ResumeExternalPeer)✅ platformxe_event_federation_group, platformxe_event_federation_push, platformxe_event_federation_external_peer (member pause / remove and the relay log are runtime-only: n/a)
exports✅; ⏳ 3.18.0 (JSDoc: an invoices export needs billing:read)✅ client.exports; ⏳ 1.19.0 (docs)✅ client.exports; ⏳ 1.15.0 (docs)✅ client.Exports; ⏳ v1.15.0 (docs)✅ platformxe_exports_processor
fraud✅ 3.14.0 (DEMO_SEED, the case transition's 409 CASE_AT_MLRO_STAGE); ⏳ 3.15.0 (expectedVersion on the rule PATCH and transition, shadow report version / currentVersion, FraudRuleErrorCode with VERSION_MISMATCH / FEED_MISSING / FEED_NOT_REALTIME, the case resolve's settlement JSDoc)✅ client.fraud (released in 1.16.0); ⏳ 1.17.0 (shadowReport sends from / to / version; expectedVersion)✅ client.fraud (released in 1.12.0); ⏳ 1.13.0 (expected_version on rules.update / transition, shadow_report(version=))✅ client.Fraud (released in v1.12.0); ⏳ v1.13.0 (TransitionAtVersion, UpdateAtVersion, ShadowReportForVersion, FraudRuleVersion, ErrCodeVersionMismatch / ErrCodeFeedMissing / ErrCodeFeedNotRealtime)✅ platformxe_fraud_rule, platformxe_fraud_screening_list (released in 1.5.2); ⏳ 1.5.3 (Read from the primary; 404 removes the resource; no schema change) (n/a for activate: an addon switch, not declarable state); ⏳ types 3.18.0 / TS 1.19.0 / Python 1.15.0 / Go v1.15.0 (activate: billing LICENSED, 403 LICENSE_REQUIRED; Enterprise License)
identity✅ 3.13.0 (VerifyBusinessRequest / VerifyBusinessResponse; released); ⏳ 3.14.0 (resolve purpose, outcome on resolve and lookup, lookup notFound / raw: { provider }, DLQ replay 409 / 500; pending)✅ 1.15.0 client.identity (verifyBusiness; 1.14.0 the verifications, providersHealth, identity.dlq; released); ⏳ 1.16.0 (resolve purpose, lookup / DLQ docs; pending)✅ 1.11.0 client.identity (released); ⏳ 1.12.0 (resolve purpose, verify_business, lookup and DLQ replay docs; pending)✅ v1.11.0 client.Identity (released); ⏳ v1.12.0 (ResolveRequest, VerifyBusiness, IdentityLookupResult the real lookup answer, ErrCodeReplayInProgress; pending)✅ platformxe_identity_processor + data.platformxe_identity_providers (n/a for verify: runtime call)
issues✅; ⏳ 3.18.0 (IssuesErrorCode CONTACT_LICENSING: a plan-change request for PRO or ENTERPRISE)✅ client.issues; ⏳ 1.19.0 (docs)✅ client.issues; ⏳ 1.15.0 (docs)✅ client.Issues; ⏳ v1.15.0 (ErrCodeContactLicensing)n/a (runtime-only)
license (new — Enterprise License, 2026-11-22: GET /api/v1/license)⏳ 3.18.0 (LicenseView, LicenseCoverage, LicenseEffectiveEdition, LicenseEditionSource, LicenseBypass, LicenseState, LicenseReadErrorCode)⏳ 1.19.0 client.license (get)⏳ 1.15.0 client.license (get; sync and async)⏳ v1.15.0 client.License (Get)n/a (runtime-only read)
messaging✅✅ client.messaging (whatsappHealth, buildWhatsAppLink: 1.14.0, released)✅ client.messaging (async whatsapp_health, build_whatsapp_link: 1.11.0, released; send_email from_: 1.12.0, pending)✅ client.Messaging✅ platformxe_messaging_processor
ocr✅✅ client.ocr✅ client.ocr✅ client.Ocr✅ platformxe_ocr_processor
pdf✅✅ client.pdf✅ client.pdf✅ client.Pdf✅ platformxe_pdf_processor
pdf.rasterize (new — 2026-09-21)✅ 3.3.0 (route consumes RasterizePdfRequest/RasterizePdfResponse directly from @caldera/platformxe-types@3.3.0; local mirror deleted 2026-09-21 — verified directly against route.ts on this branch)✅ client.pdf.rasterize (released in 1.7.0, 2026-09-21 — calderasuite/caldera-platformxe-sdk!7)✅ client.pdf.rasterize✅ client.Pdf.Rasterizen/a (transient call)
pdf.generate (new — W3, 2026-11-20: POST /api/v1/pdf/generate)✅ 3.16.0 (released 2026-11-21; GeneratePdfRequest, GeneratePdfOptions, GeneratePdfStoredResponse / GeneratePdfBase64Response, PdfGenerateErrorCode)✅ 1.18.0 client.pdf.generate (released 2026-11-21; { idempotencyKey }, 65 s timeout)⏳ 1.14.0 client.pdf.generate (sync and async)⏳ v1.14.0 client.Pdf.Generaten/a (transient call)
permissions✅ 3.8.0 (deniedCapabilities, CreateOverrideRequest.replace, override updatedAt; published 2026-11-01)✅ 1.14.0 (checkBatch answers the route's array, .results kept; released)✅ 1.11.0 client.permissions (check_batch annotated as a list; released)✅ v1.11.0 client.Permissions (CheckBatch decodes the array; released)✅ ×5 resources + 1 datasource (override: one per key, documented)
qr✅ (in pdf.ts)✅ client.qr✅ client.qr✅ client.Qr✅ platformxe_qr_processor
qr.batch (new — W3, 2026-11-20: POST /api/v1/qr/batch; the SDK methods existed but the route did not)✅ 3.16.0 (released 2026-11-21; QrBatchRequest, QrBatchItemResult, QrBatchZip, QrBatchResponse, QrBatchErrorCode)✅ 1.18.0 client.qr.generateBatch (released 2026-11-21; takes QrBatchRequest; BatchQRInput / BatchQRResult kept as deprecated aliases)⏳ 1.14.0 client.qr.generate_batch (format, zip, url_ttl_seconds, idempotency_key)⏳ v1.14.0 client.Qr.GenerateBatch / GenerateBatchItems (Items, TotalFailed, Zip; Results / Errors deprecated)n/a (transient call)
register✅✅ standalone register()✅ module-level register()✅ package-level Register()n/a (one-time bootstrap)
search✅; ⏳ 3.15.0 (SearchErrorCode RESERVED_SEARCH_APP; the stale "dropped fields" note removed)✅ client.search✅ client.search; ⏳ 1.13.0 (docs)✅ client.Search; ⏳ v1.13.0 (ErrCodeReservedSearchApp)n/a (runtime-only)
storage✅ ×2 (media + fixed); ⏳ 3.14.0 (fixed-storage category and settings types; pending)✅ client.storage + client.documents; ⏳ 1.16.0 (documents.categories / settings; pending); ⏳ 1.16.2 (storage.reorder sends PATCH /api/v1/storage/media/files/reorder with { fileIds }; it posted to a path that does not exist)⚠️ ditto; ⏳ 1.12.0 (documents.categories / documents.settings; pending); ⏳ 1.13.0 (reorder_files sends PATCH); open: upload_file / batch_upload send multipart, which the routes refuse (400)⚠️ ditto; ⏳ v1.13.0 (ReorderFiles sends PATCH); open: UploadResult / BatchUploadResult read fields the routes do not send; ⏳ v1.12.0 (Documents.ListCategories / CreateCategory / UpdateCategory / DeactivateCategory / GetSettings / UpdateSettings; pending)✅ platformxe_storage_processor; ⏳ 1.6.0 (category and settings resources: owner list, not this train)
media / streaming (ingest, probe, video submit, assets; documented 2026-11-20)✅ (media ingest / probe and video streaming request and response types)⏳ owed (no method)⏳ owed (no method)⏳ owed (no method)n/a (runtime-only)
telemetry✅utility on clientutility on clientutility on clientn/a (SDK self-instrumentation)
templates✅✅ client.templates✅ client.templates✅ client.Templates✅ platformxe_templates_template
threads✅✅ client.threads✅ client.threads✅ client.Threads✅ platformxe_threads_channel + 1 datasource
usage✅✅ client.usage✅ client.usage✅ client.Usagen/a (read-only billing)
webhooks (v2 recipient endpoints, dispatch, deliveries, redeliver — 2026-10-20)✅ 3.8.0✅ client.webhooks (released in 1.12.0; 1.9.0 was never tagged)✅ client.webhooks (released in 1.10.0)✅ client.Webhooks (released in v1.7.1)✅ platformxe_webhooks_endpoint (v1 endpoints, unchanged); n/a (recipient endpoints are runtime, not infrastructure)
vision (new — 2026-10-08; released 2026-10-11)✅ 3.7.0✅ 1.8.0 client.vision✅ 1.7.0 client.vision✅ v1.7.0 client.Visionn/a (runtime-only)
whoami✅✅ client.whoami✅ client.whoami✅ client.Whoamin/a (runtime-only)
workflows✅ (WorkflowDryRunRequest / DryRunResult match the route)⚠️ client.workflows; ⏳ 1.16.2 (dryRun posts { entityData } to /api/v1/workflows/{id} and returns the dryRun object; it posted to a /dry-run path that does not exist); open: create lacks code (every typed call is a 400) and list / get / update / delete / evaluate are typed as shapes the routes do not answer (1.17.0)✅ client.workflows; ⏳ 1.13.0 (dry_run path fix, entity_data=); ⏳ 1.14.1 (docs: entity_data is your own parameters)⚠️ client.Workflows; ⏳ v1.13.0 (DryRun path fix, DryRunEntityData); ⏳ v1.14.1 (docs: EntityData is your own parameters); open: Create / Get decode { trigger } as a trigger✅ platformxe_workflows_trigger; ⏳ 1.5.4 (docs: event_type links Workflow Event Types)

Bold rows = added in the most recent alignment sweep.

Released versions

PackageLatest versionSource of truth
@caldera/platformxe-types3.16.2 (tag v3.16.2, 2026-11-22; 3.16.0 on 2026-11-21 carried the W3 train; 3.15.0 is not tagged)caldera-platformxe-types
@caldera/platformxe-sdk (TypeScript)1.18.2 (tag v1.18.2, 2026-11-22; 1.18.0 on 2026-11-21 carried the W3 train; 1.17.0 is not tagged)caldera-platformxe-sdk
platformxe (Python)1.12.0 (tag sdk-python/v1.12.0, mirrored to github.com/calderaxe/platformxe-python; not published on PyPI — install from the GitHub tag until it is)caldera-platformxe/packages/sdk-python
Go SDK (GitHub-hosted module)v1.12.0 (tag sdk-go/v1.12.0)caldera-platformxe/packages/sdk-go
Terraform provider calderaxe/platformxe1.5.2 (via tag terraform-provider/v1.5.2)caldera-platformxe/packages/terraform-provider
@caldera/events (bus catalog)1.63.0caldera-events

Pending in the current train (2026-11-19, not tagged): types 3.15.0, TypeScript SDK 1.17.0, Python 1.13.0, Go v1.13.0, Terraform 1.5.3. Correction (2026-11-23, read from the tags): the W3 train's types 3.16.0 and TypeScript SDK 1.18.0 were tagged on 2026-11-21, ahead of this train, and 3.16.2 / 1.18.2 (documentation only) on 2026-11-22; 3.15.0 and 1.17.0 are still not tagged. Python 1.14.0 and Go v1.14.0 are still pending. After the W3 train, Python 1.14.1, Go v1.14.1 and Terraform 1.5.4 carry the workflow event types train (types and TypeScript SDK unchanged). See the 2026-11-19 train below. TypeScript SDK 1.16.2 (pending, not tagged) carries the three route fixes of Fidelity W2 (workflows.dryRun, storage.reorder, events.ingest). The W3 train (PDF generate, QR batch, billing invoices) publishes after the 2026-11-19 train as types 3.16.0 and TypeScript SDK 1.18.0, and moves Python to 1.14.0 and Go to v1.14.0; see the W3 train below. The 2026-11-18 train (types 3.14.0, TypeScript SDK 1.16.0, Python 1.12.0, Go v1.12.0, Terraform 1.5.2) was released on 2026-11-18.

This column is what is actually released — the registry version for the npm packages, the cut tag for the tag-mirrored ones. The per-package READMEs state the version each artefact is moving to in the current train and mark it (pending release) until its tag is cut; a row marked pending here is the same fact seen from the other side.

The TypeScript types package is the canonical schema source. Each SDK consumes it for its request / response shapes.

What "alignment" means

A domain is considered aligned only when all four of the following are present:

  1. Types — request/response interfaces in @caldera/platformxe-types
  2. Runtime SDK coverage — TypeScript, Python, Go all expose a typed method per endpoint
  3. Reference docs — an SDK reference page on this site (/sdk/<domain>) and either a service overview or a platform/auth/authorization page
  4. Terraform — only when the domain is infrastructure-shaped. Runtime-only endpoints are explicitly marked n/a rather than promised-and-missing

Domains marked n/a for Terraform are intentional — audit.log, issues.create, search.query, register, whoami, usage.summary, and the ai / vision calls describe transient calls, not declarable state. (AI profiles are configured by Caldera through the internal admin surface, not by tenants, so they have no Terraform resource either.)

Maintaining alignment — NO DRIFT POLICY

Any change to PlatformXe's public /api/v1/* surface MUST be accompanied — in the same merge train — by corresponding updates to all three downstream artefacts:

  1. @caldera/platformxe-types — the schema source of truth
  2. All runtime SDKs that the change applies to (TypeScript, Python, Go; Terraform if infrastructure-shaped)
  3. This documentation site — both the SDK reference (/sdk/<domain>) and the relevant service / platform / auth page

A merge request touching src/app/api/v1/** without these accompanying updates should be rejected at review. Code reviewers and CI guards both enforce this — see caldera-platformxe/CLAUDE.md § SDK & Types Alignment Certification for the contributor-facing version of this rule.

Concrete checklist when adding a new endpoint

  1. Add the request/response interfaces to @caldera/platformxe-types. Cut a new minor release.
  2. Bump consumers (@caldera/platformxe-sdk, the Python and Go SDKs in the monorepo) to the new types version.
  3. Add the SDK method in all three runtime SDKs, mirroring the existing namespace structure.
  4. If the endpoint manages declarable state, add a Terraform resource. Otherwise mark it n/a in the matrix above.
  5. Add an SDK reference page at /sdk/<domain> and either a service overview at /services/<domain>/overview or extend the relevant platform / auth / authorization page.
  6. Update the coverage matrix on this page.

The CI guards on each SDK repo enforce typecheck-plus-test before publish; the GitLab mirror:tag job in this monorepo handles version-tag mirroring to GitHub for the Python, Go, and Terraform SDKs. The platform's prerelease checks include a coverage diff that flags any new route handler not paired with a types-pkg + SDK + docs update.

Why this rule exists

In May 2026, a 9-domain drift between the live API and the type / SDK / docs surface was discovered and remediated as a multi-session sweep — fraud detection (19 endpoints across 6 sub-namespaces), audit, issues, search, register, whoami, usage, event-log, and event-subscriptions extensions. The remediation was substantial. This page exists so that drift never accumulates again: every change ships aligned, or it doesn't ship.

Last certified

The most recent end-to-end alignment sweep — covering all 24 domains across all four artefacts (26 with ai and vision, added 2026-10-08) — confirmed full coverage. See caldera-platformxe/CLAUDE.md (§ "SDK & Types Alignment Certification") for the contributor-facing copy of this matrix and the maintenance contract.

Email send: from, Reply-To lists, recipients and templates (pending, 2026-11-11)

SurfaceChangeStatus
APIPOST /api/v1/messaging/email/send: from at most 320; replyTo a string or a list of 1 to 5; to / cc / bcc entries one address each (400 VALIDATION_ERROR); templateId only for the key's organisation's, a platform or a built-in template (404). POST /api/v1/templates/{id}/send needs messaging:send (as the email send with a templateId does)✅ this branch
@caldera/platformxe-typesSendEmailRequest.replyTo: string | string[]⏳ owner list (separate repo)
TypeScript SDKsendEmail input typed from the types package⏳ owner list (separate repo)
Python SDKsend_email(..., *, from_) (required; every call without it was a 400), reply_to a string or a list, cc, bcc, text, caller_ref, template_id, variables (sync and async)✅ 1.12.0 (pending tag)
Go SDKMessaging.SendEmail documents the keys (from required, replyTo a []string); SendMessageResult.Provider / Queued✅ v1.12.0 (pending tag)
Terraformn/a (runtime call)n/a
Docsservices/email/send-email.mdx, sdk/messaging.mdx, platform/templates/send.mdx, sdk/templates.mdx✅

SDK identity parity (released, 2026-11-08)

SurfaceChangeStatus
APInone (the routes were already served)—
@caldera/platformxe-typesnone: 3.11.0 already carries every request and response type✅ 3.11.0 (published)
TypeScript SDKclient.identity.verifyBvn / verifyNin / verifyAccount / liveness / faceMatch (each with { idempotencyKey }), providersHealth, client.identity.dlq; client.messaging.whatsappHealth / buildWhatsAppLink; checkBatch answers the array, .results kept as a deprecated alias✅ 1.14.0 (released)
Python SDKthe async client gains the same identity and WhatsApp methods as the sync one, both built by identity.py's shared helpers; liveness / face_match content types; check_batch annotated as a list; the identity verifications, DLQ replay and fraud.decide send x-idempotency-key (the Idempotency-Key they sent was ignored)✅ 1.11.0 (released)
Go SDKPermissions.CheckBatch decodes the bare array (it was always empty); BatchCheckResult.Source / RoleID✅ v1.11.0 (released)
Terraformn/a (runtime calls)n/a
Docssdk/identity.mdx, sdk/alignment.mdx✅

NO-DRIFT train 2026-11-24 — sending-domain registration codes (pending)

feature/provided-sso. POST /api/v1/domains answers 409 DOMAIN_ALREADY_REGISTERED (already registered, by this organisation or another one; the message never says who) and 503 DOMAIN_LIMIT_REACHED (no domain can be added at the moment; not retryable), in place of 409 CONFLICT and a generic 502.

ArtefactVersionWhat it carriesStatus
API—The two codes on POST /api/v1/domains⏳ with the server release
@caldera/platformxe-types—The two codes⏳ separate work item (types repo)
TypeScript SDK—The two codes; DOMAIN_LIMIT_REACHED final⏳ separate work item (SDK repo)
Python SDK—n/a: error codes are passed through as PlatformXeAPIError.code and an API error is never retriedn/a
Go SDKv1.19.0ErrCodeDomainAlreadyRegistered, ErrCodeDomainLimitReached (final: never retried)⏳ pending tag sdk-go/v1.19.0
Terraform provider—n/a: platformxe_domains_sending reports a refused create as a diagnostic (the code and message as the API answers them) and enumerates no codes; it stops retrying DOMAIN_LIMIT_REACHED once its go.mod requires Go SDK v1.19.0n/a
OpenAPI—POST /api/v1/domains (tag Domains) with every status and both codes as named examples✅
Docs—sdk/domains.mdx (Registration errors), platform/sending-domains/add-domain.mdx, this matrix✅

NO-DRIFT train 2026-11-22 — AI gateway: native messages, platform tools (pending)

feature/ai-gateway-mcp. New POST /api/v1/ai/messages (the Anthropic Messages shape on the Claude 5.5 models, scope ai:complete) and GET /api/v1/ai/tools (scope tools:platform.read); POST /api/v1/ai/complete takes toolsets and answers toolRuns; the profile view gains the governance fields; usage kinds messages and complete_with_tools; the closed codes AI_BUDGET_EXCEEDED (also on vision), AI_REFUSED, AI_TOOLSET_DENIED, AI_TOOL_FAILED, AI_LOOP_LIMIT. Version choice: types 3.17.0, TypeScript SDK 1.19.0, Python 1.15.0 and Go v1.15.0 are taken by the pending Enterprise License release, so this train is types 3.18.0, TypeScript SDK 1.20.0, Python 1.16.0 and Go v1.16.0. Release order: after the Enterprise License release, types 3.18.0, then TypeScript SDK 1.20.0 (re-lock the types from the registry), then the tags sdk-python/v1.16.0 and sdk-go/v1.16.0.

Amended before publishing (same versions, nothing was published): AI_BUDGET_EXCEEDED details (reason: 'BUDGET_UNAVAILABLE' when a hard budget could not be checked; no period on a tool-loop refusal), the structured-output outputSchema rule, toolChoice with toolsets (auto or left out), the end-user-facing allowedModels rule, the /ai/messages reply after a fallback and the fallback trigger limits, tool results always redacted, and the AI_TOOL_FAILED meaning. Every artefact below carries them.

ArtefactVersionWhat it carriesStatus
API—POST /api/v1/ai/messages, GET /api/v1/ai/tools, toolsets / toolRuns on complete, spend budgets, the five codes⏳ with the server release (migrations 0110 and 0111)
@caldera/platformxe-types3.18.0ProductAiMessagesRequest / Result, ProductAiNativeMessage / Tool / Reply, ProductAiContentBlock, ProductAiSystemBlock, ProductAiClaudeModel, ProductAiEffort, ProductAiMessagesUsage, AiToolRunSummary, AiToolList / AiToolListItem, AiToolCallStatus, AiToolDenyReason, AiDataClass, AiFallbackModel, AiProfileGovernance (on AiProfile / AiProfileView), AiLoopLimitReason, AiBudgetExceededDetails / AiBudgetRefusalReason, AiBudget (internal admin); toolsets / toolRuns on complete; the new codes⏳ pending
TypeScript SDK1.20.0client.ai.messages, client.aiTools.list; AI_BUDGET_EXCEEDED and AI_TOOL_FAILED are final (never retried)⏳ pending
Python SDK1.16.0ai.messages(...), ai_tools.list(), toolsets= on ai.complete; sync and async; model calls sent once⏳ pending tag sdk-python/v1.16.0
Go SDKv1.16.0Ai.Messages(AiMessagesInput), AiTools.List(), AiCompleteInput.Toolsets, AiCompleteResult.ToolRuns, the AiProfileView governance fields, ErrCodeAiBudgetExceeded / Refused / ToolsetDenied / ToolFailed / LoopLimit (the budget and tool-failed codes final)⏳ pending tag sdk-go/v1.16.0
Terraform provider—n/a: runtime calls; budgets and profiles are Caldera's internal admin surfacen/a
OpenAPI—openapi-ai.ts 1.7.0 and its round-2 corrections: both routes, toolsets, every closed code as a named example✅
Docs—sdk/ai.mdx (native messages, server-side tools, errors, scopes), services/ai/overview.mdx, this matrix✅

NO-DRIFT train 2026-11-23 — AI gateway P6, the other Caldera apps and the operator console (pending)

feature/ai-gateway-spokes-p6. POST /api/v1/ai/messages takes actors (platform callers: one { ref, permissions, grant } per app, never with actor); GET /api/v1/ai/tools lists the app tools for Caldera's operator console key; new scopes tools:lettings.read, tools:chats.read, tools:xadmin.read (named on the key only); the invocation's context.organizationId may be null (xAdmin's own tools). Versions follow the P5 train: types 3.20.0, TypeScript SDK 1.22.0, Python 1.18.0, Go v1.18.0 (renumbered on merge if an earlier train takes them). Release order: after the P5 train, types 3.20.0, then the TypeScript SDK re-locked, then the tags sdk-python/v1.18.0 and sdk-go/v1.18.0 once the server reaches master.

ArtefactVersionWhat it carriesStatus
API—actors on /ai/messages; platform callers (xadmin) for app tools; the three scopes⏳ with the server release (migration 0114)
@caldera/platformxe-types3.20.0AiToolActorsInput, ProductAiMessagesRequest.actors, AiToolInvocationContext.organizationId: string | null, AiToolGrantKind⏳ pending
TypeScript SDK1.22.0The typed actors on client.ai.messages⏳ pending
Python SDK1.18.0ai.messages(..., actors=) (sync and async; never with actor)⏳ pending tag sdk-python/v1.18.0
Go SDKv1.18.0AiMessagesInput.Actors (map[string]AiToolActorsEntry)⏳ pending tag sdk-go/v1.18.0
Terraform provider—n/a: tool sources are first-party only, created by migrationn/a
OpenAPI—openapi-ai.ts 1.10.0: AiToolActorsInput, AiToolActorsEntry, the /ai/tools text✅
Docs—sdk/ai.mdx (Caldera's operator console), services/ai/overview.mdx, this matrix✅

NO-DRIFT train 2026-11-23 — AI gateway P5, first-party app tools (pending)

feature/ai-gateway-spoke-manifests. POST /api/v1/ai/messages takes actor (ref, permissions, grant); GET /api/v1/ai/tools items gain sourceApp and requiredPermission; new scope tools:concierge.read (named on the key only). Versions follow the AI gateway train of 2026-11-22: types 3.19.0, TypeScript SDK 1.21.0, Python 1.17.0, Go v1.17.0 (renumbered on merge if an earlier train takes them). Release order: after types 3.18.0 / TypeScript SDK 1.20.0, types 3.19.0, then the TypeScript SDK re-locked, then the tags sdk-python/v1.17.0 and sdk-go/v1.17.0 once the server reaches master.

ArtefactVersionWhat it carriesStatus
API—actor on /ai/messages; the two /ai/tools item fields; spoke tools in the tool loop⏳ with the server release (migration 0113)
@caldera/platformxe-types3.19.0AiToolActorInput, ProductAiMessagesRequest.actor, AiToolListItem.sourceApp / requiredPermission, AiToolManifest, AiToolInvocation, AiToolInvocationContext, AiToolSpokeErrorCode⏳ pending
TypeScript SDK1.21.0The typed actor on client.ai.messages; the list item fields⏳ pending
Python SDK1.17.0ai.messages(..., actor=) (sync and async); the list item fields documented⏳ pending tag sdk-python/v1.17.0
Go SDKv1.17.0AiMessagesInput.Actor (AiToolActor), AiToolListItem.SourceApp / RequiredPermission⏳ pending tag sdk-go/v1.17.0
Terraform provider—n/a: spoke tool sources are first-party only, created by migration and switched by Caldera's internal adminn/a
OpenAPI—openapi-ai.ts 1.9.0: AiToolActorInput, the AiToolListItem fields✅
Docs—sdk/ai.mdx (acting for a person), services/ai/overview.mdx, this matrix✅

NO-DRIFT train 2026-11-22 — workflow event types (pending)

fix/workflow-event-types-public-split. A tenant key triggers on, evaluates and sends the event types on Workflow Event Types; any other value is 400 VALIDATION_ERROR with one message on every route, and no message lists event or entity types. A PATCH that sends the trigger's stored eventType unchanged is accepted. entityData is your own parameters for the event and may be null. Release order: after Python 1.14.0 / Go v1.14.0 and Terraform 1.5.3, the tags sdk-python/v1.14.1, sdk-go/v1.14.1, then terraform-provider/v1.5.4.

ArtefactVersionWhat it carriesStatus
API (POST / GET /api/v1/workflows, PATCH /api/v1/workflows/{id}, POST /api/v1/workflows/evaluate, POST /api/v1/events)—The accepted event types; the one eventType message (the trigger routes said eventType is not a known event type); entity type messages without a list; entityData nullable on evaluate and events✅
@caldera/platformxe-types—No changen/a
TypeScript SDK—No changen/a
Python SDK1.14.1Docs and tests: workflows.evaluate and events.ingest document entity_data (your own parameters; {} sent, None omitted) and event_type⏳ pending tag
Go SDKv1.14.1Docs and tests: Workflows.Evaluate / EvaluateWithOptions and Events.Ingest document entityData and eventType; what each sends for a nil or empty map is pinned⏳ pending tag
Terraform provider1.5.4Docs: platformxe_workflows_trigger event_type links Workflow Event Types; an update re-sending the stored value is accepted. No schema change⏳ pending tag
OpenAPI—eventType fields and the GET filter name the page; the trigger 400s carry the one message; EvaluateWorkflowRequest.entityData nullable; POST /api/v1/events documented (nullable entityData, a 400 that lists no values)✅
Docs—services/workflows/event-types.mdx (two parts: PlatformXe events and business events), evaluate.mdx, overview.mdx, triggers.mdx, sdk/events.mdx, sdk/workflows.mdx, platform/event-subscriptions/event-catalog.mdx, the release notes, this matrix✅

Known types follow-up (awaiting a decision): @caldera/platformxe-types does not yet type entityData as nullable in the request types of POST /api/v1/events and POST /api/v1/workflows/evaluate; the API accepts null.

NO-DRIFT train 2026-11-22 — Enterprise License (pending)

The Enterprise License (feature/enterprise-license) adds one read route and changes three answers. New: GET /api/v1/license (scope license:read, its own scope: billing:read does not grant it; the default rate tier; read-only, every other method refused), the key's organisation's effective plan and its source, its exemption (first_party, demo) and the license covering it with the plugins granted to it; never money, the license text or another organisation's grants. Changed: the Detection Pack activation (fraud, access on request) answers billing: "LICENSED" under a license and 403 LICENSE_REQUIRED after the licensing cut-over with no live grant naming a fraud pack; POST /api/v1/issues sends a plan-change request naming PRO or ENTERPRISE to the licensing team as an issue (never a plan change; one open per organisation) and answers 409 CONTACT_LICENSING with error.details { email, id, existing } (existing: true: the open request answered, nothing filed); POST /api/v1/exports of dataType: "invoices" also needs billing:read (403), and GET /api/v1/exports/{id} of one is 404 without it. Release gate: publish with or after the PlatformXe release that carries feature/enterprise-license.

ArtefactVersionWhat it carriesStatus
@caldera/platformxe-types3.18.0 (the license types, published with the AI gateway's 3.18.0)LicenseView, LicenseCoverage, LicenseEffectiveEdition, LicenseEditionSource, LicenseBypass, LicenseState, LicenseReadErrorCode; DetectionPackBilling LICENSED; IssuesErrorCode CONTACT_LICENSING; JSDoc on the activate 403 and the invoices export⏳ pending (branch feature/enterprise-license)
TypeScript SDK1.19.0client.license.get(); docs on fraud.activate, issues.create and exports.create⏳ pending (branch feature/enterprise-license)
Python SDK1.15.0license.get() (sync and async); docstrings on fraud.activate, issues.create, exports.create_export / get_export⏳ pending tag sdk-python/v1.15.0
Go SDKv1.15.0License.Get() (LicenseView, LicenseCoverage, LicenseEffectiveEdition); ErrCodeLicenseRequired, ErrCodeContactLicensing; comments on Fraud.Activate, Issues.Create, Exports.Create / Get⏳ pending tag sdk-go/v1.15.0
Terraform provider—n/a: a runtime read, not declarable state (a license is installed in the portal)n/a
OpenAPI—GET /api/v1/license with every code a named example (covered by openapi-route-coverage.test.ts); the issues 409 CONTACT_LICENSING; the activate 403 LICENSE_REQUIRED and the exports billing:read rule (documented earlier on the branch)✅
Docs—platform/usage-billing/enterprise-license.mdx, sdk/license.mdx, services/fraud-detection/activation.mdx, sdk/fraud.mdx, services/issues/overview.mdx, sdk/issues.mdx, sdk/go.mdx, services/exports/overview.mdx, platform/usage-billing/plans-quotas.mdx, getting-started/authentication.mdx, this matrix✅

NO-DRIFT train 2026-11-20 — W3: PDF generate, QR batch, billing invoices (pending)

Four routes that were documented but not served are now built: POST /api/v1/pdf/generate (scope pdf:generate, 100/hr per key), POST /api/v1/qr/batch (scope storage:upload, 120/hr per key), GET /api/v1/billing/invoices and GET /api/v1/billing/invoices/{id} (scope billing:read). Release order: after the 2026-11-19 train (types 3.15.0, TypeScript SDK 1.17.0), types 3.16.0, then TypeScript SDK 1.18.0 (re-lock the types from the registry), then the sdk-python/v1.14.0 and sdk-go/v1.14.0 tags (after the 1.13.0 / v1.13.0 tags of the 2026-11-19 train).

ArtefactVersionWhat it carriesStatus
@caldera/platformxe-types3.16.0GeneratePdfRequest, GeneratePdfOptions, GeneratePdfStoredResponse, GeneratePdfBase64Response, GeneratePdfResponse, PdfGenerateErrorCode; QrBatchRequest, QrBatchItemResult, QrBatchZip, QrBatchResponse, QrBatchErrorCode; BillingInvoiceStatus, BillingInvoice, BillingInvoiceLineItem, BillingInvoiceDetail, ListBillingInvoicesParams, ListBillingInvoicesResponse, BillingInvoicesErrorCode; the old Invoice* types deprecated (they describe no route)✅ released (tag v3.16.0, 2026-11-21)
TypeScript SDK1.18.0client.pdf.generate(input, { idempotencyKey }); client.qr.generateBatch(input, { idempotencyKey }) on the real route; client.billing.listInvoices / getInvoice; the two rendering calls wait 65 s and, without an idempotency key, are re-sent only after a 429✅ released (tag v1.18.0, 2026-11-21)
Python SDK1.14.0pdf.generate(html, template_id=, data=, options=, idempotency_key=); qr.generate_batch(items, format=, zip=, url_ttl_seconds=, idempotency_key=); billing.list_invoices / get_invoice; sync and async⏳ pending tag sdk-python/v1.14.0
Go SDKv1.14.0Pdf.Generate; Qr.GenerateBatchItems (typed) and GenerateBatch (map) on the real route, BatchQRResult.Items / TotalFailed / Zip / GeneratedAt; Billing.ListInvoices / GetInvoice; error-code constants⏳ pending tag sdk-go/v1.14.0
Terraform provider—n/a: a transient render and a read-only billing surface, not declarable staten/a
OpenAPI—The four operations, every error code a named example (covered by openapi-route-coverage.test.ts)✅
Docs—services/pdf/generate.mdx, services/qr/batch.mdx, platform/usage-billing/invoices.mdx, sdk/pdf.mdx, sdk/qr.mdx, sdk/billing.mdx, getting-started/authentication.mdx, this matrix✅

Fidelity W2 — docs and SDK calls aligned with the routes (pending, 2026-11-20)

The fidelity register (docs/fidelity/register.md, npm run fidelity:register) checks every /api/v1 route against the docs, the Python and Go SDKs, the portal, the admin pages and analytics. W2 documents the routes it found uncited and fixes the SDK calls that reach no route or send a field the route does not read. The TypeScript SDK is a separate repo, so the register does not scan it; its fixes were found by review against the routes.

SurfaceChangeStatus
APInone for tenants. Caldera's careers CV route, used only by Caldera's own applications and never a tenant API, moved out of /api/v1 to a Caldera-internal route under D4; /api/v1/storage/careers/cv stays as a deprecated alias (Deprecation, Sunset, a successor Link) until 2027-01-31✅ this branch
@caldera/platformxe-typesnone: WorkflowDryRunRequest, DryRunResult, ReorderFilesRequest / ReorderFilesResult and IngestEventRequest / IngestEventResponse already match the routes✅ 3.14.0
TypeScript SDKworkflows.dryRun posts { entityData } to /api/v1/workflows/{id} and returns DryRunResult (a missing or other-organisation trigger is a 200 with reason: 'Trigger not found', not a throw); storage.reorder sends PATCH /api/v1/storage/media/files/reorder with { fileIds } and answers { reordered: true } (updated deprecated); events.ingest posts to /api/v1/events (payload deprecated, sent as entityData when entityData is absent; eventId / subscriptionsNotified deprecated). Each was a 404 before⏳ 1.16.2 (caldera-platformxe-sdk MR !35, pending, not tagged)
Python SDKworkflows.dry_run path fix and entity_data=; storage.reorder_files sends PATCH; events.ingest sends entityData (entity_data=, source_app=, metadata=; payload deprecated), sync and async⏳ 1.13.0 (pending tag)
Go SDKWorkflows.DryRun path fix and DryRunEntityData; Storage.ReorderFiles sends PATCH; Events.Ingest sends a payload key as entityData (a nil one is omitted, never sent as null); EmitEventResult.EntityType / EntityID⏳ v1.13.0 (pending tag)
Terraformn/a (runtime calls; no infrastructure-shaped change)n/a
Docs: event subscriptionsthe routes are /api/v1/event-subscriptions and /api/v1/event-subscriptions/{id} (and /replay); the pages named a subscriptions path under /api/v1/events, which the API does not have. The overview's example sends name / eventTypes (no secret: PlatformXe generates it) and uses the SCREAMING_SNAKE_CASE names✅ platform/event-subscriptions/manage.mdx, overview.mdx
Docs: custom events servicea service section for the 28 custom-events routes the docs did not cite: Overview & health, event types, marketplace, federation groups, external peers, pushes (method, scope, plan gate, caller role, body, answer, error codes)✅ services/custom-events/*
Docs: careers CVn/a by ruling (D4, owner, 2026-11-20): a Caldera-internal route, not a tenant API; no SDK methodn/a
Docs: storage, media, threads, domains, demo resolve, fraud packsdirect upload is JSON with base64 content and answers the stored file; media ingest; thread update; sending domains; the demo resolve; Detection Pack activation and sector packs✅
Docs: SDK pagessdk/workflows.mdx (dry run), sdk/storage.mdx (reorder, upload, batch upload), sdk/events.mdx (ingest body and answer), sdk/federation.mdx (group, member and push ids are plain cuid2, with no cefg_ / cefp_ prefix; emit ids are cee_…)✅

Still open (filed, not in this train): Python storage.upload_file / batch_upload send multipart, which the upload routes refuse; Go UploadResult / BatchUploadResult decode fields the routes do not send; TypeScript workflows CRUD and evaluate shapes (1.17.0); no SDK method for media ingest / probe, video streaming, storage/fixed/stream, the demo resolve or threads/lifecycle/process.

NO-DRIFT train 2026-11-20 — storage scopes (pending)

storage:read and storage:delete are real scopes (feature/storage-read-delete-scopes). Under /api/v1/storage a GET needs storage:read and a DELETE storage:delete; every other storage write, POST /api/v1/media/ingest and POST /api/v1/media/probe keep storage:upload; GET /api/v1/media/ingest/{id} needs storage:read. storage:upload grants the other two, so no issued key loses access and no backfill runs. No request or response shape changes. Types 3.14.1 and TypeScript SDK 1.16.1 are docs-only patches: publish them before the 2026-11-19 train's 3.15.0 / 1.17.0, or fold their notes into those releases if that train ships first.

ArtefactVersionWhat it carriesStatus
API—scope-map.ts v1.7.0 (the split and the compatibility rule, IMPLIED_SCOPES), scope-catalog.ts v1.17.0 (the two scopes; self-serve, lettings and concierge defaults name them), scope-map.storage.test.ts (the scope of every storage route)⏳ MR open
@caldera/platformxe-types3.14.1Docs only: storage-fixed.ts names the scope per method of the category and settings routes; WhoamiResponse.scopes says an implied scope is not listed⏳ pending (separate repo)
TypeScript SDK1.16.1Docs only: register() names the five self-serve scopes; README names the scope of each storage call⏳ pending (separate repo)
Python SDK—n/a: no method or docstring names a storage scope; the calls are unchangedn/a
Go SDK—n/a: as Pythonn/a
Terraform provider—n/a: no resource declares API key scopesn/a
OpenAPI—The fixed-storage folder, category and settings paths answer 403 for each method's scope; a 403 names the scope that grants the required one✅
Docs—getting-started/authentication.mdx (scope table, self-serve list, sandbox allowance), sdk/documents.mdx, sdk/storage.mdx, services/documents/* (overview, folders, categories, overrides), services/storage/overview.mdx, services/storage/files.mdx (reorder is PATCH with storage:upload), this matrix✅

NO-DRIFT train 2026-11-19 — fraud merge review (pending)

The /api/v1 changes of the external fraud-pack merge review (fix/fraud-merge-review). Release order: types 3.15.0, then TypeScript SDK 1.17.0 (re-lock the types from the registry), then the sdk-python/v1.13.0 and sdk-go/v1.13.0 tags, then terraform-provider/v1.5.3.

ArtefactVersionWhat it carriesStatus
@caldera/platformxe-types3.15.0EventSubscription.restrictedEventTypes; EventSubscriptionErrorCode (RESTRICTED_EVENT_TYPE), SearchErrorCode (RESERVED_SEARCH_APP), FraudRuleErrorCode (VERSION_MISMATCH, FEED_MISSING, FEED_NOT_REALTIME); expectedVersion on UpdateFraudRuleRequest / TransitionFraudRuleRequest; FraudRuleShadowReport.currentVersion, FraudRuleShadowReportParams.version; JSDoc: the event log and replay leave out fraud and compliance events, a FAILING subscription is still delivered, a case resolve records its outcome at once⏳ pending
TypeScript SDK1.17.0Types ^3.15.0; rules.shadowReport(id, params?) sends from / to / version (it sent none); events.log sends eventTypes and answers the page; listSubscriptions / createSubscription / replay typed as the routes answer (compile-time only; runtime unchanged)⏳ pending
Python SDK1.13.0events.replay sends fromTimestamp / toTimestamp (it sent from / to: every replay was a 400) and event_types; events.log sends eventTypes; create_subscription(name=); fraud.rules.update / transition expected_version, shadow_report(version=); path constants; workflows.dry_run posts to /api/v1/workflows/{id} and storage.reorder_files sends PATCH (both failed before); workflow ids URL-quoted; workflows.list(page=, limit=, is_active=, trigger_type=, event_type=); one path filler paths.fill_path (webhook ids now URL-quoted; an empty id, . or .. refused)⏳ pending tag sdk-python/v1.13.0
Go SDKv1.13.0Events.Replay fix and ReplayTypes; EventReplayResult.Replayed; EventSubscription.RestrictedEventTypes; Rules.TransitionAtVersion / UpdateAtVersion / ShadowReportForVersion, FraudRuleVersion; ErrCodeVersionMismatch, ErrCodeFeedMissing, ErrCodeFeedNotRealtime, ErrCodeRestrictedEventType, ErrCodeReservedSearchApp; Workflows.DryRun posts to /api/v1/workflows/{id} (DryRunEntityData, DryRunResult as the route answers) and Storage.ReorderFiles sends PATCH (both failed before); Workflows.List / Create / Get / Update / Delete decode the triggers / trigger the routes answer (they came back empty); ids path-escaped, ErrWorkflowIDRequired; Workflows.List(*WorkflowListOptions) (page, limit, filters)⏳ pending tag sdk-go/v1.13.0
Terraform provider1.5.3platformxe_fraud_rule / platformxe_fraud_screening_list Read from the primary; a 404 removes the resource (no schema change); platformxe_workflows_trigger fixed: code required, source_app computed (fixed after create; a trigger the key cannot read back fails the apply), actions sent as {type, config}, trigger and action types validated at plan time (a test holds them to the engine's lists), code / trigger_type / event_type / entity_type change in place (the PATCH route takes them), destroy confirms the trigger is off, import wired, documented examples corrected and applied by tests through the full provider. Breaking but never loadable: platformxe_ocr_processor / platformxe_storage_processor provider is renamed provider_name (a name Terraform reserves; every earlier provider failed to load its schema). The mirrored provider requires the tagged Go SDK v1.13.0 (go.mod replace dropped by the mirror job)⏳ pending tag terraform-provider/v1.5.3 (after sdk-go/v1.13.0)
OpenAPI—/api/v1/event-subscriptions, /api/v1/event-log, /api/v1/search, the fraud rules routes (now covered by openapi-route-coverage.test.ts) and the fraud case transition route, every error code a named example✅
API (POST /api/v1/workflows, PATCH /api/v1/workflows/{id})—PATCH takes code, triggerType, eventType, entityType (they were dropped); null clears a nullable field; a code in use is 409 DUPLICATE; sourceApp only as the calling service (else 400). POST and PATCH share one set of field rules (blank name or code, unknown event or entity type: 400; an unknown type was a 500 on POST) and an EVENT trigger needs an eventType (PATCH checks the stored trigger merged with the change). /evaluate and PlatformXe's own events run EVENT triggers only. OpenAPI UpdateWorkflowRequest / CreateWorkflowRequest match the routes. Types (UpdateWorkflowRequest in @caldera/platformxe-types) and the TypeScript SDK workflows.update / list are owed in their repos (W2)⏳ types / TypeScript pending
Docs—sdk/events.mdx, sdk/fraud.mdx, sdk/search.mdx, the event-subscriptions pages, services/fraud-detection/rules.mdx and cases.mdx, services/search/overview.mdx, this matrix✅

NO-DRIFT train 2026-11-18 (released 2026-11-18)

ArtefactVersionWhat it carriesStatus
@caldera/platformxe-types3.14.0Identity resolve purpose (required), outcome on resolve and lookup, lookup notFound / notFoundBy / raw: { provider }, DLQ replay 409 / 500 JSDoc; DetectionPackBilling DEMO_SEED; the case transition's 409 CASE_AT_MLRO_STAGE; fixed-storage category and settings types; the custom-events (CE-D) and messaging additions⏳ pending
TypeScript SDK1.16.0Types ^3.14.0; identity resolve / lookup / DLQ docs; the PDF rasterize limit; custom-events update / publish / dry-run / paging; documents.categories / settings⏳ pending
Python SDK1.12.0fraud.rules through /transition (transition, draft, shadow, publish, archive), shadow_report; documents.categories / documents.settings; resolve purpose; verify_business; lookup / DLQ replay / case transition / PDF limit docs⏳ pending tag sdk-python/v1.12.0
Go SDKv1.12.0Fraud.Rules through /transition, ShadowReport; IdentityLookupResult the real lookup answer; Documents category and settings methods; ErrCodeReplayInProgress, ErrCodeInternalError, ErrCodeCaseAtMlroStage; ResolveRequest; VerifyBusiness⏳ pending tag sdk-go/v1.12.0
Terraform provider1.5.2platformxe_fraud_rule changes status through /transition for every target (it called routes that do not exist, and shadow / draft were a no-op); a status-only change sends no PATCH⏳ pending tag terraform-provider/v1.5.2 (after sdk-go/v1.12.0)
OpenAPI—The identity DLQ routes (list, detail, replay with 409 REPLAY_IN_PROGRESS and 500) and the fixed-storage categories / settings routes✅
Docs—Document Categories & Settings, sdk/documents.mdx, sdk/fraud.mdx (rule transitions, shadow report), sdk/custom-events.mdx (dry-run 413), sdk/marketplace.mdx (fork 413), this matrix✅

Identity resolve — purpose, outcome, billed for the work (pending, 2026-11-18)

SurfaceChangeStatus
APIPOST /api/v1/identity/resolve needs purpose (1 to 200 characters; 400 without it) and a key that names identity:resolve (no scopes or * do not grant it; 403). The answer carries outcome: found, not_found (billed) or provider_down (not billed). Billed per lookup a provider answered, resolveLinked follow-ons included; a 24-hour cache hit is not billed. GET /api/v1/identity/lookup answers outcome too.✅ feature/fraud-packs
@caldera/platformxe-typesIdentityResolveRequest.purpose, IdentityResolveResult.outcome, IdentityLookupResult.outcome⏳ 3.14.0 (pending, same merge train)
TypeScript SDKidentity.resolve({ type, value, purpose, consent, resolveLinked }), outcome on the answer⏳ 1.16.0 (pending, same merge train)
Python SDKidentity.resolve(type, value, ..., purpose=) required keyword-only (sync and async); resolve_linked defaults to False (was True)✅ 1.12.0 (pending tag)
Go SDKIdentity.ResolveRequest(IdentityResolveRequest{...}) with Purpose; Identity.Resolve Deprecated; IdentityResolveResult.Outcome✅ v1.12.0 (pending tag)
Terraformn/a (runtime call)n/a
Docsservices/identity-resolution/{resolve,lookup,overview,consent-ndpr}.mdx, sdk/{identity,python,go}.mdx, getting-started/sdks.mdx, guides/add-kyc-to-your-app.mdx, this matrix✅

Identity — business registration check, KYB (types and TypeScript released; Python / Go pending, 2026-11-13)

SurfaceChangeStatus
APIPOST /api/v1/identity/verify-business, scope business:verify, outside the fraud gate, metered business, FREE plan 50 a month (429 BUSINESS_CHECK_QUOTA_EXCEEDED)✅ feature/identity-verify-business
OpenAPIthe path, VerifyBusinessRequest, VerifyBusinessResponse✅
@caldera/platformxe-typesVerifyBusinessRequest, VerifyBusinessResponse, BusinessVerifyReason, BusinessRegistrationType✅ 3.13.0 (released)
TypeScript SDKclient.identity.verifyBusiness(request, { idempotencyKey })✅ 1.15.0 (released)
Python SDKidentity.verify_business (sync and async), x-idempotency-key✅ 1.12.0 (pending tag)
Go SDKIdentity.VerifyBusiness / VerifyBusinessWithIdempotencyKey, VerifyBusinessRequest / VerifyBusinessResult✅ v1.12.0 (pending tag)
Terraformn/a (runtime call)n/a
Docssdk/identity.mdx, services/identity-resolution/identity-checks.mdx, overview.mdx, this matrix✅

Identity — the independent review fixes (released, 2026-11-07)

SurfaceChangeStatus
APIverify / verify-nin / verify-bvn: verified only when every field sent matches; checks, reason; profile only when verified; verify-nin needs dateOfBirth. face-match takes reference: { verificationId }. lookup needs identity:lookup, the Detection Pack + terms, purpose, consentReference. DLQ reads need identity:verify and never return the request.✅ this branch
@caldera/platformxe-typesIdentityVerifyChecks, IdentityVerifyReason, IdentityStoredReference, IdentityLookupParams; VerifyNinRequest date of birth required; FraudActivateResponse.detectionPackEnabledAt: string | null✅ 3.11.0 (released)
TypeScript SDKclient.identity.lookup({ type, value, purpose, consentReference }); dependency ^3.11.0✅ 1.13.0 (released)
Python SDKidentity.lookup(type, value, purpose, consent_reference) (sync and async); verify_nin(..., date_of_birth) required; face_match(reference_verification_id=)✅ 1.10.0 (released)
Go SDKIdentity.Lookup(type, value, purpose, consentReference); VerifyNINRequest / FaceMatchRequest docs✅ v1.10.0 (released)
Terraformn/a (runtime calls)n/a
Docsservices/identity-resolution/{lookup,verify,identity-checks}.mdx, services/fraud-detection/identity-resilience.mdx, sdk/identity.mdx✅

Identity verify — passport check with the holder's NIN (released, 2026-11-07)

SurfaceChangeStatus
APIPOST /api/v1/identity/verify takes optional supporting: { nin } (11 digits, type: "PASSPORT" only; any other type or shape is 400 BAD_REQUEST). With matchAgainst.dateOfBirth it reaches the primary provider's Nigerian passport check. The route now forwards only validated fields.✅ this branch
@caldera/platformxe-typesIdentityVerifyRequest.supporting?: IdentityVerifySupporting✅ 3.9.0 (released)
TypeScript SDKclient.identity.verify() sends the request as given; dependency ^3.9.0✅ released in 1.12.0 (1.11.0 was never tagged)
Python SDKidentity.verify(..., supporting_nin=None) (sync and async)✅ released in 1.10.0 (1.8.0 was never tagged)
Go SDKIdentity.VerifyRequest(IdentityVerifyRequest{...Supporting}); Verify now sends the route's real body (it sent identifierType / flat names, a 400); IdentityVerifyResult gains Profile, Provider, AttemptedProviders✅ released in v1.10.0 (v1.8.0 was never tagged)
Terraformn/a (runtime call)n/a
Docsservices/identity-resolution/verify.mdx, sdk/identity.mdx✅

Permission overrides — DENY precedence + upsert (released, 2026-11-01)

SurfaceChangeStatus
APIGET /permissions/resolve/:adminId returns deniedCapabilities; POST /permissions/overrides upserts (201 create / 200 update), refuses a GRANT over a live DENY with 409 OVERRIDE_DENY_ACTIVE unless replace: true, and returns updatedAt✅ this branch
@caldera/platformxe-typesResolvedCapabilities.deniedCapabilities?: string[] (and roleCapabilities?: string[] if absent), CreateOverrideRequest.replace?: boolean, override row updatedAt: string✅ 3.8.0 (published)
TypeScript SDKCreateOverrideInput.replace; resolve() returns deniedCapabilities through the types✅ released in 1.12.0 (1.10.0 was never tagged)
Python SDKcreate_override(..., replace=False); resolve() documents deniedCapabilities✅ released in 1.10.0
Go SDKResolvedCapabilities.DeniedCapabilities / RoleCapabilities, PermissionOverride.UpdatedAt; CreateOverride input map carries "replace"✅ released in v1.10.0
Terraformn/a for the new fields; the permission override resource's docs state one override per key and the 409 for a GRANT over a live DENY✅ docs
Docsauthorization/api/resolve.mdx (local evaluators MUST apply deniedCapabilities), authorization/api/overrides.mdx, authorization/concepts/overrides.mdx, getting-started/authentication.mdx (scopeless keys)✅

AI gateway + Vision (released 2026-10-11)

Added 2026-10-08 on feature/ai-gateway (caldera-platformxe#22). Five routes, all runtime calls:

RouteScopeRate tierTypeScriptPythonGo
POST /api/v1/ai/completeai:complete600/hr/keyclient.ai.completeclient.ai.completeclient.Ai.Complete
POST /api/v1/ai/extractai:complete600/hr/keyclient.ai.extractclient.ai.extractclient.Ai.Extract
GET /api/v1/ai/profileai:complete600/hr/keyclient.ai.profileclient.ai.profileclient.Ai.Profile
GET /api/v1/ai/usageai:complete600/hr/keyclient.ai.usageclient.ai.usageclient.Ai.Usage
POST /api/v1/vision/analyze-roomvision:analyze2,000/hr/keyclient.vision.analyzeRoomclient.vision.analyze_roomclient.Vision.AnalyzeRoom
  • ✅ @caldera/platformxe-types 3.5.0 (published; 3.7.0 adds the claude provider) — src/ai.ts / src/vision.ts, including the closed ProductAiErrorCode / VisionErrorCode sets.
  • ✅ @caldera/platformxe-sdk 1.8.0 (tag v1.8.0, 2026-10-11) — client.ai + client.vision; errors carry details; a 429 keeps its envelope code and AI_QUOTA_EXCEEDED is not retried.
  • ✅ Python SDK 1.7.0 (tag sdk-python/v1.7.0, 2026-10-11) — client.ai + client.vision (sync and async); PlatformXeAPIError.details / .retry_after.
  • ✅ Go SDK v1.7.0 (tag sdk-go/v1.7.0, 2026-10-11) — client.Ai + client.Vision; APIError.Details / .RetryAfter; AnalyzeRoomOptions.IdempotencyKey. v1.7.1 (released, tag sdk-go/v1.7.1) adds no API surface: it follows a redirect only to the same origin, so x-api-key never reaches another host.
  • n/a Terraform — transient calls, not declarable state.
  • ✅ Contract tests in all three SDKs run against one shared fixture set (TypeScript src/__tests__/fixtures/ai-vision.ts, Python tests/fixtures/ai_vision.json, Go testdata/ai_vision.json).
  • ✅ OpenAPI — the AI and Vision tags document all five operations, x-idempotency-key, Retry-After, X-Idempotency-Cache and every error code. src/lib/api/openapi-route-coverage.test.ts fails CI when a route under /api/v1/ai or /api/v1/vision is missing from the OpenAPI document, the Python or Go SDK, or this site.
  • ✅ Docs: /sdk/ai, /sdk/vision and /services/ai/overview.

Knowledge retrieval + tool calling (released 2026-10-11)

Added 2026-10-08 on feature/ai-gateway (calderasuite/caldera-xadmin#29). Four knowledge routes under /api/v1/ai/knowledge with their own scope, plus tool-calling fields on POST /api/v1/ai/complete:

RouteScopeRate tierTypeScriptPythonGo
PUT /api/v1/ai/knowledge/documentsai:knowledge1,200/hr/keyclient.knowledge.upsertDocumentclient.knowledge.upsert_documentclient.Knowledge.UpsertDocument
DELETE /api/v1/ai/knowledge/documentsai:knowledge1,200/hr/keyclient.knowledge.deleteDocumentclient.knowledge.delete_documentclient.Knowledge.DeleteDocument
GET /api/v1/ai/knowledge/documentsai:knowledge1,200/hr/keyclient.knowledge.listDocumentsclient.knowledge.list_documentsclient.Knowledge.ListDocuments
POST /api/v1/ai/knowledge/searchai:knowledge1,200/hr/keyclient.knowledge.searchclient.knowledge.searchclient.Knowledge.Search
POST /api/v1/ai/complete — tools, toolChoice, toolCalls, finishReasonai:complete600/hr/keyclient.ai.complete({ tools, toolChoice })client.ai.complete(tools=, tool_choice=)AiCompleteInput.Tools / .ToolChoice
  • ✅ @caldera/platformxe-types 3.6.0 (published) — the Knowledge* and tool-calling types, AiProfileView.allowTools, AiUsageKind 'embedding'.
  • ✅ @caldera/platformxe-sdk 1.8.0 — client.knowledge + the tool-calling fields.
  • ✅ Python SDK 1.7.0 and Go SDK v1.7.0 — contract tests against the shared fixtures (completeWithTools*, knowledge* in ai_vision.json).
  • n/a Terraform — transient calls; knowledge documents are content, not infrastructure.
  • ✅ OpenAPI — tag AI Knowledge documents the four operations; openapi-route-coverage.test.ts covers them under the /api/v1/ai prefix.
  • ✅ Docs: /sdk/ai, /sdk/ai and /services/ai/overview.

AI_MODEL_UNAVAILABLE (caldera-platformxe#33, 2026-11-01 — types 3.8.0 published; TypeScript SDK released in 1.12.0)

POST /api/v1/ai/complete and POST /api/v1/ai/extract gain the closed code AI_MODEL_UNAVAILABLE (503): the AI gateway account cannot use the requested model (free tier — paid gateway credits are required). The message is fixed and vendor-neutral ("The AI service account cannot use this model right now."; the gateway's reason is logged and alerted, never returned — review fix 2026-11-01) and details.model names the model. A missing or rejected key stays AI_NOT_CONFIGURED. No new route or method.

  • ✅ @caldera/platformxe-types 3.8.0 (published) — ProductAiErrorCode gains 'AI_MODEL_UNAVAILABLE'.
  • ✅ @caldera/platformxe-sdk (TypeScript) released in 1.12.0 (1.10.0 was never tagged) — README documents it as final; the client never retries it even though it is a 503 (FINAL_ERROR_CODES, covered by ai.test.ts).
  • ✅ Python SDK (released in 1.10.0) — README and AiService docs; the closed-code surface test covers it.
  • ✅ Go SDK (released in v1.10.0) — ErrCodeAiModelUnavailable; TestAiClosedErrorCodes covers it.
  • n/a Terraform — runtime error code.
  • ✅ OpenAPI — documented on the 503 of both operations; openapi-route-coverage.test.ts checks it through PRODUCT_AI_ERROR_CODES.
  • ✅ Docs: /sdk/ai and /services/ai/overview.

/api/v1/ocr/* now requires the ocr:run scope (previously unscoped) — no SDK change; keys with an explicit scope list need it granted before the deploy.

Knowledge 409 CONFLICT (portal completeness wave 2, 2026-11-10 — TypeScript pending)

PUT /api/v1/ai/knowledge/documents answers 409 CONFLICT when another organisation's document holds the collection + sourceRef under the same caller service (it was a 500), until the contract migration keys documents by organisation alone. No new route, method or field.

  • Pending: @caldera/platformxe-types — ProductAiErrorCode does not list CONFLICT yet (cross-repo follow-up); PlatformXe's own mirror and the AI contract fixtures follow it.
  • Pending: @caldera/platformxe-sdk (TypeScript) — follows the types package; a 409 is already surfaced as an API error and never retried.
  • ✅ Python SDK (1.12.0, pending tag) — README and KnowledgeService.upsert_document docs; test_upsert_conflict_surfaces_and_is_not_retried.
  • ✅ Go SDK (v1.12.0, pending tag) — ErrCodeConflict; TestKnowledgeUpsertConflictIsFinal.
  • n/a Terraform — runtime error code.
  • ✅ OpenAPI — documented on the PUT's 409.
  • ✅ Docs: /sdk/ai and /services/ai/overview.

PDF Rasterize (full alignment, released)

Added 2026-09-21 on feature/pdf-rasterize-endpoint (MR !211). POST /api/v1/pdf/rasterize converts one page of a base64-encoded PDF into a JPEG/PNG image (corporate invoicing autonomy — caldera-lettings downloads a rendered invoice PDF as a JPEG without a PDF renderer on its own side). Scope pdf:rasterize, rate tier 200 req/hr/key.

  • ✅ @caldera/platformxe-types 3.3.0 — this repo bumped from ^3.0.0 to ^3.3.0 and route.ts now imports RasterizePdfRequest/RasterizePdfResponse directly from the package; the local mirror interfaces in src/app/api/v1/pdf/rasterize/route.ts were deleted 2026-09-21 — verified directly by reading that file on this branch.
  • ✅ @caldera/platformxe-sdk (TypeScript) — client.pdf.rasterize(...), released in 1.7.0 (2026-09-21, calderasuite/caldera-platformxe-sdk!7). The SDK also moved to @caldera/platformxe-types ^3.3.0 in that release.
  • ✅ Python SDK — client.pdf.rasterize(pdf_base64=..., format=..., page=..., dpi=...) (packages/sdk-python/platformxe/services/pdf.py + async_services.py), released in 1.7.0 (1.6.0 was never tagged).
  • ✅ Go SDK — client.Pdf.Rasterize(platformxe.RasterizePdfInput{...}) returning *RasterizePdfResult (packages/sdk-go/pdf.go + types.go), released in v1.7.0 (v1.6.0 was never tagged).
  • n/a Terraform — transient call, not declarable state.
  • ✅ Docs reference pages: /sdk/pdf and /services/pdf/rasterize.

Every artefact now implements this endpoint. Release status: types 3.3.0, TypeScript SDK 1.7.0, Python 1.7.0 and Go v1.7.0 are released. The size limit is the hosting platform's 4.5 MB request body (about 3.3 MB of PDF once base64-encoded); the Python and Go docstrings said 10 MB until 1.12.0 / v1.12.0 (pending), and the TypeScript JSDoc until 1.16.0 (pending).

Phase 9A — Tenant Custom Events (full alignment, certified)

Commits 9f97cd8 through d81fad3 on feature/tenant-custom-events shipped a complete cross-artefact alignment for the new domain:

  • ✅ @caldera/platformxe-types v2.4.0 — 15 new request/response interfaces
  • ✅ @caldera/platformxe-sdk v1.2.0 — client.events.custom.{register, list, get, archive, emit, dryRun, health, subscribe}
  • ✅ Python SDK: client.events.custom.{register, list, get, archive, emit, dry_run, health, subscribe}
  • ✅ Go SDK: client.Events.Custom.{Register, List, Get, Archive, Emit, DryRun, Health, Subscribe}
  • ✅ Terraform provider: platformxe_custom_event resource
  • ✅ Docs reference page: /sdk/custom-events
  • ✅ Live commissioning report (internal)

Phase 9B.1 (subscriber dispatch unblock — 88df973), 9B.3 (delivery lifecycle hooks — ff4c4fb), and 9B.4 (SDK subscribe helper + @* wildcard — a7cdde9) round out the runtime; subscribers now reliably receive tenant custom emits with HMAC-signed deliveries.

Phase 9C — Marketplace (full alignment, certified)

Released 2026-05-05 via merge 7dfcb77:

  • ✅ @caldera/platformxe-types v2.5.0 — marketplace request/response interfaces
  • ✅ @caldera/platformxe-sdk v1.3.0 — client.events.custom.marketplace.{publish, list, get, unpublish, republish, fork}
  • ✅ Python SDK: client.events.custom.marketplace.{publish, list, get, unpublish, republish, fork}
  • ✅ Go SDK: client.Events.Custom.Marketplace.{Publish, List, Get, Unpublish, Republish, Fork}
  • ✅ Terraform provider: platformxe_marketplace_listing resource
  • ✅ Docs reference page: /sdk/marketplace

Phase 9D — Federation Push (full alignment, certified)

Released 2026-05-06 via merge d6455fe. ENTERPRISE-only on both sides.

  • ✅ @caldera/platformxe-types v2.6.0 — federation request/response interfaces (groups, members, pushes)
  • ✅ @caldera/platformxe-sdk v1.4.0 — client.events.custom.federation.{createGroup, listGroups, getGroup, archiveGroup, invite, accept, leave, declarePush, listPushes, undeclarePush}
  • ✅ Python SDK v1.4.0: client.events.custom.federation.{create_group, list_groups, get_group, archive_group, invite, accept, leave, declare_push, list_pushes, undeclare_push} (class EventFederationService)
  • ✅ Go SDK v1.4.0: client.Events.Custom.Federation.{CreateGroup, ListGroups, GetGroup, ArchiveGroup, Invite, Accept, Leave, DeclarePush, ListPushes, UndeclarePush} (EventFederation* types disambiguate from the v1.x.x permission federation surface)
  • ✅ Terraform provider v1.4.0: platformxe_event_federation_group + platformxe_event_federation_push resources
  • ✅ Docs reference page: /sdk/federation
  • ✅ Smoke runbook (internal)
  • ✅ Migration 0022_numerous_human_fly applied to dev + prod (journals at 23/23)

The runtime path (since 2026-11-17): a tenant emits → the emit path (the ONE fan-out; the bus listener's federation step is gone) consults lookupActivePushesFor(), which skips a source or tenant peer not eligible to federate now → one Inngest event per (push × accepted-member) pair, id fedrelay:<emitId>:<memberId> (deduplicated) → the relay worker re-checks member, push, group and plans before every attempt, re-emits on the peer's federated type fed-<owner>.<namespace>.<name> (never the peer's own channel), retries on the delivery ladder and writes the audit row in custom_event_federation_relay_log (read it with listRelays).

Gap review (2026-11-17): federation changes need events:federate; members can be removed, invitations revoked, memberships paused / resumed; a removed or never-member caller gets 404 everywhere; partner URLs are shown to the owner only; plan drops pause memberships (never archive groups) and resume them on re-upgrade; caps on groups, members, external peers and pushes; lifecycle events are delivered to each organisation concerned; error codes are SCREAMING_SNAKE. The async Python client has no custom-events surface (n/a). Owed in other repos: @caldera/platformxe-types and the TypeScript SDK (see the row above).

Naming clarity: the new "Custom Event Federation" (/api/v1/events/custom/federation/*, CUSTOM_EVENT_FEDERATION_* bus types, EventFederation* Go types) is intentionally distinct from the v1.x.x "Permission Federation" (/api/v1/permissions/federation/*, FEDERATION_* bus types, Federation* Go types) at client.permissions.federation.

Pattern 3 — External Webhook Peers (full alignment, certified)

Released 2026-05-06 on feature/external-webhook-peers. ENTERPRISE-only on the owner side; receiving endpoint can be anyone.

Pattern 3 lets a federation owner add an arbitrary HTTPS endpoint as a member of a group, addressed by URL rather than by tenant org id. Relays are POSTed with an X-Caldera-Signature: sha256=<hex> header (HMAC-SHA256 of the raw body only, no timestamp, until 2027-04-30) plus, since 2026-10-25, X-Caldera-Timestamp, X-Caldera-Delivery-Id and X-Caldera-Signature-V2 (HMAC over ${timestamp}.${rawBody}; it becomes X-Caldera-Signature on 2027-04-30) signed with a one-time whsec_… secret returned at create time. The secret (column external_webhook_secret_encrypted, migration 0029) and, since 2026-11-17, the optional static headers (e.g. an Authorization bearer) are sealed under the key-management envelope, bound to the peer, read by peer id at send time (never placed in a queued job) and wiped when the peer is removed; only the header NAMES are echoed back, to the owner. The secret is never stored for an idempotent replay.

  • ✅ @caldera/platformxe-types v2.7.0 — FederationPeerType discriminator, AddExternalWebhookPeerRequest/Response, FederationMemberSummary extended with peerType, externalWebhookUrl, externalWebhookLabel, externalWebhookHeaderNames (with memberOrganizationId now nullable)
  • ✅ @caldera/platformxe-sdk v1.5.0 — client.events.custom.federation.{addExternalPeer, removeExternalPeer}
  • ✅ Python SDK v1.5.0 — client.events.custom.federation.{add_external_peer, remove_external_peer}
  • ✅ Go SDK v1.5.0 — client.Events.Custom.Federation.{AddExternalPeer, RemoveExternalPeer} plus EventFederationPeerType{TenantOrg, ExternalWebhook} constants and AddEventFederationExternalPeer{Input, Result} types
  • ✅ Terraform provider v1.5.0 — platformxe_event_federation_external_peer resource. The secret attribute is marked sensitive; encrypt your state at rest. Rotate by destroying and re-creating the resource.
  • ✅ Migration 0029_federation_webhook_secret_encrypted applied to dev + prod (journals at 30/30)

The runtime path is the Phase 9D one: for external_webhook members the relay worker reads the peer row, opens the sealed secret and headers, signs the canonical body and POSTs it to the peer's URL (pinned, no redirects; at most 5 in flight and 600 a minute per peer); the audit row in custom_event_federation_relay_log records the outbound delivery.