Create Insight Name
All Insights are related to an Insight Name.
Before you can create new Insight events you need to create the Insight Names.
Kelvin UI Kelvin API Kelvin API Client (Python)
API cURL Example curl -X 'POST' \
'https://<url.kelvin.ai>/api/v4/datatags/tags/create' \
-H 'Authorization: Bearer <Your Current Token>' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "Demo Doc Tag",
"metadata": {}
}'
The response will look like this;
API cURL Example Response {
"name" : "Demo Doc Tag" ,
"metadata" : {},
"created" : "2025-06-14T10:32:19.614397Z" ,
"updated" : "2025-06-14T10:32:19.614397Z"
}
API Client (Python) Example from kelvin.api.client import Client
# Login
client = Client ( url = "https://<url.kelvin.ai>" , username = "<your_username>" )
client . login ( password = "<your_password>" )
# Create Data Tag Name
response = client . data_tag . create_tag ( data = {
"name" : "Demo Doc Tag" ,
"metadata" : {}
})
print ( response )
The response will look like this;
API Client (Python) Example Response na me='Demo Doc Tag' me ta da ta = {} crea te d=da tet ime.da tet ime( 2024 , 6 , 14 , 11 , 28 , 53 , 792472 , t zi nf o=da tet ime. t imezo ne .u t c) upda te d=da tet ime.da tet ime( 2024 , 6 , 14 , 11 , 28 , 53 , 792472 , t zi nf o=da tet ime. t imezo ne .u t c)