Nowledge Mem APILabels
Create Label
Create a new label.
Query Parameters
namestring
Label name
color?string
Label color (hex)
Default
"#3b82f6"description?string
Label description
Default
""Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/labels?name=string&color=%233b82f6&description="{
"id": "string",
"name": "string",
"color": "string",
"description": "string",
"created_at": "string",
"updated_at": "string",
"usage_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}