canonical: https://jentic.com/apis/tableau.com/tableau

# Tableau REST API

Tableau Server and Tableau Cloud REST API for managing workbooks, data sources, users, groups, permissions, and server administration. The API exposes 136 endpoints secured with apiKey authentication.

## For AI agents

Programmatically sign in to tableau server, sign out. Covers 136 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for identity and authentication only.

## Capabilities

- Sign in to Tableau Server
- Switch to another site
- Get server info (no auth required)
- Create site
- List sites

## Use cases

### Identity and Authentication Operations

Use the Tableau REST API to perform identity auth operations programmatically. The API provides 136 endpoints covering core functionality including sign in to tableau server, sign out, switch to another site.

Example prompt: Call POST `/auth/signin` to sign in to tableau server

### Automated Authentication Management

Automate authentication operations by combining multiple Tableau REST API endpoints. Agents can sign out and then switch to another site in a single workflow.

Example prompt: Call POST `/auth/signout` to sign out, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Tableau REST API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'sign in to tableau server', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/auth/signin` | Sign in to Tableau Server |
| POST | `/auth/signout` | Sign out |
| POST | `/auth/switchSite` | Switch to another site |
| GET | `/serverinfo` | Get server info (no auth required) |
| POST | `/sites` | Create site |
| GET | `/sites` | List sites |
| GET | `/sites/{site-id}` | Get site |
| PUT | `/sites/{site-id}` | Update site |

## Key resources

- **Authentication** — Sign in, sign out, token management
- **Sites** — Site management
- **Projects** — Project management
- **Workbooks** — Workbook management
- **Views** — View management

## Why Jentic

- **Setup:** Wiring the Tableau REST API by hand means signing in to obtain an X-Tableau-Auth token, resolving the correct Tableau Server or Cloud host into the {server} URL variable, and re-authenticating as tokens expire. Through Jentic you install once, import the Tableau REST API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** Tableau puts the site id in the URL path (`/sites/{site-id}`), so a rule can pin your agent to one site: it can read or update that site and nothing else. You choose the operations it may call, so sign-out or site changes are not included unless you add them.
- **Credential handling:** Your Tableau auth token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'sign in to Tableau' or 'list sites', and Jentic returns the matching Tableau operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Auth0** — Alternative identity auth API
- **Okta** — Alternative identity auth API

## FAQ

### What authentication does the Tableau REST API use?

The Tableau REST API uses an API key passed in the `X-Tableau-Auth` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I sign in to tableau server with the Tableau REST API?

Yes. Use the POST `/auth/signin` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Tableau REST API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I sign in to tableau server through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'sign in to tableau server'. Jentic returns the matching Tableau REST API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Tableau REST API have?

The Tableau REST API exposes 136 endpoints covering authentication, sites, projects operations.

### Can I limit what my agent is allowed to do with the Tableau REST API?

Yes. Because you run Jentic One yourself, your own rules decide which Tableau operations and credentials the agent may use. Tableau carries the site id in the URL path (`/sites/{site-id}`), so you can pin the agent to a single site and let it only read or update that one site. You also pick the exact operations it can call, so sign-out, site creation, or switching sites stay off-limits unless you explicitly allow them.
