Skip to main content

Build

Databricks Unity Gateway

DatabricksOfficialCertified

Use when querying or calling pay-per-token foundation models, or when creating, updating, listing, or querying Unity Gateway (also called Unity AI Gateway) services, including model provider services, MCP services, system.ai services, and three-part Unity Catalog service names (catalog.schema.service). Also use for managing spend budgets and usage alerts on Unity Gateway, and for migrating from legacy AI Gateway. Also use when a workload with Model Serving endpoint permissions (for example CAN_QUERY) gets PERMISSION_DENIED querying a three-part model name, since serving-endpoint access does not grant access to a Unity Gateway service. Not for configuring legacy AI Gateway on Model Serving endpoints; use databricks-model-serving for that.

  • New
  • v1.0.2
  • Reviewed Oct 8
  • No reviews yet

Capabilities

  • Choose the Correct Gateway

    Treat Unity AI Gateway as an earlier name for Unity Gateway when the…

  • CLI Workflow

    Use the Databricks CLI for resource lifecycle and permission…

  • Querying and permissions

    Do not fetch public documentation for fields already covered by these…

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.2

Unity Gateway

Use the parent databricks-core skill for CLI authentication and profile selection.

Unity Gateway provides Unity Catalog securables for governed access to AI services. The CLI
command group keeps the earlier product name: databricks ai-gateway --help.

Choose the Correct Gateway

Request Use
Unity Gateway model service, MCP service, or model provider service This skill and databricks ai-gateway
AI Gateway configuration on a Model Serving endpoint, including put-ai-gateway databricks-model-serving and databricks serving-endpoints
Lakeflow Connect ingestion gateway databricks-lakeflow-connect

Treat Unity AI Gateway as an earlier name for Unity Gateway when the resource is a
Unity Catalog securable. Do not translate legacy Model Serving AI Gateway resources into
Unity Gateway resources unless the user explicitly requests a migration.

CLI Workflow

Use the Databricks CLI for resource lifecycle and permission management. Do not substitute
direct REST calls or a Databricks SDK for those operations. Python clients are supported
for querying model and model provider services; read Query services.

An explicit request for Unity Gateway, Unity AI Gateway, or
databricks ai-gateway belongs to this skill. Do not switch to
databricks-model-serving merely because the request involves a model service or a
workspace. Use that skill only for a legacy per-endpoint AI Gateway operation or when a
provisioned-throughput destination requires Model Serving endpoint details.

  1. Verify the CLI meets the minimum version:

    bash
    databricks --version
    
  2. Inspect the command and the relevant operation before constructing a payload:

    bash
    databricks ai-gateway --help
    databricks ai-gateway <operation> --help
    
  3. Pass create and update configuration through --json. Use an explicit profile when
    profile-based authentication is required:

    bash
    databricks ai-gateway <operation> --json @payload.json --profile <PROFILE>
    

Do not invent JSON fields from similarly named legacy APIs. Build the payload from the
installed CLI help and the Unity Gateway documentation for the selected service type.

Service Types

Service type CLI operations
Model service create-model-service, get-model-service, list-model-services, update-model-service, delete-model-service; read Model services
MCP service create-mcp-service, get-mcp-service, list-mcp-services, update-mcp-service, delete-mcp-service; read MCP services
Model provider service create-model-provider-service, get-model-provider-service, list-model-provider-services, update-model-provider-service, delete-model-provider-service; read Model provider services

Querying and permissions

  • Before writing Python that invokes a model or model provider service, read references/querying.md.
  • Before checking, granting, or revoking Unity Gateway access, read references/permissions.md.
  • Before any model-service operation, read references/model-services.md. It contains the current resource-name conventions, JSON payload fields, required-input gate, and lifecycle commands.
  • Before any MCP-service operation, read references/mcp-services.md for the equivalent MCP-specific contract.
  • Before any model-provider-service operation, read references/model-provider-services.md.
  • Before setting up a spend budget or spend alert on Unity Gateway usage, read references/budgets.md.
  • Before any account-scoped operation (account groups as grant principals, account budgets), read references/account-access.md.

