Knowledge Pipeline

List Datasource Plugins

Returns the datasource nodes configured in the knowledge pipeline, each with the plugin it uses and the metadata needed to run it.

get/datasets/{dataset_id}/pipeline/datasource-plugins

Request

  • Base URL
    https://api.dify.ai/v1
  • URL
    https://api.dify.ai/v1/datasets/{dataset_id}/pipeline/datasource-plugins
  • Auth
    HTTP bearer

Path parameters

dataset_idstring uuid required

Knowledge base ID, from List Knowledge Bases. For a scoped key, copy the ID from the Dify URL.

Query parameters

is_publishedboolean

Whether to read nodes from the published pipeline version rather than the draft.

Response

List of datasource nodes configured in the pipeline.

datasource_typestring

Type of datasource. One of local_file, online_document, online_drive, website_crawl.

node_idstring

ID of the datasource node in the pipeline workflow. Pass this as node_id to Run Datasource Node, or as start_node_id to Run Pipeline.

plugin_idstring

ID of the datasource plugin providing this node.

provider_namestring

Provider name registered by the datasource plugin.

titlestring

Display title configured for the node.

user_input_variablesobject[]

Pipeline input variables the caller must supply for this datasource, derived from {{#...#}} references in the node's datasource parameters. Each item follows the pipeline variable schema used by the workflow.

Changes

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