Skip to content

API reference

The workspace's connections and selected accounts

GET
/v1/connections

The connections of the API key’s own workspace and the accounts selected under each, so a client can offer a connection picker. It is the same list the MCP tool list_connections returns, and it carries ids only: the connection id, the connector id, the connection’s status and the provider account ids. It carries no credential, no provider token, no display name, no user or email, and no data-through date. The workspace is the key’s own; no path, header or query parameter can name another, and nothing of another workspace is returned. API-key authorization is checked again before the buffered answer is released.

A connection that was revoked is not listed. A deselected or inactive account is not listed. status is active or paused; a paused connection stays listed so a picker can show it. The list is whole or refused: a workspace with more than 500 selected accounts gets 413 result_too_large, never a cut list.

The workspace’s connections.

object
connections
required
Array<object>
object
connectionId
required

The connection’s stable id. The same id can exist in two workspaces; it is meaningful only with the key’s workspace.

string
>= 1 characters <= 256 characters
connector
required

The connector’s registry id, as /v1/connectors lists it.

string
>= 1 characters <= 256 characters
status
required
string
Allowed values: active paused
accounts
required

The accounts selected under this connection, by account id, in a stable order.

Array<object>
object
accountId
required

The provider’s own account identifier (a GA4 property id, a Google Ads customer id, a Search Console site and so on).

string
>= 1 characters <= 256 characters
requestId
required

The gateway-generated id of this request, the same value as the X-Request-Id response header.

string
/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/

invalid_query — URL query delimiters are unsupported.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: invalid_query

unauthorized — missing, unknown, expired or revoked key.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: unauthorized
WWW-Authenticate
required
string
Allowed value: Bearer

forbidden — the key lacks the required scope, or the workspace has no plan that allows this.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: forbidden

method_not_allowed — Allow names the method this route accepts.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: method_not_allowed
Allow
required
string
Allowed value: GET

result_too_large — the workspace has more selected accounts than one response lists. Nothing is returned.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: result_too_large

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
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: rate_limited
Retry-After
required
string
/^[1-9][0-9]*$/
RateLimit-Limit
required
string
/^[1-9][0-9]*$/

query_unavailable — the connection list could not be read — or auth_unavailable — the authorization store could not be read. Nothing is guessed; retry with backoff.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed values: query_unavailable auth_unavailable