ThoughtSpot AI API

The AI API from ThoughtSpot — 26 operation(s) for ai.

GitHub OpenAPI

Operations 26

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/ai/agent/conversation/create Start a Spotter agent conversation · Create agent conversation #
Ask an LLM
“How do I start a new Spotter agent conversation tied to a data source?”
“What context does a new agent conversation need?”
Tell an agent
Start a new agent conversation with context {metadata_context} and settings {conversation_settings}.
Create a Spotter agent session using {metadata_context} and {conversation_settings}.
POST /api/rest/2.0/ai/conversation/create Start a natural language conversation on a data model · Create conversation #
Ask an LLM
“How do I start a natural language conversation on a worksheet or model?”
“Can I seed a new conversation with a token string?”
Tell an agent
Start a conversation on {metadata_identifier}.
Create a new conversation on {metadata_identifier} with initial tokens {tokens}.
DELETE /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/delete Delete a saved agent conversation · Delete conversation #
Ask an LLM
“How do I permanently delete a saved Spotter conversation?”
“Is deleting an agent conversation reversible?”
Tell an agent destructive · confirm first
Delete agent conversation {conversation_identifier}.
Permanently remove saved conversation {conversation_identifier}.
POST /api/rest/2.0/ai/memory/export Export Spotter memory for data models · Export memory #
Ask an LLM
“How do I export Spotter rules and recipes for a data model?”
“Can I migrate Spotter memory between environments?”
Tell an agent
Export memory for data models {sources}.
Download Spotter memory entries for {sources} as YAML.
GET /api/rest/2.0/ai/agent/instructions/get Get the tenant's agent instructions · Get agent instructions #
Ask an LLM
“What admin instructions are configured for Spotter across the tenant?”
“Where do I read the tenant-wide agent instructions?”
Tell an agent
Get the agent instructions for my tenant.
Show the tenant-wide Spotter admin instructions.
GET /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/messages Get the messages of an agent conversation · Get conversation #
Ask an LLM
“How do I read the full message history of a saved agent conversation?”
“Which data source metadata is included in an agent conversation?”
Tell an agent
Get the messages of agent conversation {conversation_identifier}.
Show the full public-safe content of saved conversation {conversation_identifier}.
GET /api/rest/2.0/ai/agent/conversations List saved agent conversations · Get conversation list #
Ask an LLM
“Which of my conversations are saved?”
“Can I skip empty saved conversations when listing them?”
Tell an agent
List my saved agent conversations.
List saved conversations, skipping empty ones ({skip_empty}).
POST /api/rest/2.0/ai/data-source-suggestions Suggest data sources for a question · Get data source suggestions #
Ask an LLM
“Which data sources are most relevant to a natural language question?”
“Can I get ranked data source suggestions with confidence scores?”
Tell an agent
Suggest data sources for {query}.
Rank data sources relevant to the question {query}.
POST /api/rest/2.0/ai/instructions/get Get natural language instructions for a data model · Get NL instructions #
Ask an LLM
“What natural language instructions are set for a worksheet?”
“Where do I read NL instructions for a data model?”
Tell an agent
Get NL instructions for {data_source_identifier}.
Show the natural language context instructions on {data_source_identifier}.
POST /api/rest/2.0/ai/relevant-questions/ Break a question into analytical sub-questions · Get relevant questions #
Ask an LLM
“How do I decompose a goal-oriented question into smaller analytical questions?”
“Can I cap how many sub-questions a question returns?”
Tell an agent
Break {query} into analytical sub-questions using context {metadata_context}.
Decompose {query} with context {metadata_context} into at most {limit_relevant_questions} sub-questions.
GET /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/get-shared-content Get a shared view of an agent conversation · Get shared content #
Ask an LLM
“How do I read the shared view of a conversation?”
“What does a shared conversation include?”
Tell an agent
Get the shared content of conversation {conversation_identifier}.
Show the read-only shared view of saved conversation {conversation_identifier}.
GET /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/get-share-info Check the share state of a conversation · Get share info #
Ask an LLM
“Is the shared view of my conversation up to date?”
“Who currently has access to a conversation?”
Tell an agent
Get the share info for conversation {conversation_identifier}.
Check whether shared view {conversation_identifier} is outdated.
POST /api/rest/2.0/ai/memory/import Import Spotter memory from YAML · Import memory #
Ask an LLM
“How do I import Spotter rules and recipes from a YAML file?”
“Can I dry-run an imported memory payload first?”
Tell an agent
Import memory {content} with dry run {dry_run}.
Apply the memory import {content} when dry run is {dry_run}.
GET /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/answers/{answer_identifier}/details Load an answer from an agent conversation · Load answer #
Ask an LLM
“How do I fetch the full payload of one answer in a saved conversation?”
“What does an answer item in an agent conversation contain?”
Tell an agent
Load answer {answer_identifier} from conversation {conversation_identifier}.
Get the full answer payload {answer_identifier} in saved conversation {conversation_identifier}.
POST /api/rest/2.0/ai/analytical-questions Deprecated: decompose a question into analytical queries · Query get decomposed query #
Ask an LLM
“Is the old analytical question decomposition still available?”
“How did the deprecated question decomposition map sub-questions to data sources?”
Tell an agent
Use the deprecated question decomposition to break {nlsRequest} into analytical queries.
Decompose {nlsRequest} into up to {maxDecomposedQueries} analytical queries.
POST /api/rest/2.0/ai/agent/conversation/{conversation_identifier}/send Send a message to an agent conversation · Send agent conversation message #
Ask an LLM
“How do I send a follow-up question to an existing Spotter agent conversation?”
“Can I send several messages to an agent conversation at once?”
Tell an agent
Send {messages} to agent conversation {conversation_identifier}.
Continue agent conversation {conversation_identifier} with {messages}.
POST /api/rest/2.0/ai/agent/conversation/{conversation_identifier}/send/stream Stream an agent conversation response · Send agent conversation message streaming #
Ask an LLM
“How do I get an agent conversation response as a real-time stream?”
“Can I stream follow-up messages to an existing agent conversation?”
Tell an agent
Stream {messages} into agent conversation {conversation_identifier}.
Send {messages} to agent conversation {conversation_identifier} and stream the response.
POST /api/rest/2.0/ai/agent/{conversation_identifier}/converse Deprecated: send a message to an agent conversation · Send agent message #
Ask an LLM
“Is the old agent conversation message endpoint still available?”
“How did the deprecated agent message call work?”
Tell an agent
Use the deprecated agent message call to send {messages} to conversation {conversation_identifier}.
Call the legacy agent conversation endpoint for {messages} on {conversation_identifier}.
POST /api/rest/2.0/ai/agent/converse/sse Deprecated: stream an agent conversation response · Send agent message streaming #
Ask an LLM
“Is the old agent conversation streaming endpoint still available?”
“How did the deprecated agent message stream work?”
Tell an agent
Use the deprecated agent message stream to send {messages} to conversation {conversation_identifier}.
Call the legacy agent conversation stream for {messages} on {conversation_identifier}.
POST /api/rest/2.0/ai/conversation/{conversation_identifier}/converse Send a follow-up to a data model conversation · Send message #
Ask an LLM
“How do I send a follow-up question to a conversation on a worksheet?”
“Can I continue a data model conversation with a new message?”
Tell an agent
Send {message} to conversation {conversation_identifier} on {metadata_identifier}.
Continue the conversation {conversation_identifier} on {metadata_identifier} with {message}.
PUT /api/rest/2.0/ai/agent/instructions/set Set admin instructions for the AI agent · Set agent instructions #
Ask an LLM
“How do I set the admin instructions that guide Spotter across all conversations?”
“Can I replace the existing agent instructions for my organization?”
Tell an agent
Set the agent instructions to {instructions}.
Replace the admin instructions for Spotter with {instructions}.
POST /api/rest/2.0/ai/instructions/set Set natural language instructions for a data model · Set NL instructions #
Ask an LLM
“How do I give the AI agent better context for a specific data model?”
“Can I set NL instructions on a worksheet or model?”
Tell an agent
Set NL instructions {nl_instructions_info} on data model {data_source_identifier}.
Give the AI agent better context for {data_source_identifier} with {nl_instructions_info}.
POST /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/share Share an AI conversation with users or groups · Share conversation #
Ask an LLM
“How do I share a saved AI conversation with a colleague?”
“Can I revoke access to a shared conversation?”
Tell an agent
Share conversation {conversation_identifier} with {grant} and revoke access for {revoke}.
Grant {grant} read access to conversation {conversation_identifier} and remove {revoke}.
POST /api/rest/2.0/ai/answer/create Get one AI answer to a natural language question · Single answer #
Ask an LLM
“How do I get a single AI-generated answer to a question without starting a conversation?”
“Can I ask a natural language question against a data model and get one answer back?”
Tell an agent
Get a single answer to {query} against data model {metadata_identifier}.
Answer {query} using {metadata_identifier} in one response.
POST /api/rest/2.0/ai/agent/conversation/{conversation_identifier}/stop-response Stop an in-progress AI conversation response · Stop conversation #
Ask an LLM
“How do I cancel a long-running AI response I no longer need?”
“Can I stop an agent conversation that is still generating?”
Tell an agent destructive · confirm first
Stop the in-progress response for conversation {conversation_identifier}.
Cancel the agent's active response in conversation {conversation_identifier}.
POST /api/rest/2.0/ai/agent/conversations/{conversation_identifier}/update Rename a saved AI conversation · Update conversation #
Ask an LLM
“How do I rename a saved AI conversation?”
“Can I change the title of an existing conversation?”
Tell an agent
Rename conversation {conversation_identifier} to {title}.
Update the title of saved conversation {conversation_identifier} to {title}.

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-ai-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-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtSpot Public REST AI API
  version: '2.0'
servers:
- url: '{base-url}'
  variables:
    base-url:
      default: https://localhost:443
security:
- bearerAuth: []
tags:


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