Interface: WebhookCallbackRequest
@kortexya/reasoninglayer / WebhookCallbackRequest
Interface: WebhookCallbackRequest
Section titled “Interface: WebhookCallbackRequest”Defined in: src/types/webhook-actions.ts:131
Request to complete a pending invocation (webhook callback).
Remarks
Section titled “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
Section titled “Properties”error?
Section titled “error?”
optionalerror?:string|null
Defined in: src/types/webhook-actions.ts:133
Error message if failed.
notifyAgentId?
Section titled “notifyAgentId?”
optionalnotifyAgentId?:string|null
Defined in: src/types/webhook-actions.ts:135
Optional: Agent UUID to notify with webhook results.
notifyTenantId?
Section titled “notifyTenantId?”
optionalnotifyTenantId?:string|null
Defined in: src/types/webhook-actions.ts:137
Optional: Tenant UUID for the agent to notify.
outputs?
Section titled “outputs?”
optionaloutputs?:Record<string,unknown>
Defined in: src/types/webhook-actions.ts:139
Output values to bind to the Psi-term features.
status
Section titled “status”status:
string
Defined in: src/types/webhook-actions.ts:141
Status of the action: “success”, “failed”, or “cancelled”.