Discord
GitHub
Login
Search...
/
Overview
Templates
API Reference
Introduction
Authentication
API Reference
Agent
Llm
API User
API Key
Datasource
GET
List
POST
Create
GET
Get
DEL
Delete
PATCH
Update
Tool
Workflow
Workflow Config
Vector Database
Discord
GitHub
Login
API Reference
Datasource
Create
POST
https://api.beta.superagent.sh
/
api
/
v1
/
datasources
Create a new datasource
Request
This endpoint expects an object.
name
string
Required
type
string
Required
description
string
Optional
content
string
Optional
url
string
Optional
metadata
map from strings to any
Optional
vectorDbId
string
Optional
embeddingsModelProvider
"OPENAI" or "AZURE_OPENAI"
Optional
Allowed values:
OPENAI
AZURE_OPENAI
An enumeration.
Response
This endpoint returns an object.
success
boolean
data
object
Optional
Represents a Datasource record
Show 15 properties
Built with