TThe REST API allows you to query data from ThoughtSpot and embed it in a Web page, portal, or application. To access REST APIs, you must authenticate through SAML SSO. For more information on configuring SAML, see SAML SSO.
To query and modify ThoughtSpot objects using REST APIs, you must add your client application domain as an allowed domain for Cross-Origin Resource Sharing (CORS). When you add your host domain for CORS, ThoughtSpot adds the
access-control-allow-origin header in its API responses.
For more information on whitelisting domains for CORS, see Configure security settings.
The base URI for the REST APIs calls includes the following:
- The hostname or IP address of your ThoughtSpot application instance.
- Port number
- Name of the ThoughtSpot API service
- The version number
For example, in the following URL, the base path is
Note that the API endpoint and resource URLs in the REST API documentation pages omit the base path and show only the API endpoint URL.