Data Source Tags
Fetch All Source Tags
Data Source Tags
Fetch All Source Tags
List all source tags for a chatbot.
GET
/
api
/
v1
/
chatbot
/
<uuid>
/
source-tags
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/source-tags' \
--header 'Authorization: Bearer <token>'
[
{
"color": "#088F8F",
"created_at": "2024-09-12T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-12T00:19:12Z",
"name": "tag 1",
"uuid": "d6099f4845794b4bb088b291fc3ef23a"
},
{
"color": "#FFFFFF",
"created_at": "2024-09-10T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-10T00:19:12Z",
"name": "tag 2",
"uuid": "91a1bf9ab7de4327921f1ec72ec1e456"
}
]
Path
Chatbot uuid
Response
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/source-tags' \
--header 'Authorization: Bearer <token>'
[
{
"color": "#088F8F",
"created_at": "2024-09-12T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-12T00:19:12Z",
"name": "tag 1",
"uuid": "d6099f4845794b4bb088b291fc3ef23a"
},
{
"color": "#FFFFFF",
"created_at": "2024-09-10T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-10T00:19:12Z",
"name": "tag 2",
"uuid": "91a1bf9ab7de4327921f1ec72ec1e456"
}
]
curl --location --request GET 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/source-tags' \
--header 'Authorization: Bearer <token>'
[
{
"color": "#088F8F",
"created_at": "2024-09-12T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-12T00:19:12Z",
"name": "tag 1",
"uuid": "d6099f4845794b4bb088b291fc3ef23a"
},
{
"color": "#FFFFFF",
"created_at": "2024-09-10T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-10T00:19:12Z",
"name": "tag 2",
"uuid": "91a1bf9ab7de4327921f1ec72ec1e456"
}
]