Skip to content

get_tenant_settings

Return the tenant’s full settings object — feature flags, CRM configuration, account-research config, and other tenant-specific configuration.

  • Before bdr_account_research, to confirm which use cases / keywords are configured.
  • To check whether a feature flag (crm_analysis_enabled, outreach_enabled, etc.) is on for the tenant.
  • To read the CRM integration config (crm.integration_id, crm.type).
ParameterTypeRequiredDescription
tenant_idstringYesThe tenant identifier (e.g. "cerby", "onfire").

JSON settings object. Common top-level keys:

  • crm — CRM integration config (type, integration_id).
  • aifire — Feature flags (crm_analysis_enabled, crm_upload_enabled, outreach_enabled, …).
  • account_research — Query sections for company analysis (competitors, technologies, …).
  • Tenant-scoped — non-super tenants can only read their own settings.
  • Super tenants (onfire, onfire-dev) can read any tenant’s settings.