Skip to main content
  • API Version: 1.0.0
  • Base URL: https://console.cloud.timescale.com/public/api/v1

Authentication

The Tiger Cloud REST API uses HTTP Basic Authentication. Include your public key and secret key in the Authorization header. To run the samples in this API reference, add your public key and secret key as the Authorization.username and Authorization.password when you run the calls.

Basic Authentication

Authorization: Basic <base64(public_key:secret_key)>

Samples

List all services

curl -X GET "https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/services" \
  -H "Authorization: Basic $(echo -n 'your_public_key:your_secret_key' | base64)"

Create a new service

curl -X POST "https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/services" \
  -H "Authorization: Basic $(echo -n 'your_public_key:your_secret_key' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-production-db",
    "region_code": "us-east-1",
    "compute": {
      "cpu": "0.5",
      "memory_gb": 2
    }
  }'

Create a VPC

curl -X POST "https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/vpcs" \
  -H "Authorization: Basic $(echo -n 'your_public_key:your_secret_key' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-vpc",
    "region_code": "us-east-1",
    "cidr": "10.0.0.0/16"
  }'

Create a read replica set

curl -X POST "https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/services/{service_id}/replicaSets" \
  -H "Authorization: Basic $(echo -n 'your_public_key:your_secret_key' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "region_code": "us-west-2",
    "compute": {
      "cpu": "0.5",
      "memory_gb": 2
    }
  }'

API Endpoints

The REST API is organized around the following resource types:

Authentication

Get information about your API credentials:

Service Management

Manage Tiger Cloud database services:

Read Replica Sets

Manage read replicas for improved read performance:

VPC Management

Manage Virtual Private Clouds for network isolation:

VPC Peering

Manage peering connections between VPCs:

Analytics

Track usage and events for analytics purposes: