v1

latestOpenAPI 3.1.02026-07-2414103.5 MB

Google Cloud Storage (GCS) Integration

Integrate Similarweb's Batch API with your Google Cloud Storage (GCS) environment. This integration allows clients to store and access exported data directly in their own GCS buckets.

post/batch/v4/gcs-connector/setup

Response

200

expiration_datestring
gcs_bucketstring
gcs_prefixstring
integration_namestring

Example response

{
  "expiration_date": "2025-09-21",
  "gcs_bucket": "sw-daas-production",
  "gcs_prefix": "account_id/gcp_defult/",
  "integration_name": "my_integration",
  "secret": {
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "client_email": "GCP_CLIENT_EMAIL",
    "client_id": "GCP_CLIENT_ID",
    "client_x509_cert_url": "GCP_CLIENT_X509_CERT_URL",
    "private_key": "GCP_PRIVATE_KEY",
    "private_key_id": "GCP_KEY_ID",
    "project_id": "GCP_PROJECT_ID",
    "token_uri": "https://oauth2.googleapis.com/token",
    "type": "service_account",
    "universe_domain": "googleapis.com"
  }
}