Skip to main content
POST
/
analytics
/
track
Track an analytics event
curl --request POST \
  --url https://console.cloud.timescale.com/public/api/v1/analytics/track \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "service_created",
  "properties": {
    "region": "us-east-1"
  }
}
'
{
  "status": "success"
}

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using your Tiger Cloud public key and secret key.

Format: Authorization: Basic <base64(public_key:secret_key)>

Example:

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)"

Body

application/json
event
string
required

The name of the event to track

Example:

"service_created"

properties
object

Optional map of arbitrary properties associated with the event

Example:
{ "region": "us-east-1" }

Response

Analytics action completed successfully.

status
string

Status of the analytics operation

Example:

"success"