Datasources
Retrieve A Datasource
Retrieve a JSON object of a single model within the specified team by modelId.
GET
/
{resourceSlug}
/
datasource
/
{datasourceId}
.json
Path Parameters
resourceSlug
string
requiredThe resourceSlug is a URL parameter of the teamId associated with the user.
datasourceId
string
requiredThe ID of the datasource to retrieve.
Response
200 - datasources.json
datasource
object
JSON object of the datasource retrieved by the operation
models
object[]
An array object of all models the user has access to, this is used to identify the embedding model of the datasource and to have a list of all available embedding models to allow for easy modification of the selected embedding model.