Download OpenAPI specification:
Concept group management APIs
| kn_id required | any |
| group_id required | any |
| branch | string Branch. Uses main when omitted. |
| include_statistics | boolean Default: false Whether to calculate and return statistics. Defaults to false. |
| mode | string Response view mode. Returns the default view when empty. |
{- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "kn_id": "string",
- "branch": "string",
- "object_types": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "concept_groups": [
- {
- "id": "string",
- "name": "string"
}
], - "data_source": {
- "type": "resource",
- "id": "string",
- "name": "string"
}, - "data_properties": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "mapped_field": {
- "name": "string",
- "display_name": "string",
- "type": "string"
}, - "index_config": {
- "keyword_config": {
- "enabled": true,
- "ignore_above_len": 76
}, - "fulltext_config": {
- "analyzer": "standard",
- "enabled": true
}, - "vector_config": {
- "enabled": true,
- "model_id": "some text"
}
}, - "condition_operations": [
- "string"
]
}
], - "logic_properties": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "index": true,
- "data_source": {
- "type": "metric",
- "id": "string",
- "name": "string"
}, - "parameters": [
- {
- "name": "string",
- "type": "string",
- "source": "string",
- "value_from": "property",
- "value": "string"
}
]
}
], - "primary_keys": [
- "string"
], - "display_key": "string",
- "creator": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "create_time": 0,
- "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "update_time": 0,
- "module_type": "object_type",
- "incremental_key": "string",
- "status": {
- "incremental_key": "string",
- "incremental_value": "string",
- "index": "string",
- "index_available": true,
- "doc_count": 0,
- "storage_size": 0,
- "update_time": 0
}
}
], - "relation_types": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "source_object_type_id": "string",
- "source_object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string"
}, - "target_object_type_id": "string",
- "target_object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string"
}, - "type": "direct",
- "mapping_rules": [
- {
- "target_property": {
- "name": "string",
- "display_name": "string"
}, - "source_property": {
- "name": "string",
- "display_name": "string"
}
}
], - "creator": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "create_time": 0,
- "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "update_time": 0
}
], - "action_types": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "action_type": "add",
- "action_intent": "add",
- "object_type_id": "string",
- "object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string"
}, - "condition": {
- "object_type_id": "string",
- "field": "string",
- "operation": "and",
- "sub_conditions": [
- { }
], - "value": null,
- "value_from": "const"
}, - "affect": {
- "comment": "string",
- "object_type_id": "string",
- "object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string"
}
}, - "impact_contracts": [
- {
- "object_type_id": "string",
- "expected_operation": "add",
- "description": "string",
- "affected_fields": [
- "string"
]
}
], - "action_source": {
- "type": "tool",
- "box_id": "string",
- "tool_id": "string"
}, - "parameters": [
- {
- "name": "string",
- "type": "string",
- "source": "string",
- "value_from": "property",
- "value": "string"
}
], - "schedule": {
- "type": "FIX_RATE",
- "expression": "string"
}, - "creator": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "create_time": 0,
- "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "update_time": 0,
- "module_type": "action_type"
}
], - "creator": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "create_time": 0,
- "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "update_time": 0,
- "module_type": "string"
}| kn_id required | any |
| group_id required | any |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. Defaults to true. When true, validates object type references and other dependencies declared in the concept group. When false, skips this validation. |
| name required | string Name |
| tags | Array of strings Tags used for business identification |
| comment | string Comment |
| icon | string Icon |
| color | string Color |
{- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string"
}| kn_id required | string Business knowledge network ID |
| name_pattern | string Fuzzy match by name. Defaults to empty. |
| sort | string Enum: "update_time" "name" Sort type. Defaults to update_time. |
| direction | string Enum: "asc" "desc" Sort direction. Supported values are asc and desc. Defaults to desc. |
| offset | integer <int64> Offset of the first returned item. Must be greater than or equal to 0. Defaults to 0. |
| limit | integer <int64> Maximum number of items returned per page. Pagination accepts 1 through 1000, and -1 disables pagination. Defaults to 10. |
| tag | string Exact match by tag. Defaults to empty. |
| branch | string Default: "main" Branch. Defaults to main. |
{- "entries": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "statistics": {
- "object_types_total": 0,
- "relation_types_total": 0,
- "action_types_total": 0,
- "concept_groups_total": 0,
- "risk_types_total": 0,
- "metrics_total": 0
}, - "creator": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "create_time": 0,
- "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}, - "update_time": 0,
- "kn_id": "string",
- "object_type_ids": [
- "string"
], - "module_type": "string"
}
], - "total_count": 0
}Create a concept group
| kn_id required | string Business knowledge network ID |
| branch | string Branch. Uses main when omitted. |
| import_mode | string Enum: "normal" "ignore" "overwrite" Import mode. Supported values are normal, ignore, and overwrite. Defaults to normal. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. Defaults to true. When true, validates dependencies such as object type and relation type views. When false, missing dependencies do not cause an error. |
| validate_dependency | boolean Deprecated Default: true Deprecated. Use strict_mode instead. This parameter is retained for compatibility and is read when strict_mode is empty. |
| id | string ID. Immutable after creation. May contain lowercase letters, digits, underscores, and hyphens, and cannot start with an underscore or hyphen. |
| name required | string Name |
| tags | Array of strings Tags used for business identification |
| comment | string Comment |
| icon | string Icon |
| color | string Color |
| branch required | string Branch ID |
{- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string"
}{- "id": "string"
}| kn_id required | any |
| group_id required | any |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. Defaults to true. When true, validates that object type IDs exist. When false, missing object types do not cause an error. |
required | Array of objects (AddObjectType) Object types to add |
{- "entries": [
- {
- "id": "string"
}
]
}Validates only concept group dependency existence and does not persist data. It validates nested object types, relation types, action types, and their dependencies. Concept IDs in the same batch are collected from the requested concept_groups tree, including nested buckets, so strict mode can resolve references that have not yet been persisted.
Response: HTTP 200 with valid and detail uses the same semantics as knowledge network validation. Parameter and authentication errors are non-2xx.
Internal API: the corresponding internal path has the same semantics, resolves the caller from headers, and does not use OAuth.
| kn_id required | string Business knowledge network ID |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. Defaults to true. |
| import_mode | string Default: "normal" Enum: "normal" "ignore" "overwrite" Matches the concept group creation API and validates conflicts with persisted concept group IDs or names using normal, ignore, or overwrite. |
| entries | Array of objects Concept groups to validate. Uses the same structure as the creation API. |
{- "entries": [
- { }
]
}{- "valid": true,
- "detail": "string"
}