List providers
Lists the USER-plane provider cards.
GET /v1/connection/providers
| Address | https://api.hanzo.ai/v1/connection/providers |
| Method | GET |
| Operation | get_connection_providers |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Lists the USER-plane provider cards. It is not the org catalog at /v1/provider and the two are not a duplicate of one another: a provider declares its custody plane, and the planes are disjoint, so a user-scoped provider 404s on the org surface and vice versa. Hence the catalog of what a user can connect, and how. Modes derive from capabilities (Device/Adopt/Verify — Mount asserts at least one), never from a parallel kind enum.
Request
GET /v1/connection/providers takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | provider.userCatalogOut | ok |
default | problem-details | refused |
200 body — 55 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
providers | body | provider.providerView[] | — | Providers is every USER-scoped provider, sorted by id. |
providers[].actions | body | provider.opView[] | — | Actions are what the connector can be asked to do, by a flow step or an agent (POST /v1/provider/{provider}/run when Runnable). |
providers[].actions[].description | body | string | — | Description says what it does. |
providers[].actions[].displayName | body | string | — | DisplayName is what the card calls it. |
providers[].actions[].name | body | string | — | Name is the action's id — what a run or a flow step names. |
providers[].actions[].props | body | provider.PropSpec[] | — | Props are its inputs — what POST /v1/provider/{provider}/run takes as input. |
providers[].actions[].props[].description | body | string | — | Description says what the value is. |
providers[].actions[].props[].displayName | body | string | — | DisplayName is what a form calls it. |
providers[].actions[].props[].name | body | string | — | Name is the input's key in the action's input object. |
providers[].actions[].props[].required | body | boolean | — | Required is whether the action refuses to run without it. |
providers[].actions[].props[].type | body | string | — | Type is the JSON type the value takes: string|number|boolean|object|array. |
providers[].app | body | string | — | App names the OAuth app registration its sign-in uses ("GOOGLE"), for a connector whose sign-in awaits one. |
providers[].available | body | boolean | — | Available is whether THIS DEPLOYMENT has the provider's app credentials, so connect can succeed. |
providers[].category | body | string | — | Category groups the card ("Communication", "Developer", "Marketing"). |
providers[].checks | body | boolean | — | Checks is whether a pasted credential is checked with the provider before it is stored. |
providers[].connected | body | boolean | — | Connected is whether this org has a live connection to the provider. |
providers[].connection | body | provider.connectionView | — | |
providers[].connection.account | body | string | — | Account is the human label of the connected third-party account (the Slack team name, the GitHub org login). |
providers[].connection.connectedAt | body | string | — | ConnectedAt is when the connection was last (re)established, RFC 3339 UTC. |
providers[].connection.expiresAt | body | string | — | ExpiresAt is when the access token expires, RFC 3339 UTC; empty for a credential that does not expire. |
providers[].connection.externalId | body | string | — | ExternalID 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. |
providers[].connection.id | body | string | — | ID is provider + ":" + label, the address every connection route takes. |
providers[].connection.label | body | string | — | Label is the caller's own name for this connection ("default", "work"). |
providers[].connection.provider | body | string | — | Provider is the connected provider's registry id. |
providers[].connection.scopes | body | string[] | — | Scopes are the permissions the provider granted. |
providers[].description | body | string | — | Description is the one-line pitch the console card shows. |
providers[].fields | body | provider.Field[] | — | Fields is the form a credential connector asks for. |
providers[].fields[].default | body | string | — | Default is what an empty input stands for. |
providers[].fields[].help | body | string | — | Help is the connector's own instruction for finding the value. |
providers[].fields[].label | body | string | — | Label is what the input is called on the form. |
providers[].fields[].name | body | string | — | Name is the key the value is submitted under. |
providers[].fields[].options | body | provider.FieldOption[] | — | Options are the values a choice field accepts. |
providers[].fields[].options[].label | body | string | — | Label is what the choice is called. |
providers[].fields[].options[].value | body | string | — | Value is what submitting it sends. |
providers[].fields[].required | body | boolean | — | Required is whether the form refuses to submit without it. |
providers[].fields[].secret | body | boolean | — | Secret masks the input; its value is sealed and never read back. |
providers[].fields[].type | body | string | — | Type is "number", "boolean" or "text" (multi-line) when the value is not a single line of text. |
providers[].id | body | string | — | ID is the provider's registry id and the :provider path segment ("slack"). |
providers[].kind | body | string | — | Kind is how a reader connects it NOW: "oauth" (send the browser to the provider), "credential" (fill in Fields), "device" (enter a code), or "none" (nothing to connect — ready, or not connectable here; Note says). |
providers[].logo | body | string | — | Logo is where the connector's logo is served. |
providers[].modes | body | string[] | — | Modes are the ways this provider can be connected, derived from what it actually declares — "managed", "oauth", "apikey", "device", "mcp". |
providers[].name | body | string | — | Name is the provider's display name ("Slack"). |
providers[].note | body | string | — | Note says why the connector cannot be connected here, when it cannot. |
providers[].runnable | body | boolean | — | Runnable is whether its actions run on this deployment. |
providers[].scopes | body | string[] | — | Scopes are the permissions a connection will ask for. |
providers[].triggers | body | provider.opView[] | — | Triggers are the events a flow can start on. |
providers[].triggers[].description | body | string | — | Description says what it does. |
providers[].triggers[].displayName | body | string | — | DisplayName is what the card calls it. |
providers[].triggers[].name | body | string | — | Name is the action's id — what a run or a flow step names. |
providers[].triggers[].props | body | provider.PropSpec[] | — | Props are its inputs — what POST /v1/provider/{provider}/run takes as input. |
providers[].triggers[].props[].description | body | string | — | Description says what the value is. |
providers[].triggers[].props[].displayName | body | string | — | DisplayName is what a form calls it. |
providers[].triggers[].props[].name | body | string | — | Name is the input's key in the action's input object. |
providers[].triggers[].props[].required | body | boolean | — | Required is whether the action refuses to run without it. |
providers[].triggers[].props[].type | body | string | — | Type is the JSON type the value takes: string|number|boolean|object|array. |
Failure carries the platform error shape — see Errors.
Examples
hanzo connection providersimport { Configuration, ProviderApi } from 'hanzoai';
const api = new ProviderApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getConnectionProviders();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import ProviderApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = ProviderApi(client).get_connection_providers()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.ProviderAPI.GetConnectionProviders(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, provider_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = provider_api::get_connection_providers(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.ProviderApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new ProviderApi(client).getConnectionProviders();curl https://api.hanzo.ai/v1/connection/providers \
-H "Authorization: Bearer $HANZO_API_KEY"MCP reaches provider through the provider tool, which names its 38 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "describe",
"arguments": {
"op": "list_connections"
}
}
}'