Skip to main content
GET
/
auth
/
info
Get Authentication Info
curl --request GET \
  --url https://console.cloud.timescale.com/public/api/v1/auth/info \
  --header 'Authorization: Basic <encoded-value>'
{
  "type": "apiKey",
  "apiKey": {
    "public_key": "tskey_abc123",
    "name": "my-production-token",
    "created": "2024-01-15T10:30:00Z",
    "project": {
      "id": "rp1pz7uyae",
      "name": "My Production Project",
      "plan_type": "FREE"
    },
    "issuing_user": {
      "id": "user123",
      "name": "John Doe",
      "email": "john.doe@example.com"
    }
  }
}

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

Response

Authentication information retrieved successfully.

type
enum<string>
required

The type of authentication being used

Available options:
apiKey
Example:

"apiKey"

apiKey
object
required

Information about the API key credentials