data_sources

Authorize a data source

Start OAuth2 authorization flow for a data source.

Initiates the OAuth2 authorization process by redirecting the user to the external service's authorization page. After authorization, the user will be redirected back to the oauth2_callback endpoint.

Args: data_source_id: The ID of the data source to authorize

Returns: Redirect to the OAuth2 provider's authorization page

Raises: DataSourceNotFoundError: When data source doesn't exist DataSourceAuthTypeNotSupportedError: When OAuth2 is not supported for this data source type

get/v1/data_sources/{data_source_id}/oauth2/authorize

Request

  • Base URL
    https://api.mixedbread.com
  • URL
    https://api.mixedbread.com/v1/data_sources/{data_source_id}/oauth2/authorize
  • Auth
    HTTP bearer

Path parameters

data_source_idstring uuid required

The ID of the data source to authorize

Response

The authorization URL

unknown required

Changes

No recorded changes to this operation across all 44 revisions of this API.