Create

Create a new datasource

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
typestringRequired
descriptionstringOptional
contentstringOptional
urlstringOptional
metadatamap from strings to anyOptional
vectorDbIdstringOptional
embeddingsModelProviderenumOptional
An enumeration.
Allowed values:

Response

This endpoint returns an object.
successboolean
dataobject or null
Represents a Datasource record

Errors