Download OpenAPI specification:
| name_pattern | string Fuzzy match by business knowledge network 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. |
{- "entries": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "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,
- "statistics": {
- "object_types_total": 0,
- "relation_types_total": 0,
- "action_types_total": 0,
- "metrics_total": 0
}, - "concept_groups": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "kn_id": "string",
- "branch": "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
}
], - "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": "string",
- "index": true,
- "fulltext_config": {
- "analyzer": "standard",
- "field_keyword": true
}, - "vector_config": {
- "dimension": 0
}
}
], - "logic_properties": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "index": true,
- "data_source": {
- "type": "resource",
- "id": "string",
- "name": "string"
}, - "parameters": [
- {
- "name": "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
}
], - "relation_types": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "concept_groups": [
- {
- "id": "string",
- "name": "string"
}
], - "source_object_type_id": "string",
- "source_object_type_name": "string",
- "target_object_type_id": "string",
- "target_object_type_name": "string",
- "type": "direct",
- "mapping_rules": { },
- "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",
- "concept_groups": [
- {
- "id": "string",
- "name": "string"
}
], - "action_type": "add",
- "action_intent": "add",
- "object_type_id": "string",
- "object_type_name": "string",
- "condition": {
- "object_type_id": "string",
- "field": "string",
- "operation": "and",
- "sub_conditions": [
- { }
], - "value": null,
- "value_from": "const"
}, - "affect": {
- "object_type": "string",
- "comment": "string",
- "expected_operation": "add",
- "affected_fields": [
- "string"
]
}, - "impact_contracts": [
- {
- "object_type_id": "string",
- "expected_operation": "add",
- "description": "string",
- "affected_fields": [
- "string"
]
}
], - "action_source": {
- "type": "resource",
- "id": "string",
- "name": "string"
}, - "parameters": [
- {
- "name": "string",
- "value_from": "property",
- "value": "string"
}
], - "schedule": {
- "type": "FIX_RATE",
- "expression": "string"
}
}
], - "business_domain": "string",
- "module_type": "string",
- "operations": [
- "string"
]
}
], - "total_count": 0
}| 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. |
| branch | string Default: "main" Branch. Defaults to main. |
| id | string Business knowledge network ID. Immutable after creation. May contain lowercase letters, digits, underscores, and hyphens, and cannot start with an underscore or hyphen. |
| name required | string Business knowledge network 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"
}
]Gets ontology model details and includes specification content when requested.
| kn_id required | string Business knowledge network ID |
| mode | string Enum: "" "export" Query mode. Currently supports export. By default, returns only knowledge network details and not included child types. |
| include_statistics | boolean Whether to include statistics for concepts under the business knowledge network. Defaults to false. |
| branch | string Default: "main" Branch. Defaults to main. |
| detail_level | string Default: "full" Enum: "full" "summary" Response detail level. full returns complete definitions; summary returns only concept IDs and names for progressive loading of large knowledge networks. Defaults to full. |
{- "id": "kn_system_incident_event_network",
- "name": "DIP系统故障事件网络",
- "tags": [
- "事件",
- "故障"
], - "comment": "DIP系统故障事件网络。。。。。。。。。。。。",
- "icon": "",
- "color": "",
- "branch": "main",
- "creator": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "create_time": 1757583140948,
- "updater": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "update_time": 1757583140948,
- "detail": "markdown文本"
}| 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. When true, validates dependencies for nested object types, relation types, action types, and concept groups in the request. When false, skips validation. |
| import_mode | string Default: "normal" Enum: "normal" "overwrite" "ignore" Import mode. normal reports an error for duplicate concept names; overwrite replaces them; ignore skips them. Defaults to normal. |
| name required | string Business knowledge network name |
| tags | Array of strings Tags used for business identification |
| comment | string Metric model comment |
| icon | string Icon |
| color | string Color |
| branch required | string Branch ID |
{- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string"
}Validates only knowledge network dependency existence and does not persist data. It validates all dependencies including object types, relation types, action types, and concept groups. The server builds one BatchIDIndex from the four top-level request buckets and nested concept_groups buckets, allowing references to types present only in nested groups.
Response: HTTP 200 indicates processing completed. valid=true means validation passed; valid=false means validation failed or an error occurred, with detail explaining the cause. Invalid bodies, invalid strict_mode, missing knowledge networks, and authorization failures return non-2xx responses.
Internal API: the corresponding internal path uses the same request and response contract, 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 creation semantics. When neither import_mode nor mode is provided, uses normal. It validates persisted ID and name conflicts with normal, ignore, and overwrite semantics. |
| object_types | Array of arrays |
| relation_types | Array of arrays |
| action_types | Array of arrays |
| concept_groups | Array of arrays |
{- "object_types": [ ],
- "relation_types": [ ],
- "action_types": [ ],
- "concept_groups": [ ]
}{- "valid": true,
- "detail": "string"
}