Returns every registered integration provider together with THIS org's…
Returns every registered integration provider together with THIS org's connection status for it — the catalog the console's Integrations page renders.
GET /v1/integrations
| Address | https://api.hanzo.ai/v1/integrations |
| Method | GET |
| Operation | get_integrations |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns every registered integration provider together with THIS org's connection status for it — the catalog the console's Integrations page renders. Org-authed: a caller with no validated principal is 403, because the status is per-org and there is no org-less answer. User-plane providers (the /v1/integrations/connectors surface) are omitted; the two planes are disjoint.
Request
GET /v1/integrations takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | listOut | ok |
200 body — 12 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
providers | body | providerView[] | — | Providers is the whole catalog. |
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[].connected | body | boolean | — | Connected is whether this org has a live connection to the provider. |
providers[].connection | body | 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.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.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[].id | body | string | — | ID is the provider's registry id and the :provider path segment ("slack"). |
providers[].name | body | string | — | Name is the provider's display name ("Slack"). |
Failure carries the platform error shape — see Errors.
Examples
hanzo integrations listimport { Configuration, IntegrationsApi } from 'hanzoai';
const api = new IntegrationsApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getIntegrations();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import IntegrationsApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = IntegrationsApi(client).get_integrations()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.IntegrationsAPI.GetIntegrations(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, integrations_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = integrations_api::get_integrations(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.IntegrationsApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new IntegrationsApi(client).getIntegrations();curl https://api.hanzo.ai/v1/integrations \
-H "Authorization: Bearer $HANZO_API_KEY"The door reaches integrations through the integrations tool, which names its 45 operations with its own verbs — this one among them, under a name only the door 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_connectors"
}
}
}'How is this guide?