API reference
Canonical definition of ga4.sessions
GET /v1/metrics/ga4.sessions
Returns the metric definition verbatim from the schema registry. The same
object is embedded in every query result as provenance.metricDefinition,
so a stored answer always carries the definition that produced it.
Read this before comparing a SignalBraid number with a number from somewhere
else: ga4.sessions is the GA4 Data API sessions metric with the date
dimension, in the property’s reporting timezone. It is not a reconstructed
count of session_start events, and it will not match one.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The metric definition.
The canonical definition, embedded in every result.
object
Dates are the property’s calendar dates, never UTC-shifted.
object
invalid_query — the URL carried a query delimiter, including a bare ?.
object
object
object
unauthorized — missing, unknown, expired or revoked key.
object
object
object
Headers
Section titled “Headers ”forbidden — the key lacks the required scope, or the workspace has no plan that allows this.
object
object
object
method_not_allowed — Allow names the method this route accepts.
object
object
object
Headers
Section titled “Headers ”rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up.
It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is
limited the same way, after its lookup, by the key that issued it and the export’s workspace.
Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining
count is returned. The limits themselves are not published here.
object
object
object
Headers
Section titled “Headers ”auth_unavailable — the authorization store could not be reached. Used by
the original REST routes; pilot operations return automation_unavailable.
Retry with backoff.