Skip to main content
Skip table of contents

Thoughtspot - Download Search Results to Platform

Overview

Quickly download a natural language Thoughtspot query to a csv

Variables

Name

Reference

Type

Required

Default

Options

Description

API Token

THOUGHTSPOT_TOKEN

Password

-

-

The API token generated from Thoughtspot

Query

THOUGHTSPOT_QUERY

Alphanumeric

-

-

The query you want to download the results for

Table ID

THOUGHTSPOT_TABLE_ID

Alphanumeric

-

-

The GUID for the table to query

Rows

THOUGHTSPOT_ROWS

Alphanumeric

-

-

The number of rows to be returned. If omitted, then all will be returned

File Name

THOUGHTSPOT_FILE_NAME

Alphanumeric

search_data.csv

-

The name of the file to be downloaded. Will default to search_data.csv

YAML

Below is the YAML template for this Template and can be used in the Fleet YAML Editor.

CODE
source:
  blueprint: Thoughtspot - Download Search Results to Shipyard
  inputs:
    THOUGHTSPOT_TOKEN: null  ## REQUIRED
    THOUGHTSPOT_QUERY: null ## REQUIRED
    THOUGHTSPOT_TABLE_ID: null ## REQUIRED
    THOUGHTSPOT_ROWS: null
    THOUGHTSPOT_FILE_NAME: search_data.csv
  type: BLUEPRINT
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - '202'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.