Skip to content

Interface: RegisterExternalActionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WebhookActions / RegisterExternalActionRequest

Interface: RegisterExternalActionRequest

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

Request to register a new external action type.

Remarks

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

Properties

description?

optional description: string | null

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

Description of what this action does.


name

name: string

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

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


optionalInputs?

optional optionalInputs: Record<string, unknown>

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

Optional input features with default values.


outputs?

optional outputs: string[]

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

Output feature names (bound after callback).


requiredInputs?

optional requiredInputs: string[]

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

Required input feature names.


tenantId

tenantId: string

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

Tenant that owns this action.


timeoutSecs?

optional timeoutSecs: number | null

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

Timeout in seconds (default: 3600).


webhookSecret?

optional webhookSecret: string | null

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

Secret for HMAC signature verification.


webhookUrl

webhookUrl: string

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

URL to call when action is invoked.