โ10-06-2026 09:59 AM
I am working with Databricks Unity Gateway / Unity Catalog model services and am trying to configure rate limits for system-provided model services under system.ai.
##Issue
For example, when I open Unity Gateway, select system.ai.claude-sonnet-5, and try to configure the rate limits, the UI displays: "User does not have permission to access this resource." I see the same behavior for other system.ai models.
##Current permission
I have Account Admin access at the Databricks account level. However, when I run the following SQL command:
SHOW GRANTS ON SCHEMA system.ai;
the result only shows the following permissions for account users:
EXECUTE
READ VOLUME
SELECT
USE SCHEMA
There is no MANAGE privilege shown on system.ai.
Additional observation
When I directly call system.ai.claude-sonnet-5, I receive HTTP 403 with the following message:
PERMISSION_DENIED: The endpoint is temporarily disabled due to a Databricks-set rate limit of 0.
I am not sure whether this is related to the inability to configure the rate limit in the UI or whether it is a separate platform-side restriction.
Questions
1. Why does Account Admin access not automatically allow me to configure rate limits for system.ai model services?
2. Is Metastore Admin access required to configure rate limits for system-provided model services?
3. Can an Account Admin grant MANAGE on system.ai to themselves or another user/group, or must this be done by a Metastore Admin?
4. What is the least-privilege approach for allowing an AI platform administrator to manage Unity Gateway rate limits without giving them full Metastore Admin privileges?
5. Is MANAGE on the system.ai schema sufficient to configure rate limits on the system-provided model services?
6. Is the "Databricks-set rate limit of 0" error expected when a model service has not been enabled/configured, or does it indicate a separate Databricks-side restriction?
What I am trying to understand
I would like to clarify the distinction between account-level administration and Unity Catalog / metastore-level permissions for system.ai model services, and understand the correct least-privilege configuration needed to manage Unity Gateway rate limits.
Relevant SQL output
SHOW GRANTS ON SCHEMA system.ai;
Principal: account users
ActionType: EXECUTE
ObjectType: SCHEMA
ObjectKey: system.ai
Principal: account users
ActionType: READ VOLUME
ObjectType: SCHEMA
ObjectKey: system.ai
Principal: account users
ActionType: SELECT
ObjectType: SCHEMA
ObjectKey: system.ai
Principal: account users
ActionType: USE SCHEMA
ObjectType: SCHEMA
ObjectKey: system.ai
a month ago
Two separate things are going on here, and only one of them is a permissions problem.
1. Why Account Admin isn't enough: account admin is an account-level role (workspaces, users, billing). A rate limit is part of a model service's configuration, and model services are Unity Catalog securables, so UC privileges decide who can change them. For system-provided services the docs require metastore admin or MANAGE on system.ai, and account admin implies neither. Your SHOW GRANTS output (account users with EXECUTE, READ VOLUME, SELECT, USE SCHEMA, no MANAGE) lines up exactly with the UI error.
2. Who can grant MANAGE: a metastore admin, or someone who already holds MANAGE on system.ai. Account admin on its own can't self-grant it, but account admins can assign the metastore admin role in the account console, so you can get someone (or a group) into that role long enough to run the grant once.
3. Least privilege: create a group such as ai-platform-admins and have the metastore admin run
GRANT MANAGE ON SCHEMA system.ai TO `ai-platform-admins`;
That covers current and future system.ai services. For a narrower scope, MANAGE on individual model services works too. Keep in mind MANAGE also lets the group manage grants on those services, so it can change who can EXECUTE them, not only the limits.
4. Is MANAGE on system.ai sufficient: per the docs, yes. You don't need full metastore admin to configure Unity Gateway rate limits on system-provided services.
5. The "Databricks-set rate limit of 0" is separate: it's a Databricks-side hold on premium resold models (Claude, GPT) tied to the account's trust tier, and it sits above anything you configure in Unity Gateway, so your own limits won't lift it. Quick check: if open-weight endpoints such as databricks-gpt-oss-120b return 200 in the same workspace, that's the hold. Lifting it goes through your account team or support with the workspace ID. More detail here: https://community.databricks.com/t5/generative-ai/foundation-models-api-blocked-quot-databricks-set-...
Docs:
โข Govern model services: https://docs.databricks.com/aws/en/ai-gateway/govern-model-services
โข Rate limits: https://docs.databricks.com/aws/en/ai-gateway/rate-limits
Is this a trial or a recently converted pay-as-you-go account? That usually decides how quickly the hold gets lifted.
a month ago
Short answer: Account Admin is an account-level role and doesn't carry Unity Catalog privileges. What you're seeing is almost certainly two separate things: a UC permission gap (the UI error) and a Databricks-side rate limit of 0 (the 403). Fixing one won't fix the other.
Account admin governs account-level objects: workspaces, users and groups, metastore creation and assignment, and so on. Access to securables inside a metastore is governed by Unity Catalog ownership, privileges, and the metastore admin role [1][2]. Nothing in SHOW GRANTS ties the account admin role to system.ai, which matches what you're seeing. The only grants on it are the defaults for account users.
MANAGE on the object, or a metastore admin can grant privileges on it [1][2]. system.ai is a Databricks-managed system schema, so in practice the metastore admin is the one who grants on it.MANAGE in SQL. They can, however, assign the metastore admin role (or change the metastore owner) in the account console, so the path is:
Put the AI platform admins in a dedicated group and grant privileges to the group, not to individuals:
GRANT MANAGE ON SCHEMA system.ai TO `ai-platform-admins`;
If you'd rather scope tighter, grant MANAGE on the specific model object instead of the whole schema. Keep metastore admin for a small break-glass group only.
It's the right privilege to start with, and it's the one that lets the group manage access on those objects. I wouldn't promise it's sufficient for every setting on a Databricks-provided model service, though. Those are managed by the platform, and some limits aren't customer-editable. Grant it, have a member of the group retry the Gateway UI, and if the error persists, open a support ticket with the exact model and workspace.
That's a separate, platform-side condition, not a permissions error. It means the model's pay-per-token endpoint is disabled for your workspace or account, and no amount of UC privileges will change that. The usual causes:
A customer-configured rate limit also can't override a Databricks-set limit of 0. Check region availability and the partner-powered AI setting first. If both look right, Databricks support can confirm why the limit is 0 for your account.
ai-platform-admins and grant MANAGE on system.ai (via a metastore admin).[1] Admin privileges in Unity Catalog โ https://docs.databricks.com/aws/en/data-governance/unity-catalog/admin-privileges
[2] Unity Catalog privileges and securable objects โ https://docs.databricks.com/aws/en/data-governance/unity-catalog/manage-privileges/privileges
a month ago
1. Rate limits are part of each model service's configuration (rate limits), and by default only metastore admins can modify the system-provided services in system.ai (system-provided model services). Account admin and metastore admin are separate roles (admin roles).
2 and 5. The person setting the limits doesn't need metastore admin, because holding MANAGE on system.ai also qualifies (requirements), and MANAGE lets its holder change a service's configuration (key permissions). The holder also needs USE CATALOG on system and USE SCHEMA on system.ai (model service privileges).
3. A metastore admin can delegate management by granting MANAGE (delegation). In the account console under Catalog, open your metastore to see who holds that role and ask them to run the grants below; if none is assigned, you can assign the role (assign a metastore admin). Ask them to grant the following privileges (grant syntax) to an account group that includes whoever will set the limits (group types), then set the limits as a member of that group:
GRANT MANAGE ON SCHEMA system.ai TO `ai-platform-admins`;
GRANT USE CATALOG ON CATALOG system TO `ai-platform-admins`;
GRANT USE SCHEMA ON SCHEMA system.ai TO `ai-platform-admins`;
4. These grants stop short of metastore admin, but a privilege granted on system.ai applies to every current and future service in it (schema grants), and MANAGE includes managing their grants (model service privileges), so treat the group as administrators of system.ai.
6. By default no rate limits are configured, and a limit you set returns 429 when exceeded (details); all account users can also query system.ai services by default (default access), so this 403 doesn't match either documented behavior and looks separate from the editing permissions in items 1 to 5. Open a support case or contact your account team with the workspace ID and the time of a failing request; if the rate-limit editor still refuses a few minutes after the grants, include that in the same case.