Do not fetch public documentation for fields already covered by these references. Consult the
authoritative documentation only when a required field is absent from the reference or the
user explicitly asks for the latest documentation. Do not assign a Beta or preview status
unless the installed CLI help or current documentation explicitly does so.

Migration from Model Serving to Unity Gateway

When migrating from workspace-scoped Model Serving endpoints to Unity Catalog-scoped Unity Gateway services, read references/model-serving-migration.md.

Authoritative Documentation

  • Unity Gateway overview
  • Unity Gateway release notes
  • Unity Gateway developer documentation
  • Model service API reference
  • MCP service API reference
  • Model provider service API reference
  • Query model services
  • Open Responses specification
  • Open Responses provider behavior on Databricks
  • Query model provider services
  • Model service requirements and grants
  • Model provider service governance
  • Routing and fallbacks
  • Rate limits
  • Register an external MCP server

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from Databricks

View source →
databricks-data-discoveryDiscover, explore, and query Databricks data via Genie — the CLI equivalent of the Genie One MCP. MUST be invoked whenever the user asks to find or locate data ('what tables are in X', 'where does X live', 'which catalog/schema has Y'),…2 installsspark-python-data-sourceBuild custom Python data sources for Apache Spark using the PySpark DataSource API — batch and streaming readers/writers for external systems. Use this skill whenever someone wants to connect Spark to an external system (database, API,…1 installsdatabricks-python-sdkDatabricks development guidance including Python SDK, Databricks Connect, CLI, and REST API. Use when working with databricks-sdk, databricks-connect, or Databricks APIs.1 installsdatabricks-execution-computeExecute code and manage compute on Databricks: run Python/Scala/SQL/R via serverless, classic, or interactive clusters, and create/resize/delete clusters and SQL warehouses.1 installsdatabricks-setup-localPreviews, provisions, or diagnoses a uv-managed local Python .venv with `databricks environments setup-local`. Use when the user wants to set up or fix one for Databricks Connect, cluster or serverless compute, `--job-task`, or a bundle…1 installsdatabricks-serverless-migration-apiMigrate Databricks jobs to serverless through the Compute Migrations API and CLI, then track, review, and approve each migration. Use for automated job migrations managed by this service, scripts that start and track migrations, requests…0 installs

Frequently asked questions about databricks-unity-gateway

What does the databricks-unity-gateway skill do?

Use when querying or calling pay-per-token foundation models, or when creating, updating, listing, or querying Unity Gateway (also called Unity AI Gateway) services, including model provider services, MCP services, system.ai services, and three-part Unity Catalog service names (catalog.schema.service). Also use for managing spend budgets and usage alerts on Unity Gateway, and for migrating from legacy AI Gateway. Also use when a workload with Model Serving endpoint permissions (for example CAN_QUERY) gets PERMISSION_DENIED querying a three-part model name, since serving-endpoint access does not grant access to a Unity Gateway service. Not for configuring legacy AI Gateway on Model Serving endpoints; use databricks-model-serving for that. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the databricks-unity-gateway skill?

Run `npx @skills-hub-ai/cli install databricks-unity-gateway` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/databricks-unity-gateway/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does databricks-unity-gateway work with?

databricks-unity-gateway runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the databricks-unity-gateway skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use databricks-unity-gateway after installing it?

In Claude Code, type `/databricks-unity-gateway` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the databricks-unity-gateway skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/databricks-unity-gateway)](https://skills-hub.ai/skills/databricks-unity-gateway)
HTML
<a href="https://skills-hub.ai/skills/databricks-unity-gateway"><img src="https://skills-hub.ai/api/badges/skill/databricks-unity-gateway" alt="Install on Skills Hub"></a>

More options in the badge docs.