Hanzo
OpenapiKnowledge

Returns every supported knowledge connector with THIS org's connection state…

Returns every supported knowledge connector with THIS org's connection state and the REAL number of documents each has ingested into the org's store.

GET /v1/knowledge/connectors

Addresshttps://api.hanzo.ai/v1/knowledge/connectors
MethodGET
Operationget_knowledge_connectors
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every supported knowledge connector with THIS org's connection state and the REAL number of documents each has ingested into the org's store. A provider that is configured for the deployment but not yet connected appears as disconnected, so the console can offer a Connect button. No secret is ever returned.

Request

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

Response

StatusBodyMeaning
200kbConnectorsOutok

200 body — 9 fields.

FieldInTypeAlwaysDescription
connectorsbodyconnectorView[]Connectors is every supported provider with this org's connection state.
connectors[].accountbodystringAccount names the connected external account.
connectors[].configuredbodybooleanConfigured is true when this deployment holds OAuth credentials for the provider.
connectors[].docCountbodyintegerDocCount is the live count of this provider's documents in the org's store.
connectors[].errorbodystringError is the last sync failure, if any.
connectors[].kindbodystringKind is "native" for a first-party Go connector, "piece" for a long-tail one.
connectors[].lastSyncbodystringLastSync is when the last pull finished.
connectors[].providerbodystringProvider is the connector's id.
connectors[].statusbodystringStatus is connected, disconnected, syncing or error.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Knowledge API · All Hanzo APIs · Interactive reference

How is this guide?

On this page