Data Sources
List Pipeline Data Sources
client.pipelines.dataSources.getDataSources(stringpipelineID, RequestOptionsoptions?): DataSourceGetDataSourcesResponse { id, component, data_source_id, 13 more }
GET/api/v1/pipelines/{pipeline_id}/data-sources
Add Data Sources To Pipeline
client.pipelines.dataSources.updateDataSources(stringpipelineID, DataSourceUpdateDataSourcesParams { body } params, RequestOptionsoptions?): DataSourceUpdateDataSourcesResponse { id, component, data_source_id, 13 more }
PUT/api/v1/pipelines/{pipeline_id}/data-sources
Update Pipeline Data Source
client.pipelines.dataSources.update(stringdataSourceID, DataSourceUpdateParams { pipeline_id, sync_interval } params, RequestOptionsoptions?): PipelineDataSource { id, component, data_source_id, 13 more }
PUT/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}
Get Pipeline Data Source Status
client.pipelines.dataSources.getStatus(stringdataSourceID, DataSourceGetStatusParams { pipeline_id } params, RequestOptionsoptions?): ManagedIngestionStatusResponse { status, deployment_date, effective_at, 2 more }
GET/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}/status
Sync Pipeline Data Source
client.pipelines.dataSources.sync(stringdataSourceID, DataSourceSyncParams { pipeline_id, pipeline_file_ids } params, RequestOptionsoptions?): Pipeline { id, embedding_config, name, 15 more }
POST/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}/sync
ModelsExpand Collapse
PipelineDataSource { id, component, data_source_id, 13 more }
PipelineDataSource { id, component, data_source_id, 13 more }
Schema for a data source in a pipeline.
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
Component that implements the data source
One of the following:
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
exclude_path_patterns?: Array<string> | null
exclude_path_patterns?: Array<string> | null
List of regex patterns for file paths to exclude. Files whose paths (including filename) match any pattern will be excluded. Example: [‘/temp/’, ‘/backup/’, ‘.git/’, ‘.tmp$’, ’^~’]
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
DataSourceGetDataSourcesResponse = Array<PipelineDataSource { id, component, data_source_id, 13 more } >
DataSourceGetDataSourcesResponse = Array<PipelineDataSource { id, component, data_source_id, 13 more } >
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
Component that implements the data source
One of the following:
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
exclude_path_patterns?: Array<string> | null
exclude_path_patterns?: Array<string> | null
List of regex patterns for file paths to exclude. Files whose paths (including filename) match any pattern will be excluded. Example: [‘/temp/’, ‘/backup/’, ‘.git/’, ‘.tmp$’, ’^~’]
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
DataSourceUpdateDataSourcesResponse = Array<PipelineDataSource { id, component, data_source_id, 13 more } >
DataSourceUpdateDataSourcesResponse = Array<PipelineDataSource { id, component, data_source_id, 13 more } >
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
component: Record<string, unknown> | CloudS3DataSource { bucket, aws_access_id, aws_access_secret, 5 more } | CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more } | 9 more
Component that implements the data source
One of the following:
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudAzStorageBlobDataSource { account_url, container_name, account_key, 8 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
CloudSharepointDataSource { client_id, client_secret, tenant_id, 11 more }
exclude_path_patterns?: Array<string> | null
exclude_path_patterns?: Array<string> | null
List of regex patterns for file paths to exclude. Files whose paths (including filename) match any pattern will be excluded. Example: [‘/temp/’, ‘/backup/’, ‘.git/’, ‘.tmp$’, ’^~’]
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudConfluenceDataSource { authentication_mechanism, server_url, api_token, 10 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSource { authentication_mechanism, query, api_token, 5 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudJiraDataSourceV2 { authentication_mechanism, query, server_url, 10 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
CloudBoxDataSource { authentication_mechanism, class_name, client_id, 6 more }
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
custom_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null