PgBeam Docs
Analytics

GetVercelInstallation

Get Vercel Marketplace installation status

Returns the Vercel Marketplace installation for the organization, including its provisioned resources and their current-period usage. Returns 404 when the organization was not provisioned through the Vercel Marketplace. Powers the dashboard's Vercel integration page.

Usage

result, err := client.Analytics.GetVercelInstallation(ctx, "org_abc123")

Parameters

ParameterTypeRequiredDescription
ctxcontext.ContextYesRequest context
orgIDstringYesUnique organization identifier.

Response

(*pgbeam.VercelInstallationStatus, error) — vercel installation status.

Example

import pgbeam "go.pgbeam.com/sdk"

client := pgbeam.NewClient(&pgbeam.ClientOptions{
  APIKey: "pgb_your_api_key",
})

result, err := client.Analytics.GetVercelInstallation(ctx, "org_abc123")
if err != nil {
  log.Fatal(err)
}
fmt.Println(result)

Errors

StatusDescription
400Invalid request parameters.
401Missing or invalid authentication.
403Operation not allowed by current plan limits.
404Resource not found.
429Rate limited. Try again later.

On this page