---
title: "Tableau Workbook Views"
method: POST
path: "/api/tableau_workbook_views"
tags: ["tableau"]
---

# Tableau Workbook Views

`POST /api/tableau_workbook_views`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/tableau_workbook_views`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Enumerate a workbook's views over the connection's stored PAT.

Given a connection and a workbook LUID, return every sheet as
[{view_id, name, content_url}], so a caller who only knows the workbook can
discover its views and then extract one by id/content_url. Needs only PAT
(no Connected App JWT, no browser). `workbook_id` is a Tableau LUID; a plain
numeric UI id is resolved best-effort via the Metadata API, and a 400 is
returned if it can't be translated. PAT-only: 409 if none configured.

## Request body

- BodyTableauWorkbookViewsApiTableauWorkbookViewsPost
  - `connection_id` string, required
  - `workbook_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
