Skip to main content
POST
Run Datasource Node

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

dataset_id
string<uuid>
required

Knowledge base ID, from List Knowledge Bases.

node_id
string
required

ID of the datasource node to run, from List Datasource Plugins.

Body

application/json
inputs
object
required

Input variables for the datasource node.

datasource_type
enum<string>
required

Type of the datasource.

Available options:
online_document,
local_file,
website_crawl,
online_drive
is_published
boolean
required

Whether to run the published version of the node instead of the draft.

credential_id
string | null

ID of the credential to authenticate with the datasource, from the credentials array of List Datasource Plugins.

Response

Streaming response with node execution events.

Server-Sent Events stream of node execution progress and results. See SSE Streaming for parsing.