GET
/
{resourceSlug}
/
datasources.json

Path Parameters

resourceSlug
string
required

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

Response

200 - datasources.json
datasources
object[]

An array object of all the datasources the user has access to

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.