Interface: WebhookCallbackRequest
@kortexya/reasoninglayer / WebhookActions / WebhookCallbackRequest
Interface: WebhookCallbackRequest
Defined in: src/types/webhook-actions.ts:131
Request to complete a pending invocation (webhook callback).
Remarks
This is POSTed by the external system when the action completes. Outputs are bound to the action Psi-term’s features, and demons fire.
Optionally, set notify_agent_id and notify_tenant_id to bridge
the webhook result as a belief into the cognitive agent’s TermStore.
Properties
error?
optionalerror:string|null
Defined in: src/types/webhook-actions.ts:133
Error message if failed.
notifyAgentId?
optionalnotifyAgentId:string|null
Defined in: src/types/webhook-actions.ts:135
Optional: Agent UUID to notify with webhook results.
notifyTenantId?
optionalnotifyTenantId:string|null
Defined in: src/types/webhook-actions.ts:137
Optional: Tenant UUID for the agent to notify.
outputs?
optionaloutputs:Record<string,unknown>
Defined in: src/types/webhook-actions.ts:139
Output values to bind to the Psi-term features.
status
status:
string
Defined in: src/types/webhook-actions.ts:141
Status of the action: “success”, “failed”, or “cancelled”.