Connect Integration

Connect to a source, destination, or embedding model.

Expects a POST body with:

1{
2 "name": "required connection name",
3 ... other config fields specific to the integration type ...
4}

Args:

db: The database session. integration_type: The type of integration to connect to. short_name: The short name of the integration to connect to. name: The name of the connection. config_fields: The config fields for the integration. user: The current user.

Returns:

schemas.Connection: The connection.

Path parameters

integration_typeenumRequired

Integration type enum.

Allowed values:
short_namestringRequired

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
config_fieldsmap from strings to anyRequired
namestringOptional

Response

Successful Response

namestring
integration_typeenum

Integration type enum.

Allowed values:
statusenum

Connection status enum.

Allowed values:
short_namestring
idstringformat: "uuid"
integration_credential_idstringOptionalformat: "uuid"
organization_idstringOptionalformat: "uuid"
created_by_emailstringOptional
modified_by_emailstringOptional

Errors