Tenant ID
The Logic API supports multitenancy, allowing you to separate data and behavior for each of your customers. By including atenantId
in your request, you tell Logic which customer the execution belongs to. Logic will keep data, learning, and behavior isolated for each tenantId
, ensuring that one customer’s data is never used to influence another’s.
Even if you’re not using dynamic learning yet, you can include a tenantId
in your executions. That way, if you enable dynamic learning later, it will automatically stay isolated per tenant.
Learn more about the Logic’s dynamic learning in the Dynamic
Learning section.
Isolating Dynamic Learning with tenantId
When using dynamic learning, you can isolate the learning process by specifying a tenantId
parameter. This allows you to test and evaluate the impact of dynamic learning on different sets of executions without affecting the overall learning process.
This is especially useful when serving multiple tenants, as it ensures each one’s learning data remains isolated.
Example with useDynamicLearning
& tenantId
Below are example requests using both useDynamicLearning=true
and tenantId
to isolate learning for a specific customer.