View custom operator list

View custom operators that can be read by the current workspace. The returned operator ID can be used to view, modify, test run, or delete the operator.

HTTP
GET $CLOUDSIGMA_API_BASE/workflow/v2/custom-operators

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. Prepare personal access token and target workspace ID that can access the target workspace.

Request parameters

Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID and filter criteria with actual values.

Shell
curl "$CLOUDSIGMA_API_BASE/workflow/v2/custom-operators?page_size=20&enabled=true" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Type

Required

Description

page_size

integer

No

Quantity per page.

page_token

string

No

The next page marker returned in the previous page response.

enabled

boolean

No

Filter by enabled status.

language

string

No

Filter by implementation language.

kind

string

No

Filter by operator type.

node_id

string

No

Filter by operator ID.

identifier

string

No

Filter by operator ID.

version

string

No

Filter by operator version.

base_node_id

string

No

Filter by base operator ID.

The page size defaults to 20, the valid range is 1–100, and must be positive int32. The language accepts python or custom_operator_language_python. Type accepts code, custom_operator_kind_code, builtin_binding, builtin-binding, or custom_operator_kind_builtin_binding. Filtering values ​​removes leading and trailing whitespace and ignores case. Empty values ​​are not filtered.

Next page tokens use the standard Base64 encoding and may end in =. Subsequent requests must pass the returned token unchanged, without removing padding characters or constructing it itself.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "items": [
      {
        "id": 123,
        "node_id": "moi:custom.operator:workspace:text_counter",
        "name": "文本计数",
        "identifier": "text_counter",
        "version": "v1",
        "enabled": true
      }
    ],
    "total": 21,
    "next_page_token": "eyJvZmZzZXQiOjIwfQ=="
  }
}

Field

Type

Description

code

string

OK on success.

msg

string

OK on success.

data

object

response data.

data.items

array of object

Custom operator list.

data.total

integer

The total number of people matching the filter criteria.

data.next_page_token

string

Next page mark. Do not return if there is no next page.

data.items[].id

integer

Customize operator ID for subsequent operations.

data.items[].node_id

string

The operator ID in the workflow.

data.items[].name

string

operator name.

data.items[].identifier

string

operator identification.

data.items[].description

string

operator description. Returned if there is a value.

data.items[].handler

string

processing function. Returned if there is a value.

data.items[].version

string

operator version. Returned if there is a value.

data.items[].isolation_level

string

Isolation configuration. Returned if there is a value.

data.items[].language

integer

Implement numerical encoding of the language. Returned if there is a value.

data.items[].kind

integer

Numeric encoding of operator type. Returned if there is a value.

data.items[].enabled

boolean

Whether the operator is enabled.

data.items[].source_file_id

string

Source file ID. Returned when created using the source file.

data.items[].input_schema

string

Enter the defined serialization content. Returned if there is a value.

data.items[].output_schema

string

Outputs the serialized content of the definition. Returned if there is a value.

data.items[].binding_config

string

The serialized content of the binding configuration. Returned if there is a value.

data.items[].base_node_id

string

The base operator associated with the built-in binding type. Returned if there is a value.

data.items[].base_node_version

string

The base operator version associated with the built-in binding type. Returned if there is a value.

data.items[].catalog_id

integer

The associated Catalog ID. Returned if there is a value.

data.items[].database_id

integer

The associated database ID. Returned if there is a value.

data.items[].created_by

string

Creator ID. Returned if there is a value.

data.items[].updated_by

string

Last updated by identifier. Returned if there is a value.

data.items[].created_at

integer

Create timestamp. Returned if there is a value.

data.items[].updated_at

integer

Last updated timestamp. Returned if there is a value.

Error response

JSON
{
  "code": "ErrParamInvalid",
  "msg": "请求参数无效"
}

Field

Type

Description

code

string

error code.

msg

string

Readable error message.

Common HTTP errors

HTTP status

Error code

Common cause

Recommended action

400

ErrParamInvalid, ErrWorkspaceRequired

Invalid request field, workspace, or operation precondition.

Fix the request parameters and submit again.

403

ErrForbidden

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

ErrNotFound

The target object or required reference was not found.

Verify the object identifier, workspace, and current status.

500

ErrServer

Internal processing failed; write operations may have been partially applied.

Retain request and trace details, and verify the current state before retrying.

503

ErrServiceUnavailable

A business, runtime, or authorization dependency is temporarily unavailable.

After the dependency recovers, check existing results first instead of blindly repeating writes.

Last updated on