Hanzo AI
OpenapiProvider

List connection

Lists the caller's OWN connectors across every provider — the set `hanzo connector ls` prints.

GET /v1/connection

Addresshttps://api.hanzo.ai/v1/connection
MethodGET
Operationget_connection
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the caller's OWN connectors across every provider — the set hanzo connector ls prints. Rows are keyed (org,user), so this can never surface another user's connector, and no secret is in the view.

Request

GET /v1/connection takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200provider.connectionsOutok
defaultproblem-detailsrefused

200 body — 9 fields.

FieldInTypeAlwaysDescription
connectionsbodyprovider.connectionView[]Connectors is the caller's own set.
connections[].accountbodystringAccount is the human label of the connected third-party account (the Slack team name, the GitHub org login).
connections[].connectedAtbodystringConnectedAt is when the connection was last (re)established, RFC 3339 UTC.
connections[].expiresAtbodystringExpiresAt is when the access token expires, RFC 3339 UTC; empty for a credential that does not expire.
connections[].externalIdbodystringExternalID is the provider's own id for the account (Slack team.id, GitHub installation_id) — the value inbound webhooks are mapped back to this org by.
connections[].idbodystringID is provider + ":" + label, the address every connection route takes.
connections[].labelbodystringLabel is the caller's own name for this connection ("default", "work").
connections[].providerbodystringProvider is the connected provider's registry id.
connections[].scopesbodystring[]Scopes are the permissions the provider granted.

Failure carries the platform error shape — see Errors.

Examples

hanzo connection list

Provider API · All Hanzo APIs · Interactive reference

How is this guide?

On this page