Tableau · Capability

Tableau REST API — Subscriptions

Tableau REST API — Subscriptions. 5 operations. Lead operation: Tableau Query Subscriptions. Self-contained Naftiko capability covering one Tableau business surface.

Run with Naftiko TableauSubscriptions

What You Can Do

GET
Querysubscriptions — Tableau Query Subscriptions
/v1/sites/{site-id}/subscriptions
POST
Createsubscription — Tableau Create Subscription
/v1/sites/{site-id}/subscriptions
GET
Querysubscription — Tableau Query Subscription
/v1/sites/{site-id}/subscriptions/{subscription-id}
PUT
Updatesubscription — Tableau Update Subscription
/v1/sites/{site-id}/subscriptions/{subscription-id}
DELETE
Deletesubscription — Tableau Delete Subscription
/v1/sites/{site-id}/subscriptions/{subscription-id}

MCP Tools

tableau-query-subscriptions

Tableau Query Subscriptions

read-only idempotent
tableau-create-subscription

Tableau Create Subscription

tableau-query-subscription

Tableau Query Subscription

read-only idempotent
tableau-update-subscription

Tableau Update Subscription

idempotent
tableau-delete-subscription

Tableau Delete Subscription

idempotent

Capability Spec

rest-subscriptions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tableau REST API — Subscriptions
  description: 'Tableau REST API — Subscriptions. 5 operations. Lead operation: Tableau Query Subscriptions. Self-contained
    Naftiko capability covering one Tableau business surface.'
  tags:
  - Tableau
  - Subscriptions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TABLEAU_API_KEY: TABLEAU_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-subscriptions
    baseUri: https://{server}/api/{api-version}
    description: Tableau REST API — Subscriptions business capability. Self-contained, no shared references.
    resources:
    - name: sites-site-id-subscriptions
      path: /sites/{site-id}/subscriptions
      operations:
      - name: querysubscriptions
        method: GET
        description: Tableau Query Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsubscription
        method: POST
        description: Tableau Create Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-subscriptions-subscription-id
      path: /sites/{site-id}/subscriptions/{subscription-id}
      operations:
      - name: querysubscription
        method: GET
        description: Tableau Query Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subscription-id
          in: path
          type: string
          description: The ID of the subscription.
          required: true
      - name: updatesubscription
        method: PUT
        description: Tableau Update Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subscription-id
          in: path
          type: string
          description: The ID of the subscription to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesubscription
        method: DELETE
        description: Tableau Delete Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subscription-id
          in: path
          type: string
          description: The ID of the subscription to delete.
          required: true
    authentication:
      type: apikey
      key: X-Tableau-Auth
      value: '{{env.TABLEAU_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rest-subscriptions-rest
    port: 8080
    description: REST adapter for Tableau REST API — Subscriptions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/subscriptions
      name: sites-site-id-subscriptions
      description: REST surface for sites-site-id-subscriptions.
      operations:
      - method: GET
        name: querysubscriptions
        description: Tableau Query Subscriptions
        call: rest-subscriptions.querysubscriptions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsubscription
        description: Tableau Create Subscription
        call: rest-subscriptions.createsubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/subscriptions/{subscription-id}
      name: sites-site-id-subscriptions-subscription-id
      description: REST surface for sites-site-id-subscriptions-subscription-id.
      operations:
      - method: GET
        name: querysubscription
        description: Tableau Query Subscription
        call: rest-subscriptions.querysubscription
        with:
          subscription-id: rest.subscription-id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesubscription
        description: Tableau Update Subscription
        call: rest-subscriptions.updatesubscription
        with:
          subscription-id: rest.subscription-id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesubscription
        description: Tableau Delete Subscription
        call: rest-subscriptions.deletesubscription
        with:
          subscription-id: rest.subscription-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-subscriptions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tableau REST API — Subscriptions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: tableau-query-subscriptions
      description: Tableau Query Subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-subscriptions.querysubscriptions
      outputParameters:
      - type: object
        mapping: $.
    - name: tableau-create-subscription
      description: Tableau Create Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-subscriptions.createsubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: tableau-query-subscription
      description: Tableau Query Subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-subscriptions.querysubscription
      with:
        subscription-id: tools.subscription-id
      outputParameters:
      - type: object
        mapping: $.
    - name: tableau-update-subscription
      description: Tableau Update Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-subscriptions.updatesubscription
      with:
        subscription-id: tools.subscription-id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: tableau-delete-subscription
      description: Tableau Delete Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-subscriptions.deletesubscription
      with:
        subscription-id: tools.subscription-id
      outputParameters:
      - type: object
        mapping: $.