View workflow operator details¶
View the available versions, input and output definitions of a workflow operator.
GET $CLOUDSIGMA_API_BASE/workflow/v2/workitems/catalog/{node_id}
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. First query the workflow operator list, select the operator and obtain the operator ID. Prepare personal access token and target workspace ID that can access the target workspace.
Request parameters¶
Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID and $NODE_ID with actual values.
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workitems/catalog/$NODE_ID" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
The operator ID to view, located in the request path. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"node_id": "moi:data.sql.process",
"display_name": "SQL 处理",
"versions": [
{
"version": "v1",
"input_schema": "{\"type\":\"object\"}",
"stream": false,
"input": {},
"output": {},
"agent_context": {}
}
]
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
success code. |
|
string |
Response information. |
|
object |
The data returned by this operation. |
|
string |
operator ID. |
|
string |
operator display name. |
|
string |
A short description of the operator. |
|
string |
The category to which the operator belongs. |
|
array of string |
operator tag. |
|
string |
operator source. |
|
string |
operator provider. |
|
string |
Recommended version. |
|
string |
operator visibility. |
|
array of object |
Available version definitions, ordered from newest to oldest. |
|
string |
The current resource version. |
|
string |
Description of the current object. |
|
string |
Visible range. |
|
boolean |
Streaming information. |
|
JSON value |
Streaming configuration. |
|
string |
Structured source positioning. |
|
string |
Run the provider. |
|
string |
Enter the defined JSON text. |
|
string |
Outputs the JSON text of the definition. |
|
JSON value |
Data flow configuration. |
|
JSON value |
Enter the interface definition. |
|
JSON value |
Output interface definition. |
|
object |
Enter. |
|
string |
JSON type. |
|
string |
Description of the current object. |
|
boolean |
Additional attribute definitions. |
|
array of string |
List of required fields. |
|
array of object |
Field definition. |
|
string |
The name of the current object. |
|
string |
JSON type. |
|
string |
format. |
|
string |
Description of the current object. |
|
boolean |
Is it required? |
|
JSON value |
Example value. |
|
JSON value |
Default value. |
|
array |
enumeration value. |
|
boolean |
Additional attribute definitions. |
|
array of object |
Field definition. |
|
JSON value |
Array element definition. |
|
object |
Field hints. |
|
string |
How to get the value. |
|
string |
Runtime value source. |
|
string |
Template scope. |
|
string |
Semantic type. |
|
string |
Value parser. |
|
string |
Resource type. |
|
string |
Recommended SDK calls. |
|
string |
Recommended parameters. |
|
boolean |
Whether it contains sensitive values. |
|
JSON value |
Example value. |
|
array |
Example list. |
|
object |
output. |
|
string |
JSON type. |
|
string |
Description of the current object. |
|
boolean |
Additional attribute definitions. |
|
array of string |
List of required fields. |
|
array of object |
Field definition. |
|
string |
The name of the current object. |
|
string |
JSON type. |
|
string |
format. |
|
string |
Description of the current object. |
|
boolean |
Is it required? |
|
JSON value |
Example value. |
|
JSON value |
Default value. |
|
array |
enumeration value. |
|
boolean |
Additional attribute definitions. |
|
array of object |
Field definition. |
|
JSON value |
Array element definition. |
|
object |
Field hints. |
|
string |
How to get the value. |
|
string |
Runtime value source. |
|
string |
Template scope. |
|
string |
Semantic type. |
|
string |
Value parser. |
|
string |
Resource type. |
|
string |
Recommended SDK calls. |
|
string |
Recommended parameters. |
|
boolean |
Whether it contains sensitive values. |
|
JSON value |
Example value. |
|
array |
Example list. |
|
object |
agent context. |
|
string |
Run the provider. |
|
string |
Display name. |
|
string |
classification. |
|
string |
Show grouping. |
|
array of string |
label. |
|
string |
Summary. |
|
string |
Side Effect Category. |
|
string |
Idempotent description. |
|
array of string |
List of required fields. |
|
string |
User ID. |
Error response¶
{
"code": "ErrParamInvalid",
"msg": "请求参数无效"
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Readable error message. |
Common HTTP errors¶
HTTP status |
Error code |
Common cause |
Recommended action |
|---|---|---|---|
400 |
|
Invalid request field, workspace, or operation precondition. |
Fix the request parameters and submit again. |
403 |
|
The current identity or active role does not have permission for this operation. |
Use an authorized identity or contact an administrator to grant access. |
404 |
|
The target object or required reference was not found. |
Verify the object identifier, workspace, and current status. |
500 |
|
Internal processing failed; write operations may have been partially applied. |
Retain request and trace details, and verify the current state before retrying. |
503 |
|
A business, runtime, or authorization dependency is temporarily unavailable. |
After the dependency recovers, check existing results first instead of blindly repeating writes. |