GET
/
{resourceSlug}
/
datasource
/
{datasourceId}
.json

Path Parameters

resourceSlug
string
required

The resourceSlug is a URL parameter of the teamId associated with the user.

datasourceId
string
required

The 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.