Skip to main content
POST
Create events.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Body

application/json
name
string
required

Provide name of trigger.

targetType
enum<string>
required

Normalized execution target type used by runtime dispatch.

Available options:
JOB_TEMPLATE,
AGENT,
PLATFORM_OPERATION
targetId
string
required

Normalized execution target id aligned with targetType.

category
string

Category.

desc
string

Description.

metadata
object

Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

targetVersion
number

Optional reserved target version metadata. Ignored for AGENT targets, which always execute the current Agent definition.

targetConfig
object

Optional normalized target configuration payload reserved for future target-specific execution settings.

filter
object

Optional FilterNode-compatible event message filter evaluated against { type, message } before scheduling the target.

active
boolean

Active.

type
enum<string>

Type must be one of FILE_DELETED,FILE_FINALIZED,FILE_ARCHIVED,FILE_UPDATED,STORAGE_CREATED,STORAGE_UPDATED,STORAGE_SYNCHRONIZED,STORAGE_ARCHIVED,STORAGE_RESTORED,STORAGE_DELETED,SERVICE_ACCOUNT_CREATED,SERVICE_ACCOUNT_UPDATED,SERVICE_ACCOUNT_ACTIVATED,SERVICE_ACCOUNT_DEACTIVATED,SERVICE_ACCOUNT_RESTORED,SERVICE_ACCOUNT_DELETED,USER_CREATED,USER_UPDATED,USER_ACTIVATED,USER_DEACTIVATED,USER_RESTORED,USER_DELETED,ACCOUNT_API_KEY_CREATED,ACCOUNT_API_KEY_UPDATED,ACCOUNT_API_KEY_DELETED or starts with CUSTOM_*

Available options:
FILE_DELETED,
FILE_FINALIZED,
FILE_ARCHIVED,
FILE_UPDATED,
STORAGE_CREATED,
STORAGE_UPDATED,
STORAGE_SYNCHRONIZED,
STORAGE_ARCHIVED,
STORAGE_RESTORED,
STORAGE_DELETED,
SERVICE_ACCOUNT_CREATED,
SERVICE_ACCOUNT_UPDATED,
SERVICE_ACCOUNT_ACTIVATED,
SERVICE_ACCOUNT_DEACTIVATED,
SERVICE_ACCOUNT_RESTORED,
SERVICE_ACCOUNT_DELETED,
USER_CREATED,
USER_UPDATED,
USER_ACTIVATED,
USER_DEACTIVATED,
USER_RESTORED,
USER_DELETED,
ACCOUNT_API_KEY_CREATED,
ACCOUNT_API_KEY_UPDATED,
ACCOUNT_API_KEY_DELETED

Response

Job scheduled.

Last modified on September 5, 2026