/v1/connectorsCreate a ConnectorCreates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See 'Creating and Deploying a Connector' for more information.
Parameters
X-Client-NamestringheaderThe name of the project that is making the request.
Request body
requiredapplication/json
activebooleanWhether the connector is active or not.
continue_on_failurebooleanWhether a chat request should continue or not if the request to this connector fails.
descriptionstringA description of the connector.
excludesarray of stringA list of fields to exclude from the prompt (fields remain in the document).
Show child attributes
namestringrequiredA human-readable name for the connector.
oauthobjectShow child attributes
authorize_urlstringThe OAuth 2.0 /authorize endpoint to use when users authorize the connector.
client_idstringThe OAuth 2.0 client ID. This fields is encrypted at rest.
client_secretstringThe OAuth 2.0 client Secret. This field is encrypted at rest and never returned in a response.
scopestringThe OAuth scopes to request when users authorize the connector.
token_urlstringThe OAuth 2.0 /token endpoint to use when users authorize the connector.
service_authobjectShow child attributes
tokenstringrequiredThe token that will be used in the HTTP Authorization header when making requests to the connector. This field is encrypted at rest and never returned in a response.
typestringrequiredThe token_type specifies the way the token is passed in the Authorization header. Valid values are "bearer", "basic", and "noscheme".
urlstringrequiredThe URL of the connector that will be used to search for documents.
{
"active": true,
"continue_on_failure": false,
"description": "string",
"excludes": [
"string"
],
"name": "string",
"oauth": {
"authorize_url": "string",
"client_id": "string",
"client_secret": "",
"scope": "string",
"token_url": "string"
},
"service_auth": {
"token": "string",
"type": "noscheme"
},
"url": "string"
}Responses
connectorobjectrequiredA 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.
Show child attributes
activebooleanWhether the connector is active or not.
auth_statusstringThe OAuth status for the user making the request. One of ["valid", "expired", ""]. Empty string (field is omitted) means the user has not authorized the connector yet.
auth_typestring · enumThe type of authentication/authorization used by the connector. Possible values: [oauth, service_auth]
continue_on_failurebooleanWhether a chat request should continue or not if the request to this connector fails.
created_atstring · date-timerequiredThe UTC time at which the connector was created.
descriptionstringA description of the connector.
excludesarray of stringA list of fields to exclude from the prompt (fields remain in the document).
Show child attributes
idstringrequiredThe unique identifier of the connector (used in both `/connectors` & `/chat` endpoints). This is automatically created from the name of the connector upon registration.
namestringrequiredA human-readable name for the connector.
oauthobjectShow child attributes
authorize_urlstringrequiredThe OAuth 2.0 /authorize endpoint to use when users authorize the connector.
client_idstringThe OAuth 2.0 client ID. This field is encrypted at rest.
client_secretstringThe OAuth 2.0 client Secret. This field is encrypted at rest and never returned in a response.
scopestringThe OAuth scopes to request when users authorize the connector.
token_urlstringrequiredThe OAuth 2.0 /token endpoint to use when users authorize the connector.
organization_idstringThe organization to which this connector belongs. This is automatically set to the organization of the user who created the connector.
updated_atstring · date-timerequiredThe UTC time at which the connector was last updated.
urlstringThe URL of the connector that will be used to search for documents.
{
"connector": {
"active": true,
"auth_status": "expired",
"auth_type": "string",
"continue_on_failure": true,
"created_at": "2026-06-09T00:00:00Z",
"description": "string",
"excludes": [
"string"
],
"id": "string",
"name": "string",
"oauth": {
"authorize_url": "string",
"client_id": "string",
"client_secret": "",
"scope": "string",
"token_url": "string"
},
"organization_id": "string",
"updated_at": "2026-06-09T00:00:00Z",
"url": "string"
}
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}idstringmessagestring{
"id": "string",
"message": "string"
}