OpenapiIntegrations
Returns ONE provider with this org's connection status — the same view list…
Returns ONE provider with this org's connection status — the same view list carries, for a single id.
GET /v1/integrations/{provider}
| Address | https://api.hanzo.ai/v1/integrations/{provider} |
| Method | GET |
| Operation | get_integrations_by_provider |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns ONE provider with this org's connection status — the same view list carries, for a single id. An unknown id is 404, and so is a user-plane provider: the org surface never resolves one.
Request
1 field.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
provider | path | string | yes | Provider is the registry id of the connector — "slack", "github", "cloudflare". |
Response
| Status | Body | Meaning |
|---|---|---|
200 | providerView | ok |
200 body — 11 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
available | body | boolean | — | Available is whether THIS DEPLOYMENT has the provider's app credentials, so connect can succeed. |
category | body | string | — | Category groups the card ("Communication", "Developer", "Marketing"). |
connected | body | boolean | — | Connected is whether this org has a live connection to the provider. |
connection | body | connectionView | — | |
connection.account | body | string | — | Account is the human label of the connected third-party account (the Slack team name, the GitHub org login). |
connection.connectedAt | body | string | — | ConnectedAt is when the connection was last (re)established, RFC 3339 UTC. |
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. |
connection.scopes | body | string[] | — | Scopes are the permissions the provider granted. |
description | body | string | — | Description is the one-line pitch the console card shows. |
id | body | string | — | ID is the provider's registry id and the :provider path segment ("slack"). |
name | body | string | — | Name is the provider's display name ("Slack"). |
Failure carries the platform error shape — see Errors.
Examples
hanzo integrations get <provider>import { Configuration, IntegrationsApi } from 'hanzoai';
const api = new IntegrationsApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getIntegrationsByProvider({ provider: 'provider' });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_by_provider(provider='provider')cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.IntegrationsAPI.GetIntegrationsByProvider(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_by_provider(&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).getIntegrationsByProvider();curl https://api.hanzo.ai/v1/integrations/<provider> \
-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?