GetAutomationEventTask - Get event task details

Updated at:

Applicable editions

Central edition, Region edition

Service endpoint and authorization information

Product

Resource

Required permission

Organization Management

Automation event tasks

Read-only

Request syntax

Central edition

GET https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-tasks/{name}

Region edition

GET https://{domain}/oapi/v1/platform/automation/event-tasks/{name}

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Required for the Central edition

  • Not required for the Region edition

Organization ID.

name

string

path

Yes

Event task name generated by the server, such as event-1a2b3c4d.

Request example

Central edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/platform/organizations/{organizationId}/automation/event-tasks/{name}' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/platform/automation/event-tasks/{name}' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

object

actions

array

-

object

id

string

Action node ID, used to map run records to action types.

type

string

Action type, such as starops.execute_ai / mail.send_report / dingtalk.send_report.

channels

array[string]

condition

string

CEL compiled from a structured filter (or an expression entered directly in the advanced interface). Displayed as read-only.

createdAt

string

displayName

string

enabled

boolean

eventTypes

array[string]

filter

object

Structured filter conditions. Three forms are supported: a single predicate {field,op,value\|values}; a single group {all:[predicate,...]}; or a two-level condition group {any:[member,...]}, where each member is a predicate or {all:[predicate,...]} (a match occurs when any member is satisfied; all predicates in an all group must be satisfied). The number of any members and predicates in a single group cannot exceed 16 each, and the total number of predicates in an expression cannot exceed 32. not, nested any groups, and nested groups within all are not supported. field can only be data.<field path>; the allowed field and operator list is defined by allowedOps in the event field catalog.

mailSubject

string

manageable

boolean

false indicates that the rule contains advanced configuration that cannot be losslessly represented in the form. It can be viewed, enabled or disabled, deleted, and its records viewed, but cannot be updated through the form.

mode

string

AI execution mode: command without channels; report with channels.

model

object

The AI model used by the task. Returns Auto (provider=auto, modelId=auto) when no model is configured.

modelId

string

The model ID (without the date suffix). Set to auto when Auto is used.

qwen3.8-max

provider

string

The model provider. Set to auto when Auto is used.

qwen

name

string

Stable task name generated by the server.

event-1a2b3c4d

prompt

string

recipients

array[string]

scope

object

unmanageableReason

string

Reason code for the rule not being form-manageable, such as nested_filter_group (the filter condition exceeds the two-level condition group form: not, nested any, nested groups in all, or excessive complexity) / raw_cel_condition / multi_event_types.

updatedAt

string

version

integer

Response example

{
    "actions": [
        {
            "id": "",
            "type": ""
        }
    ],
    "channels": [
        
    ],
    "condition": "",
    "createdAt": "",
    "displayName": "",
    "enabled": false,
    "eventTypes": [
        
    ],
    "filter": {
    },
    "mailSubject": "",
    "manageable": false,
    "mode": "",
    "model": {
        "modelId": "qwen3.8-max",
        "provider": "qwen"
    },
    "name": "event-1a2b3c4d",
    "prompt": "",
    "recipients": [
        
    ],
    "scope": {
    },
    "unmanageableReason": "",
    "updatedAt": "",
    "version": 0
}

Error codes

For API-related error codes, see the Error Code Center.