---
title: "List Databricks accounts/workspaces/tags grantable in access rules"
method: GET
path: "/api/v1/databricks/access-rules/options"
tags: ["DATABRICKS", "Databricks", "Databricks Access Rules"]
---

# List Databricks accounts/workspaces/tags grantable in access rules

`GET /api/v1/databricks/access-rules/options`

Return the catalog of accounts/workspaces for the access-rule picker.

Defaults to onboarded workspaces. The raw account catalog is the whole
Databricks account — 221 workspaces for pepsico against 95 we ingest from —
so offering it by default listed workspaces nobody had onboarded (and BANNED
ones) as grantable resources.

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- AccessRuleOptionsResponse — Catalog of accounts, workspaces, and tags a team's rules can target.
  - `accounts` AccountOption[], required
    - `account_id` string, required
    - `workspace_count` integer, required
  - `workspaces` WorkspaceOption[], required
    - `workspace_id` string, required
    - `workspace_name` string, required
    - `account_id` string, required
  - `custom_tags` CustomTagOption[]
    - `key` string, required
    - `values` string[], required
    - `workspace_count` integer, required

## Other responses

- `403` — Not authorized
- `404` — No ClickHouse database configured
- `422` — Validation Error

## Changes

- **2026-09-11** `70e0a3e5cb0d` — 2 info
  - endpoint reactivated
  - added the optional property `custom_tags` to the response with the `200` status

[Change history](https://skmtc.dev/myaltimate/apis/fastapi/changes/api/v1/databricks/access-rules/options/get.md)

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/myaltimate/apis/fastapi/revisions/f06cba63189c?raw)
