Skip to content

Interface: RegisterExternalActionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RegisterExternalActionRequest

Defined in: src/types/webhook-actions.ts:52

Request to register a new external action type.

This creates a new sort in the hierarchy inheriting from effect, with features for all inputs and outputs.

optional description?: string | null

Defined in: src/types/webhook-actions.ts:54

Description of what this action does.


name: string

Defined in: src/types/webhook-actions.ts:56

Unique name for this action (becomes the sort name).


optional optionalInputs?: Record<string, unknown>

Defined in: src/types/webhook-actions.ts:58

Optional input features with default values.


optional outputs?: string[]

Defined in: src/types/webhook-actions.ts:60

Output feature names (bound after callback).


optional requiredInputs?: string[]

Defined in: src/types/webhook-actions.ts:62

Required input feature names.


tenantId: string

Defined in: src/types/webhook-actions.ts:64

Tenant that owns this action.


optional timeoutSecs?: number | null

Defined in: src/types/webhook-actions.ts:66

Timeout in seconds (default: 3600).


optional webhookSecret?: string | null

Defined in: src/types/webhook-actions.ts:68

Secret for HMAC signature verification.


webhookUrl: string

Defined in: src/types/webhook-actions.ts:70

URL to call when action is invoked.