Data Sources
Fetch List of Sources
Data Sources
Fetch List of Sources
Fetch the list of sources for a chatbot specified by chatbot uuid
GET
/
api
/
v1
/
chatbot
/
{uuid}
/
data-sources
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-sources' \
--header 'Authorization: Bearer <token>'
[
{
"created_at": "string",
"file_name": "string",
"file_size": 0,
"meta_json": "string",
"modified_at": "string",
"status": "string",
"title": "string",
"tokens": 0,
"type": "string",
"uuid": "string"
}
]
Path
Chatbot uuid
Response
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-sources' \
--header 'Authorization: Bearer <token>'
[
{
"created_at": "string",
"file_name": "string",
"file_size": 0,
"meta_json": "string",
"modified_at": "string",
"status": "string",
"title": "string",
"tokens": 0,
"type": "string",
"uuid": "string"
}
]
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/data-sources' \
--header 'Authorization: Bearer <token>'
[
{
"created_at": "string",
"file_name": "string",
"file_size": 0,
"meta_json": "string",
"modified_at": "string",
"status": "string",
"title": "string",
"tokens": 0,
"type": "string",
"uuid": "string"
}
]