Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
agent Submodule
webhooks-import-export
Public webhook entrypoint plus workflow import/export validation and confirmation endpoints.
Source path: libraries/agent/src/controllers/agent-webhook.controller.ts, libraries/agent/src/controllers/agent.controller.ts
Module file: agent.module.ts
Introduction
This submodule groups the edges of the Agent library: the public webhook ingress that starts workflows from external callers, and the import/export endpoints used to move workflow definitions between environments.
The webhook controller is explicitly `@Public()` and relies on webhook keys rather than a session. Import/export remains admin-only and is intended for packaging, migration, or CI-style workflow promotion.
HTTP Endpoints
4 endpoints
Trigger a workflow through its webhook key.
- Params
- webhookKey (string)
Validate an import payload before applying it.
Confirm and apply a validated import.
Export one workflow/agent definition.
- Params
- id (int)