Create

POST

Create a new datasource

Request

This endpoint expects an object.
namestringRequired
typestringRequired
descriptionstringOptional
contentstringOptional
urlstringOptional
metadatamap from strings to anyOptional
vectorDbIdstringOptional
embeddingsModelProvider"OPENAI" or "AZURE_OPENAI"Optional
Allowed values: OPENAIAZURE_OPENAI

An enumeration.

Response

This endpoint returns an object.
successboolean
dataobjectOptional

Represents a Datasource record