Skip to main content
Embed entity groups are automatically created groups that correspond to embed entities, defined with the entity parameter in embed URL requests. You can set AI credit limits for these groups to control how much AI usage is allowed for users within each entity. This is useful when embedding Omni for multiple customers or tenants and you want to manage AI consumption on a per-entity basis.

How embed entity group limits work

Along with organization-level and user-level AI credit controls, embed entity group controls allow you to limit AI credit consumption at the entity group level. You can set group-specific limits and a default that applies to all entity groups, allowing you to control how many credits specific groups can consume. For example, you can set a higher limit for groups with more contracted usage and let other groups use the entity group default. Credit controls can be managed in the AI Hub > General > Credits tab or programmatically through the AI credit controls API.

Requirements

To manage AI credit limits for embed entity groups, you’ll need:
  • Organization Admin permissions
  • The Embed feature enabled in your Omni instance

Setting an embed entity group default

An embed entity group default applies to all entity groups. When set, the limit will act as the default for any group that doesn’t have a specific limit.
  1. Navigate to AI Hub > General.
  2. Click the Credits tab.
  3. In the Embed entity settings section, enter the number of credits in the default limit field, or leave it empty to allow unlimited credits by default.
  4. Click Save.

Setting per-group credit limits

Each embed entity group has its own detail page where you can configure a credit limit specific to that group. When set: To configure a credit limit for an embed entity group:
  1. Navigate to Settings > Groups.
  2. Click the Embed tab to display the list of embed entity groups.
  3. Click the embed entity group you want to manage.
  4. Click the Settings tab.
  5. Next to AI credit limit, click the Edit button.
  6. In the dialog that displays, configure the group’s credit limit:
    • To set a cap, enter a whole number (ex: 40) in the Credit limit field
    • To allow unrestricted usage, click the Unlimited toggle
    • To reset to the embed entity group default, click Reset to default
  7. Click Save.

Monitoring entity group credit usage

To get an entity group’s usage for the current billing period, use the Read individual entity groups’ AI credit limits endpoint and include the entity in the request body’s entities parameter:

Next steps