getKnowledgeConnectorsCatalogWithHttpInfo method

Future<Response> getKnowledgeConnectorsCatalogWithHttpInfo()

Returns the ONE catalog of everything a caller can connect: every first-party connector and every long-tail one, in a single list sorted by provider.

Returns the ONE catalog of everything a caller can connect: every first-party connector and every long-tail one, in a single list sorted by provider. configured reports whether this deployment holds OAuth credentials for a source, so the console can show Connect rather than a dead button, and kind is a badge only — the connect and sync lifecycle is identical for both. The catalog itself is org-independent; a validated principal is still required. It is metadata only: no secret is ever returned.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getKnowledgeConnectorsCatalogWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/knowledge/connectors/catalog';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}