ThoughtSpot Metadata API

The Metadata API from ThoughtSpot — 16 operation(s) for metadata.

GitHub OpenAPI
Business capability
Analytics & BI Management BC-610.50

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/rest/2.0/metadata/worksheets/convert Convert worksheets to models · Convert worksheet to model #
Ask an LLM
“How do I turn a worksheet into a model?”
“Can I convert all worksheets to models at once?”
Tell an agent
Convert worksheets {worksheet_ids} to models.
Convert all worksheets to models with apply_changes {apply_changes}.
POST /api/rest/2.0/metadata/copyobject Copy an Answer or Liveboard · Copy object #
Ask an LLM
“How do I duplicate an Answer or Liveboard?”
“Can I give a copied Answer a new title?”
Tell an agent
Copy {type} {identifier} as {title}.
Duplicate the Answer or Liveboard {identifier}.
POST /api/rest/2.0/metadata/delete Delete metadata objects · Delete metadata #
Ask an LLM
“How do I remove an Answer or Liveboard from ThoughtSpot?”
“Can I delete disabled metadata objects too?”
Tell an agent destructive · confirm first
Delete metadata objects {metadata}.
Delete {metadata} and also delete disabled objects: {delete_disabled_objects}.
POST /api/rest/2.0/metadata/tml/export Export metadata as TML · Export metadata TML #
Ask an LLM
“How do I export an Answer or Liveboard as TML?”
“Can I include associated worksheets and tables in the TML export?”
Tell an agent
Export {metadata} as TML.
Export {metadata} as TML with associated objects {export_associated}.
POST /api/rest/2.0/metadata/tml/export/batch Export user, group and role metadata as TML · Export metadata TML batched #
Ask an LLM
“How do I export all users and their roles as ThoughtSpot Metadata Language?”
“Can I include dependent metadata objects when exporting users or groups?”
Tell an agent
Export {metadata_type} metadata as {edoc_format}.
Export {batch_size} {metadata_type} records starting at {batch_offset}.
POST /api/rest/2.0/metadata/answer/sql Get the SQL behind an Answer · Fetch answer sql query #
Ask an LLM
“What SQL query does an Answer run?”
“Can I see the underlying query for one Answer?”
Tell an agent
Fetch the SQL query for Answer {metadata_identifier}.
Show the underlying query of Answer {metadata_identifier}.
POST /api/rest/2.0/metadata/tml/async/status Check a TML import task · Fetch async import task status #
Ask an LLM
“Has my TML import finished?”
“Can I see the status of several TML import tasks?”
Tell an agent
Check the status of TML import tasks {task_ids}.
Show TML import tasks with status {task_status}.
POST /api/rest/2.0/metadata/liveboard/sql Get the SQL behind a Liveboard · Fetch liveboard sql query #
Ask an LLM
“What SQL queries power a Liveboard and its visualizations?”
“Can I see the underlying query for one Liveboard visualization?”
Tell an agent
Fetch the SQL queries for Liveboard {metadata_identifier}.
Show the underlying queries of Liveboard {metadata_identifier} for visualizations {visualization_identifiers}.
POST /api/rest/2.0/metadata/tml/import Import TML files into ThoughtSpot · Import metadata TML #
Ask an LLM
“How do I import TML files into ThoughtSpot?”
“Can I skip the TML diff check when importing?”
Tell an agent
Import TML {metadata_tmls}.
Import TML {metadata_tmls} with policy {import_policy} and create new objects {create_new}.
POST /api/rest/2.0/metadata/tml/async/import Schedule a TML import in the background · Import metadata TML async #
Ask an LLM
“How do I import large TML files without waiting?”
“Can I schedule a TML import and check it later?”
Tell an agent
Schedule a background TML import of {metadata_tmls}.
Import TML {metadata_tmls} asynchronously with policy {import_policy}.
POST /api/rest/2.0/metadata/parameterize Parameterize one field in a connection or table · Parameterize metadata #
Ask an LLM
“How do I parameterize a single field on a connection?”
“Can I replace one field's value with a variable?”
Tell an agent
Parameterize {field_type} {field_name} on {metadata_type} {metadata_identifier} with variable {variable_identifier}.
Set {field_type} {field_name} of {metadata_type} {metadata_identifier} to variable {variable_identifier}.
POST /api/rest/2.0/metadata/parameterize-fields Parameterize several fields in a connection or table · Parameterize metadata fields #
Ask an LLM
“How do I parameterize multiple fields on a connection at once?”
“Can I parameterize schema and database name together?”
Tell an agent
Parameterize {field_type} fields {field_names} on {metadata_type} {metadata_identifier} with variable {variable_identifier}.
Set {field_type} fields {field_names} of {metadata_type} {metadata_identifier} to variable {variable_identifier}.
POST /api/rest/2.0/metadata/search Search metadata objects · Search metadata #
Ask an LLM
“How do I find an Answer or Liveboard by name?”
“Can I search metadata objects created by a specific user?”
Tell an agent
Search metadata for {metadata}.
Find metadata objects created by {created_by_user_identifiers}.
POST /api/rest/2.0/metadata/unparameterize Replace a parameterized field's value · Unparameterize metadata #
Ask an LLM
“How do I replace a parameterized field's value with a real value?”
“Can I unparameterize a single field on a connection?”
Tell an agent
Unparameterize {field_type} {field_name} on {metadata_type} {metadata_identifier} and set it to {value}.
Replace the parameter value of {field_type} {field_name} on {metadata_type} {metadata_identifier} with {value}.
POST /api/rest/2.0/metadata/headers/update Update header attributes of metadata objects · Update metadata header #
Ask an LLM
“How do I update the header attributes of several metadata objects?”
“Can I update headers in a specific organization?”
Tell an agent
Update the headers {headers_update}.
Update headers {headers_update} in organization {org_identifier}.
POST /api/rest/2.0/metadata/update-obj-id Update object IDs of metadata objects · Update metadata obj id #
Ask an LLM
“How do I change the object ID of a metadata object?”
“Can I update several metadata object IDs in one request?”
Tell an agent
Update the object IDs of {metadata}.
Change the object ID of metadata {metadata} to a new value.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thoughtspot:thoughtspot-metadata-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thoughtspot-metadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtSpot Public REST Metadata API
  version: '2.0'
servers:
- url: '{base-url}'
  variables:
    base-url:
      default: https://localhost:443
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (91 KB total) ---
# Full source: https://artifacts.apis.io/thoughtspot/openapi/thoughtspot-metadata-api-openapi.yml