v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Datasources

Upsert rows

Upsert rows in the table identified by {tId} in the data source identified by {dsId} in the workspace identified by {wId}.

post/api/v1/w/{wId}/spaces/{spaceId}/data_sources/{dsId}/tables/{tId}/rows

Path parameters

wIdstring required

Unique string identifier for the workspace

spaceIdstring required

ID of the space

dsIdstring required

ID of the data source

tIdstring required

ID of the table

Request body

truncateboolean

Whether to truncate existing rows

Response

The table

idinteger

Unique identifier for the datasource

createdAtinteger

Timestamp of when the datasource was created

namestring

Name of the datasource

descriptionstring

Description of the datasource

dustAPIProjectIdstring

ID of the associated Dust API project

connectorIdstring

ID of the connector used for this datasource

connectorProviderstring

Provider of the connector (e.g., 'webcrawler')

assistantDefaultSelectedboolean

Whether this datasource is selected by default for agents

Example response

{
  "id": 12345,
  "createdAt": 1625097600,
  "name": "Customer Knowledge Base",
  "description": "Contains all customer-related information and FAQs",
  "dustAPIProjectId": "5e9d8c7b6a",
  "connectorId": "1f3e5d7c9b",
  "connectorProvider": "webcrawler",
  "assistantDefaultSelected": true
}