API reference
Overview
Bounded, authenticated access to published business data with provenance.
SignalBraid API (0.1.0)
Section titled “SignalBraid API (0.1.0)”The SignalBraid API gives bounded, authenticated access to the business data a workspace has published, with provenance on every answer. Authenticate every request except the health check with an API key sent as a bearer token. Owners and admins of an organization create the keys in the SignalBraid app.
Today the GA4 query serves ga4.sessions by date, from one Google Analytics 4
property per connection, over REST and over MCP (POST /v1/query and the MCP tool
query_metrics). Google Ads campaign performance by day is the profile
google-ads.campaign_daily, also served over REST and over the MCP tool query_metrics. The Search Console
profiles are served at POST /v1/query and POST /v1/query/search-console, and over the MCP tool query_metrics. Over
REST only, POST /v1/query/ads reads the published advertising performance of a
workspace’s selected Google Ads accounts; a workspace has accounts to query only
once one has been selected for it. The Sheets delivery, Ads Sheet and Search Console
Sheet operations below set up scheduled delivery to a Google Sheet, with one schedule per destination.
The Sheets delivery operations deliver Google Analytics 4 data. File exports of a query are the Exports operations; they write CSV or Parquet.
Per-plan API rate limits apply. A refused request is 429 rate_limited, with
Retry-After and RateLimit-Limit headers. The limit values are not published here.
The MCP route is not a REST operation and is not described here. It is limited by the same per-plan limiter, and two of its error codes differ from the REST codes below. See MCP.
Provenance is part of every answer. A successful query returns the rows, the metric definition that produced them, the exact snapshot each day came from, how fresh those snapshots are, and the limitations that still apply. A result is returned only when every requested day has a complete published snapshot; a partial window is an error, never a silently short answer.
Two limitations apply to every result and are returned as flags rather than left
to the reader: provider_may_revise_recent_data (GA4 restates recent days, so a
value can change after publication) and not_independently_reconciled (the
product does not re-derive the number from a second source).
Responses the gateway produces carry X-Request-Id. The gateway mints a UUID for each
request and returns it in the X-Request-Id header of the responses it serves, successes and
errors alike, MCP and preflight included. A response produced by a layer in front of the
gateway is outside this guarantee. A value sent by the caller is ignored, never echoed. A GA4
or ads query result repeats the id as requestId in its body. The header is not repeated on
each response below.
- SignalBraid: https://signalbraid.com
- License: Proprietary
- OpenAPI version: 3.1.0
Authentication
Section titled “ Authentication ”bearerAuth
Section titled “bearerAuth ”Authorization: Bearer <key>. Keys are verified with HMAC-SHA-256 against
authoritative control-plane records on every request — revocation and expiry
take effect immediately, including during an in-flight read.
Two scopes exist. query:read covers /v1/query,
/v1/metrics/ga4.sessions, /v1/usage, /v1/connections, /v1/query/export, /v1/exports/{exportId} and its file and links, MCP and GET pilot schedule status; sync:write
covers sync routes and all POST pilot operations.
They are separate: a sync:write key cannot read data.
Owners and admins of an organization create, rotate and revoke its API keys in the SignalBraid app, under Settings, on the API access tab, after a two-step verification. See Authentication.
Security scheme type: http