Skip to content
v0.3

catalog.category.create

Create a category node (ltree path) within the tenant.

  • Scope: catalog.category.write
  • System: no
  • Reachable from: POST /v1/commands/catalog.category.create (tenant credential) · MCP tool catalog.category.create · SDK client.call('catalog.category.create', …)
  • Events: catalog.category.created
{
"properties": {
"handle": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"path": {
"minLength": 1,
"pattern": "^[A-Za-z0-9_]+(\\.[A-Za-z0-9_]+)*$",
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"path",
"name",
"handle"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"category_id": {
"type": "string"
}
},
"required": [
"category_id"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)