- Docs
- Manage and extend
- Administration
- Workspace settings
Written for: For administrators
Limit Nash by group
To cap how much Nash a group may use, or to offer it a smaller set of models, set an AI policy for the group:
- Open Administration → License & Usage and select the Nash limits tab.
- Choose a group and select Add group policy, or select Set beside Workspace default.
- Choose the models, add limits, write the message members see when a request is blocked, and select Save policy.

A policy saves on its own, apart from Save changes, and takes effect within about 30 seconds. Owners and administrators can set policies. With no policy at all, Nash is not limited and no usage is counted.
What a policy holds
Section titled “What a policy holds”| Setting | What it does |
|---|---|
| Models | Every model, or Only the selected models. The Nash model picker lists only these. |
| Model used when the member does not choose | The model Nash starts with for the group. It must be one of the allowed models. |
| Limits | Up to eight, each an amount of Tokens or Requests per window. |
| When a limit is reached | Block the request, or Allow and record it. |
| Message shown when a request is blocked | Up to 500 characters, for example how to upgrade. |
A limit counts either one pool Shared by the group, or an allowance For each member. Tokens are input plus output tokens. A request is one Nash turn, or one AI suggestion made on a semantic layer. A request reaches the limit when an allowance that applies to its model is used up. The policy then blocks the request or allows and records it, depending on your choice.
Windows follow the calendar in UTC: 4-hour blocks from midnight, days, weeks from Monday and months. A limit resets when its window ends.
Who a policy applies to
Section titled “Who a policy applies to”- A member of a group with a policy gets that policy. This includes members whose group comes from an OEM web ticket, so embedded users are limited the same way.
- A member of several groups with policies can use a model that any of those policies allows, and a request passes while any one of them has room. The usage counts against the policy that let the request through.
- Everyone no group policy covers gets the Workspace default, if one is set.
- Scheduled Nash runs carry no groups, so they follow the Workspace default whatever groups their owner belongs to.
What a member sees
Section titled “What a member sees”A member picks from the allowed models only. Once a blocking limit is reached, the next request is refused with the policy’s message until the window resets. A request already running is not stopped, and each Astrato server counts usage on its own before sharing it, usually within about a minute, or later if the database is unreachable. Limits are therefore approximate: a group can pass its limit by what its running requests and that delay add up to, which grows with how busy it is.
A refused request answers with one of two codes:
| Code | HTTP status | Meaning |
|---|---|---|
AI_LIMIT_REACHED |
429 | A limit of the member’s policy is used up. |
AI_MODEL_NOT_ALLOWED |
403 | The requested model is not one the policy allows. |
What is limited
Section titled “What is limited”Policies apply to Nash chat, Data App Builder, scheduled Nash runs and the AI suggestions on a semantic layer, whether the model is Astrato’s or one of your own AI providers. Workbook Nash, self-service report generation and data insights are not limited by these policies.
Manage policies from your own application
Section titled “Manage policies from your own application”The same policies are available without the Administration screens, for an application that manages its own groups:
- MCP:
astrato_management_ai_policy_list,astrato_management_ai_policy_setandastrato_management_ai_usage_list. - HTTP, signed in as an owner or administrator:
GET /api/sle/tenant-admin/settings/ai-policies,PUTandDELETE /api/sle/tenant-admin/settings/ai-policies/{principal}, andGET /api/sle/tenant-admin/settings/ai-usage.{principal}isdefaultor a group id.
A policy sent to either replaces the stored one:
{ "allowedModels": [{ "providerId": "astrato", "modelId": "small" }], "defaultModel": { "providerId": "astrato", "modelId": "small" }, "limits": [{ "metric": "tokens", "window": "4h", "scope": "group", "amount": 100000 }], "onLimit": "block", "limitMessage": "You have used this period's AI allowance. Contact your account manager to upgrade."}metric is tokens or requests; window is 4h, day, week or month; scope is group
or perUser. Add model ({ "providerId", "modelId" }, an allowed model) to a limit to count only
that model: when it is reached, members can carry on with another model. fallbackModel, also an
allowed model, is the model Nash switches to automatically when a limit on the chosen model is
reached; without it, Nash offers the member up to three models that still have room. Leave allowedModels out to allow every model, and leave modelId out of an entry
to allow every model of that provider.
When a member reaches a model’s limit
Section titled “When a member reaches a model’s limit”The model picker keeps a spent model listed, marked Limit reached with when it resets. If the
policy names a fallback model that still has room, Nash answers with it and says so above the
reply. Otherwise the
refusal shows a card with your message, when the limit resets, and a Continue with … button for
each model that still has room; choosing one re-sends the message with that model. Over HTTP the
refusal is a 429 with code, model, resetsAt, modelLimit and alternatives.
Read usage
Section titled “Read usage”In Administration → License & Usage, the Nash usage tab shows tokens, requests and blocked requests for this month, last month, or the last 7 or 30 days, by group (with the workspace default pool), by member, by model, or by group and model together. Export CSV downloads one row per subject and model. Over HTTP or MCP the usage report covers any range of up to 400 days; it defaults to the current month. Each group policy also shows, per shared limit, how much is used in the current window and when it resets. Usage appears within about a minute. Counters are kept for 400 days.