Download OpenAPI specification:
| 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. |
| action_type | string Enum: "add" "modify" "delete" Query filter: filter by action category enum using the same value domain as action_type and action_intent in the response. |
| object_type_id | string Bound object type |
| 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",
- "action_type": "add",
- "action_intent": "add",
- "object_type_id": "string",
- "condition": {
- "operation": "and",
- "sub_conditions": [
- null
]
}, - "affect": {
- "comment": "string",
- "object_type_id": "string",
- "expected_operation": "add",
- "affected_fields": [
- "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",
- "object_type": {
- "id": "string",
- "name": "string",
- "branch": "string",
- "icon": "string",
- "color": "string"
}
}
], - "total_count": 0
}| kn_id required | string Business knowledge network ID |
| 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 bound and affected object types. When false, missing dependencies do not cause an error. |
| branch | string Default: "main" Branch. Defaults to main. |
| x-http-method-override required | string Enum: "POST" "GET" Request override header |
required | Array of objects (ReqActionType) Action type information |
[- {
- "id": "restart_pod",
- "name": "重启pod",
- "tags": [
- "拓扑架构"
], - "comment": "当pod状态是unknown或者failed时,重启pod",
- "icon": "",
- "color": "",
- "branch": "main",
- "action_type": "modify",
- "action_intent": "modify",
- "object_type_id": "pod",
- "condition": {
- "object_type_id": "pod",
- "field": "pod_status",
- "operation": "in",
- "value_from": "const",
- "value": [
- "Unknown",
- "Failed"
]
}, - "impact_contracts": [
- {
- "object_type_id": "pod",
- "expected_operation": "modify",
- "description": "重启 pod",
- "affected_fields": [ ]
}
], - "action_source": {
- "type": "tool",
- "box_id": "tool_123",
- "tool_id": "box_123"
}, - "parameters": [
- {
- "name": "pod",
- "value_from": "property",
- "value": "pod_name"
}, - {
- "name": "namespace",
- "value_from": "property",
- "value": "pod_namespace"
}, - {
- "name": "cmd_type",
- "value_from": "input",
- "value": ""
}
], - "schedule": {
- "type": "",
- "expression": ""
}, - "module_type": "action_type"
}
]{- "entries": [
- {
- "id": "restart_pod",
- "name": "重启pod",
- "tags": [
- "拓扑架构"
], - "comment": "当pod状态是unknown或者failed时,重启pod",
- "icon": "",
- "color": "",
- "branch": "main",
- "detail": "",
- "creator": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "create_time": 1757657606651,
- "updater": "a0f02238-6cec-11f0-82bb-fa1c4529a151",
- "update_time": 1758098535626,
- "kn_id": "kn_system_incident_event_network",
- "action_type": "modify",
- "action_intent": "modify",
- "object_type_id": "pod",
- "impact_contracts": [
- {
- "object_type_id": "pod",
- "expected_operation": "modify",
- "description": "重启pod",
- "affected_fields": [ ]
}
], - "object_type": {
- "id": "",
- "name": "",
- "icon": "",
- "color": ""
}, - "condition": {
- "object_type_id": "pod",
- "field": "pod_status",
- "operation": "in",
- "value_from": "const",
- "value": [
- "Unknown",
- "Failed"
]
}, - "action_source": {
- "type": "tool",
- "box_id": "tool_123",
- "tool_id": "box_123"
}, - "parameters": [
- {
- "name": "pod",
- "value_from": "property",
- "value": "pod_name"
}, - {
- "name": "namespace",
- "value_from": "property",
- "value": "pod_namespace"
}, - {
- "name": "cmd_type",
- "value_from": "input",
- "value": ""
}
], - "schedule": {
- "type": "",
- "expression": ""
}, - "IfNameModify": false,
- "module_type": "action_type"
}
], - "total_count": 2,
- "next_cursor": "cursor-action-types-1"
}| kn_id required | string Business knowledge network ID |
| at_id required | string Action type ID |
| branch | string Branch. Uses main when omitted. |
| strict_mode | boolean Default: true Whether to strictly validate dependencies. Defaults to true. When true, validates bound and affected object types and other dependencies. When false, skips validation. |
| name required | string Action type name |
| tags | Array of strings Tags. May be empty. |
| comment | string Comment. May be empty. |
| icon | string Icon |
| color | string Color |
| branch required | string Branch ID |
| action_type required | string Deprecated Enum: "add" "modify" "delete" Deprecated. Prefer action_intent; dual writes must agree. |
| action_intent | string Enum: "add" "modify" "delete" Recommended field stored in f_action_intent. |
| object_type_id required | string Object type ID bound to the action type |
action_condition_and (object) or action_condition_or (object) or action_condition_eq (object) or action_condition_not_eq (object) or action_condition_gt (object) or action_condition_gte (object) or action_condition_lt (object) or action_condition_lte (object) or action_condition_in (object) or action_condition_not_in (object) or action_condition_range (object) or action_condition_out_range (object) or action_condition_exist (object) or action_condition_not_exist (object) (ActionCondition) | |
object Deprecated Deprecated. Use impact_contracts. | |
Array of objects (ImpactContractItem) Stored in f_impact_contracts as JSON. | |
ToolSource (object) or MCPSource (object) Resource bound to the action | |
Array of objects (Parameter) Action resource parameters | |
object (Schedule) Execution frequency configuration |
{- "name": "string",
- "tags": [
- "string"
], - "comment": "string",
- "icon": "string",
- "color": "string",
- "branch": "string",
- "action_type": "add",
- "action_intent": "add",
- "object_type_id": "string",
- "condition": {
- "operation": "and",
- "sub_conditions": [
- null
]
}, - "affect": {
- "comment": "string",
- "object_type_id": "string",
- "expected_operation": "add",
- "affected_fields": [
- "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"
}
}| kn_id required | string Business knowledge network ID |
| at_ids required | Array of strings Action type 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",
- "action_type": "add",
- "action_intent": "add",
- "object_type_id": "string",
- "object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string",
- "branch": "string"
}, - "condition": {
- "operation": "and",
- "sub_conditions": [
- null
]
}, - "affect": {
- "comment": "string",
- "object_type_id": "string",
- "expected_operation": "add",
- "affected_fields": [
- "string"
], - "object_type": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "color": "string",
- "branch": "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"
}
]
}Validates only action type dependency existence and does not persist data. It validates dependencies such as bound and affected object types.
Response: HTTP 200 with valid and detail follows the other validation APIs. Parameter and authentication errors are non-2xx.
Internal API: the corresponding internal path 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 action type creation and validates conflicts with persisted action type IDs or names using normal, ignore, or overwrite. |
| entries | Array of objects Action types to validate. Uses the same structure as the creation API. |
{- "entries": [
- { }
]
}{- "valid": true,
- "detail": "string"
}