---
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`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/api/v1/databricks/access-rules/options`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

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

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

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
