Update a Connector

PATCH

Update a connector by ID. Omitted fields will not be updated. See ‘Managing your Connector’ for more information.

Path parameters

idstringRequired

The ID of the connector to update.

Headers

X-Client-NamestringOptional

The name of the project that is making the request.

Request

This endpoint expects an object.
namestringOptional

A human-readable name for the connector.

urlstringOptional

The URL of the connector that will be used to search for documents.

excludeslist of stringsOptional

A list of fields to exclude from the prompt (fields remain in the document).

oauthobjectOptional

The OAuth 2.0 configuration for the connector. Cannot be specified if service_auth is specified.

activebooleanOptional
continue_on_failurebooleanOptional
service_authobjectOptional

The service to service authentication configuration for the connector. Cannot be specified if oauth is specified.

Response

This endpoint returns an object.
connectorobject

A connector allows you to integrate data sources with the ‘/chat’ endpoint to create grounded generations with citations to the data source. documents to help answer users.