Use the Savanna REST (Representational State Transfer) API to provision workgroups and workspaces, manage cloud providers and add-ons, protect data with backups, control network access, and administer your organization programmatically.

The Savanna REST API is the control plane for TigerGraph Savanna. It manages the resources around your graph so you can automate the full lifecycle of a workspace from your own scripts, services, and CI/CD pipelines instead of the Savanna UI. Every endpoint is relative to a single base URL:

https://api.tgcloud.io

To read and write the data inside a workspace (schema, loading jobs, and GSQL), call that workspace host with the GSQL endpoints (schema, loading, and query installation) and the REST++ built-in endpoints (run queries and read or upsert graph data). You can also generate snippets from the console with Connect via APIs.

The resource model

Control-plane resources are nested, which makes the endpoints predictable: an organization owns cloud providers and workgroups, a workgroup contains workspaces, and each workspace is attached to a database created with that workspace. Add-ons install at the organization and attach to a workspace.

Authentication

Every request to this API needs an API key in the x-api-key header. If you don’t have a key yet, create an API key in Savanna. Only an organization administrator can create one. If you don’t have that role, reach out to an organization administrator to mint a key with the access you need.

Endpoints

The list below is grouped by task. Each endpoint has its own page with the parameters, payload, and responses for that call.

Choose a cloud provider

TigerGraph-operated providers are the default. Bring Your Own Cloud (BYOC) registers a cloud account you own so workgroups can run there.

Provision graph infrastructure

Create, update, and delete the workgroups and workspaces that host your graphs. A database is created with the workspace; there is no separate create-database call.

Run workspaces on your terms

Control when a workspace is running so it is available when you need it and idle when you don’t.

Protect data with backups

Back up a workspace, restore it, and automate backups on a recurring schedule.

A backup schedule automates snapshots of your data. A workspace schedule automates pausing and resuming compute. They are separate features on separate endpoints.

Control who can connect

Restrict network access to a workgroup and manage the database users inside a workspace.

Enable add-ons

Install GraphStudio, Insights, GraphQL, and other add-ons, then attach them to a workspace.

Administer your organization

Discover available capacity and manage the people in your org.

Common use cases