Introduction

Welcome to the TetraScience application programming interface (API) reference. This guide describes various REST API operations for the Tetra Scientific Data and AI Cloud, related request and response structures, and error codes.

The TetraScience API accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, JSON Web Token (JWT) authentication, and HTTP methods (verbs).

Common Workflows

The TetraScience API provides methods to programmatically do the following:

Example API Setups

For example TetraScience API setups, see the ts-scientific-data-cloud-api-examples GitHub repo.

API URLs

Each TDP environment has a unique API URL that must be used to call TetraScience API endpoints. To identify which API URL to use in your requests, review the following deployment URLs and confirm which one you use to access your target TDP environment. Then, use its listed API URL in your requests.

Tetra-Hosted MT Deployment API URLs

Tetra-hosted multi-tenant (MT) deployments use the following API URLs:

RegionDeployment URLDeploymentAPI URL
US
platform.tetrascience.comMThttps://api.tetrascience.com/v1/
platform-us.tetrascience.comMT 2https://api.platform-us.tetrascience.com/v1/
gxp.tetrascience.comMT GxP Prodhttps://api.gxp.tetrascience.com/v1/
EU
platform-eu.tetrascience.comMThttps://api.platform-eu.tetrascience.com/v1/
platform-eu2.tetrascience.comMT 2https://api.platform-eu2.tetrascience.com/v1/
gxp-eu-val.tetrascience.comMT GxP Valhttps://api.gxp-eu-val.tetrascience.com/v1/
gxp-eu.tetrascience.comMT GxP Prodhttps://api.gxp-eu.tetrascience.com/v1/

Tetra-Hosted ST Deployment API URLs

Tetra-hosted single-tenant (ST) deployments use the following API URL format: https://api.<customer tenant>.tetrascience.com/v1/

Customer-Hosted Deployment API URLs

Customer-hosted deployments use the following API URL format: https://api.<your TDP deployment URL>/v1/

📘

NOTE

For new TDP environments, TetraScience no longer supports customer-hosted deployments. For more information about managing legacy, customer-hosted TDP deployments, see the following resources in the TetraConnect Hub:

For access, see Access the TetraConnect Hub.