Create source tag
Create a source tag for a chabot. Source tags can be used to organize sources.
Endpoint
POST / api / v1 / chatbot / / source-tag / create
Authorization
Authorization string Bearer <your_token>
Path
uuid string required
Body
name string required
color string required
The color of the tag in code format, e.g. #088F8F
data_source_uuids List[string]
The list of data sources to initially be included in the source tag.
Request example
curl --location --request POST 'https://app.aichatbothub.com/api/v1/chatbot/<uuid>/source-tag/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"name": "string",
"color": "#088F8F",
}'
Response
uuid string
name string
color string
data_source_uuids List[string]
created_at string
modified_at string
Response example
{
"color": "#088F8F",
"created_at": "2024-09-12T00:19:12Z",
"data_source_uuids": [],
"modified_at": "2024-09-12T00:19:12Z",
"name": "string",
"uuid": "d6099f4845794b4bb088b291fc3ef23a"
}
Last updated