Kommander.ai stores application data in the infrastructure configured for the deployed environment. Residency is therefore an environment and vendor-account setting, not a per-request control.

Data Flow

Data Stores

Data categoryPrimary storeNotes
Users, organizations, memberships, invitations, settingsMongoDBIncludes OAuth account metadata and organization role records.
Conversations and assistant messagesMongoDBIncludes user messages, assistant responses, tool messages, and conversation metadata.
Training files and OpenAPI specsMongoDB GridFS or configured file storageUploaded files can include customer content and connector schema metadata.
Customer data connector configurationMongoDBCredentials are stored encrypted; plaintext credential values are not returned by API responses.
Billing recordsMongoDB and StripeStripe is the processor of record for payment methods, subscriptions, invoices, and metered events.
Email delivery metadataMongoDB and email provider logsResend or SMTP providers may retain delivery events according to provider settings.
Model requests and generated responsesOpenAI API and Kommander runtime logsDo not send secrets or unnecessary sensitive data in prompts, tool descriptions, or tool results.
Real-time and workflow eventsSocket.IO, Inngest, and application logsEvent payloads should contain operational identifiers and minimal user content.

Residency Policy

Production residency must be documented for each deployment:

  • MongoDB cluster region and backup region.
  • File or GridFS storage region.
  • RAG/vector storage region when enabled.
  • Stripe account region and billing data processing region.
  • Email provider region and retention settings.
  • OpenAI processing configuration used by the deployment.

Kommander.ai does not currently expose per-organization residency selection in the product UI. If an organization requires data to stay in a specific country or region, confirm the deployment’s infrastructure region before enabling production traffic.

Residency Checklist

ItemEvidence to collect
Application hosting regionDeployment project and runtime region configuration.
MongoDB primary and backup regionsCluster settings and backup policy screenshot or export.
File storage regionGridFS deployment region or object storage bucket region.
Stripe processing regionStripe account and invoice processor details.
Email provider regionProvider account settings and retention policy.
OpenAI data processing configurationCurrent vendor configuration and applicable agreement.
Logging region and retentionObservability provider settings and retention window.

Retention Policy

Retention depends on data type:

Data categoryDefault retention behavior
Account and organization recordsRetained while the account or organization is active, then deleted or anonymized through account deletion workflows.
ConversationsRetained for product history, analytics, support, and auditability until deleted by an authorized user or lifecycle job.
Uploaded training filesRetained while the associated assistant, knowledge base, or connector configuration needs them.
OpenAPI connector specsRetained while the connector is configured or needed for audit and rollback.
Connector credentialsRetained encrypted while the connector is active; rotate or delete the connector to revoke access.
Billing recordsRetained according to Stripe, accounting, tax, and legal requirements.
Security audit eventsRetained for investigation and abuse detection according to operational policy.
Application logsRetained according to the deployment logging provider’s retention settings.

Deletion of one data category may not delete related processor records immediately. For example, deleting an organization does not remove Stripe invoices that must be retained for billing and tax compliance.

Customer Data Connectors

Customer data connectors should minimize data movement:

  • Configure narrow read operations instead of broad search or export endpoints.
  • Return only fields needed for the assistant answer.
  • Prefer opaque user ownership keys such as userHash.
  • Keep connector credentials least-privilege and read-only whenever possible.
  • Ensure connector responses include ownership markers so cross-user results can be filtered before the model sees them.

Current Limitations

  • Per-organization residency pinning is not self-service.
  • Retention windows are not yet configurable per organization in the UI.
  • Conversation and file deletion may depend on manual workflows or lifecycle jobs in the deployed environment.
  • Third-party processors retain data under their own contracts and settings.
  • Billing records cannot be fully deleted on request when legal retention obligations apply.

For additional product limitations, see Known Limitations.