Download OpenAPI specification:
Object types use object_type:{kn_id}/{object_type_id}. Reads and lists
require view_detail; data reads require query_data; updates and deletes
use modify and delete. Lists and searches are filtered before total and
pagination. See ../knowledge-network-authorization.md.
With strict_mode=true, resource-backed object types read only the Vega schema under
view_detail. Main-branch publication reuses the effective delegator selected by Proxy
preflight instead of requiring the current editor to repeat the downstream permission.
Missing bindings return 400; a current-user permission denial returns 403; controlled lookup
failures return 502, and timeout/unavailable dependencies return 503. Downstream bodies are
never copied into the public response. Tool-backed logical properties use the same 400/502/503
dependency classification.
| kn_id required | string Business knowledge network ID |
| name_pattern | string Fuzzy-match by object type name. Empty by default. |
| sort | string Enum: "update_time" "name" Sort field. 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 returned items per page. Supported paginated values are 1 to 1000; -1 disables pagination. Defaults to 10. |
| tag | string Exact-match by tag. Empty by default. |
| branch | string Default: "main" Branch. Defaults to main. |
| need_total | boolean Default: true Whether to return total_count. Defaults to true. |
| search_after | string Deep-pagination cursor, separated by commas. When provided, offset is ignored. |
{- "entries": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "data_source": {
- "type": "resource",
- "id": "string",
- "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,
- "module_type": "object_type",
- "operations": [
- "string"
], - "status": { }
}
], - "total_count": 0
}| kn_id required | string Business knowledge network ID |
| branch | string Default: "main" Branch. Defaults to main. |
| import_mode | string Default: "normal" Enum: "normal" "overwrite" "ignore" Import mode. normal returns an error for a concept with the same name; overwrite replaces it; ignore skips it. Defaults to normal. |
| strict_mode | boolean Default: true Whether to validate dependency existence. Defaults to true. When unset, falls back to the deprecated validate_dependency. |
| x-http-method-override required | string Enum: "POST" "GET" Override request headers |
required | Array of objects (ReqObjectType) Object type information |
{- "need_total": true,
- "limit": 1,
- "condition": {
- "operation": "and",
- "sub_conditions": [
- {
- "field": "comment",
- "operation": "match",
- "value_from": "const",
- "value": "pod"
}, - {
- "field": "*",
- "operation": "knn",
- "value_from": "const",
- "value": [
- "pod",
- 10
]
}
]
}
}{- "entries": [
- {
- "id": "pod_has_metric_test",
- "name": "pod_has_metric_test",
- "tags": [
- "event network",
- "topology"
], - "comment": "Pod information bound to a metric model",
- "icon": "",
- "color": "",
- "branch": "main",
- "detail": "",
- "creator": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "create_time": 1758157953104,
- "updater": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "update_time": 1758157953104,
- "kn_id": "kn_system_incident_event_network",
- "data_source": {
- "type": "resource",
- "id": "d2mio43q6gt6p380dis0",
- "name": ""
}, - "data_properties": [
- {
- "name": "id",
- "display_name": "id",
- "type": "int64",
- "comment": "Primary key",
- "mapped_field": {
- "name": "id"
}
}, - {
- "name": "node_id",
- "display_name": "node_id",
- "type": "VARCHAR",
- "comment": "Node ID",
- "mapped_field": {
- "name": "node_id"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_cluster_id",
- "display_name": "pod_cluster_id",
- "type": "VARCHAR",
- "comment": "Pod cluster ID",
- "mapped_field": {
- "name": "pod_cluster_id"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_ip",
- "display_name": "pod_ip",
- "type": "VARCHAR",
- "comment": "Pod IP",
- "mapped_field": {
- "name": "pod_ip"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_name",
- "display_name": "pod_name",
- "type": "VARCHAR",
- "comment": "Pod name",
- "mapped_field": {
- "name": "pod_name"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_namespace",
- "display_name": "pod_namespace",
- "type": "VARCHAR",
- "comment": "Pod namespace",
- "mapped_field": {
- "name": "pod_namespace"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_node_name",
- "display_name": "pod_node_name",
- "type": "int",
- "comment": "Pod node name",
- "mapped_field": {
- "name": "pod_node_name"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_port",
- "display_name": "pod_port",
- "type": "VARCHAR",
- "comment": "Pod port",
- "mapped_field": {
- "name": "pod_port"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_status",
- "display_name": "pod_status",
- "type": "VARCHAR",
- "comment": "Pod status",
- "mapped_field": {
- "name": "pod_status"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "service_ip",
- "display_name": "service_ip",
- "type": "VARCHAR",
- "comment": "Service IP",
- "mapped_field": {
- "name": "service_ip"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "service_name",
- "display_name": "service_name",
- "type": "VARCHAR",
- "comment": "Service name",
- "mapped_field": {
- "name": "service_name"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "component",
- "display_name": "component",
- "type": "VARCHAR",
- "comment": "Component",
- "mapped_field": {
- "name": "component"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_create_time",
- "display_name": "pod_create_time",
- "type": "VARCHAR",
- "comment": "Pod creation time",
- "mapped_field": {
- "name": "pod_create_time"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "pod_delete_time",
- "display_name": "pod_delete_time",
- "type": "VARCHAR",
- "comment": "Pod deletion time",
- "mapped_field": {
- "name": "pod_delete_time"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "s_create_time",
- "display_name": "s_create_time",
- "type": "timestamp",
- "comment": "System creation time",
- "mapped_field": {
- "name": "s_create_time"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "s_update_time",
- "display_name": "s_update_time",
- "type": "timestamp",
- "comment": "System update time",
- "mapped_field": {
- "name": "s_update_time"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "_timestamp",
- "display_name": "_timestamp",
- "type": "timestamp",
- "comment": "Time",
- "mapped_field": {
- "name": "_timestamp"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}, - {
- "name": "_action",
- "display_name": "_action",
- "type": "VARCHAR",
- "comment": "Action",
- "mapped_field": {
- "name": "_action"
}, - "condition_operations": [
- "==",
- "!=",
- "like",
- "not_like",
- "in",
- "not_in"
]
}
], - "logic_properties": [
- {
- "name": "metric_test",
- "display_name": "metric_test",
- "type": "metric",
- "comment": "Pod metrics",
- "index": true,
- "data_source": {
- "type": "metric-model",
- "id": "pod_metric",
- "name": ""
}, - "parameters": [
- {
- "name": "id",
- "value_from": "property",
- "value": "id"
}, - {
- "name": "pod_name",
- "value_from": "property",
- "value": "pod_name"
}, - {
- "name": "instant",
- "value_from": "input",
- "value": ""
}, - {
- "name": "start",
- "value_from": "input",
- "value": ""
}, - {
- "name": "end",
- "value_from": "input",
- "value": ""
}, - {
- "name": "instant",
- "value_from": "input",
- "value": ""
}, - {
- "name": "start",
- "value_from": "input",
- "value": ""
}, - {
- "name": "end",
- "value_from": "input",
- "value": ""
}
]
}, - {
- "name": "tool_test",
- "display_name": "tool_test",
- "type": "tool",
- "comment": "Pod tools",
- "index": true,
- "data_source": {
- "type": "tool",
- "box_id": "pod_toolbox",
- "tool_id": "pod_tool",
- "name": ""
}, - "parameters": [
- {
- "name": "tool_param1",
- "value_from": "property",
- "value": "id"
}, - {
- "name": "tool_param2",
- "value_from": "property",
- "value": "pod_name"
}, - {
- "name": "tool_param3",
- "value_from": "input",
- "value": ""
}
]
}
], - "primary_keys": [
- "id"
], - "display_key": "pod_name",
- "IfNameModify": false,
- "module_type": "object_type"
}
], - "total_count": 2,
- "next_cursor": "cursor-object-types-1"
}| kn_id required | string Business knowledge network ID |
| ob_id required | string Object type ID |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. When true, validates external dependencies such as data views, embedding models, and metric or operator bindings used by logical properties. 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 |
| branch required | string Branch ID |
Array of objects (ConceptGroup) Concept groups | |
object (DataSource) Data source | |
required | Array of objects (DataProperty) Data properties |
Array of objects (LogicProperty) Logical properties | |
| primary_keys required | Array of strings Primary keys that uniquely identify the object |
| display_key required | string Display property of the object |
{- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "concept_groups": [
- {
- "id": "string",
- "name": "string",
- "module_type": "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"
}, - "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}
}
], - "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"
}, - "mask_rule": {
- "kind": "fixed",
- "replacement": "string"
}, - "condition_operations": [
- "string"
]
}
], - "logic_properties": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "index": true,
- "data_source": {
- "type": "metric",
- "id": "string",
- "box_id": "string",
- "tool_id": "string",
- "result_path": "string",
- "name": "string"
}, - "parameters": [
- {
- "name": "string",
- "type": "string",
- "source": "string",
- "value_from": "property",
- "value": "string"
}
], - "analysis_dimensions": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string"
}
]
}
], - "primary_keys": [
- "string"
], - "display_key": "string"
}{- "error_code": "string",
- "description": "string",
- "solution": "string",
- "error_link": "string",
- "error_details": null,
- "metadata": { }
}| ob_ids required | Array of strings Object type ID |
| kn_id required | string Business knowledge network ID |
| branch | string Default: "main" Branch. Defaults to main. |
{- "entries": [
- {
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "kn_id": "string",
- "concept_groups": [
- {
- "id": "string",
- "name": "string",
- "module_type": "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"
}, - "updater": {
- "id": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "type": "user",
- "name": "Administrator"
}
}
], - "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"
}, - "mask_rule": {
- "kind": "fixed",
- "replacement": "string"
}, - "condition_operations": [
- "string"
]
}
], - "logic_properties": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "index": true,
- "data_source": {
- "type": "metric",
- "id": "string",
- "box_id": "string",
- "tool_id": "string",
- "result_path": "string",
- "name": "string"
}, - "parameters": [
- {
- "name": "string",
- "type": "string",
- "source": "string",
- "value_from": "property",
- "value": "string"
}
], - "analysis_dimensions": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "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",
- "operations": [
- "string"
], - "data_source_metadata_unavailable": true,
- "incremental_key": "string",
- "status": {
- "incremental_key": "string",
- "incremental_value": "string",
- "index": "string",
- "index_available": true,
- "doc_count": 0,
- "storage_size": 0,
- "update_time": 0
}
}
]
}| kn_id required | string Business knowledge network ID |
| ob_ids required | Array of strings Object type ID |
| force_delete | boolean Default: false Whether to force deletion. Defaults to false. When false, returns an error if a relation type binds the object type; when true, deletes it without that validation. |
| branch | string Default: "main" Branch. Defaults to main. |
Requires effective modify on object_type:{kn_id}/{ob_id}. Before the write, strict_mode controls request validation for vector-index embedding-model dependencies; it never bypasses authorization.
| kn_id required | string Business knowledge network ID |
| ob_id required | string Object type ID |
| property_names required | string Data property name list |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate the embedding model dependency for vector indexes. Defaults to true. When true and submitted data properties enable vector indexes, verifies that the model exists, has the embedding type, and has valid dimensions and parameters. When false, skips the model-service call. Request JSON index configuration validation still applies. |
required | Array of objects (DataProperty) Data properties |
{- "entries": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "comment": "string",
- "mapped_field": {
- "name": "string",
- "display_name": "string",
- "type": "string"
}, - "mask_rule": {
- "kind": "fixed",
- "replacement": "string"
}, - "condition_operations": [
- "string"
]
}
]
}Validates concept dependency existence only and does not write data. Use it for pre-import checks or batch self-checks. When strict_mode is true, validates dependencies such as data views, vector-index embedding models, metric models and operators bound to logical properties, and concept groups.
For same-batch references, such as a relation type referencing an object type that has not been persisted, single-type validation recognizes only persisted resources in strict mode when the request cannot include the referenced definition. In that case, use full knowledge-network validation with the same structure as the create API, or concept-group validation with nested object_types, relation_types, and action_types. The server derives BatchIDIndex from the submitted JSON, making entries visible within the same create transaction. Relation-mapping validation requires object type data properties. If a batch declares only object type IDs without property definitions, existence validation may pass while mapping-rule validation is reduced.
Response: HTTP 200 with valid set to true indicates success. Ordinary model validation failures use valid=false and detail. Strict dependency failures return the documented 400/403/502/503 error envelope, whose error_details includes a safe dependency_kind.
Internal API: POST /api/bkn-backend/in/v1/.../object-types/validation. Other behavior is the same; the caller is resolved from headers and OAuth is not required.
| 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" Same as the create object type API. Defines validation semantics for persisted object type ID or name conflicts: normal, ignore, or overwrite. |
| entries | Array of objects Object type list to validate. Its structure is the same as the create API. |
{- "entries": [
- { }
]
}{- "valid": true,
- "detail": "string"
}Returns several actual object instances for an object type to verify mappings during modeling. columns gives the display order and titles. The structure of entries elements depends on the object type property definitions, so fixed fields are not declared.
| kn_id required | string Business knowledge network ID |
| ot_ids required | string Object type ID |
| branch | string Default: "main" Branch. Defaults to main. |
| limit | integer Default: 20 Number of returned entries. Defaults to 20. |
| offset | integer Default: 0 Offset. Defaults to 0. |
| need_total | boolean Default: true Whether to return total_count. Defaults to true. |
| search_after | string Deep-pagination cursor, separated by commas. When provided, offset is ignored. |
{- "name": "string",
- "columns": [
- {
- "data_index": "string",
- "title": "string"
}
], - "entries": [
- { }
], - "total_count": 0
}