Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
agent Submodule
designer
Visual graph editing, validation, compilation, AI-assisted editing, variables, and triggers.
Source path: libraries/agent/src/controllers/agent.controller.ts
Module file: agent.module.ts
Introduction
The Designer submodule is where workflows become executable graphs. It exposes read/write graph endpoints, validation and compilation helpers, AI-assisted graph editing, plus supporting resources like variables and triggers.
This is the part of the library closest to a low-code automation builder: nodes, edges, versioned graphs, trigger secrets, and workflow state variables all live here.
HTTP Endpoints
16 endpoints
Get the current graph.
- Params
- id (int)
Replace the current graph.
- Params
- id (int)
Get a version-specific graph.
- Params
- id (int), versionId (int)
Replace a version-specific graph.
- Params
- id (int), versionId (int)
Validate a graph.
- Params
- id (int), versionId (int)
Compile a graph into runtime form.
- Params
- id (int), versionId (int)
Apply AI-assisted graph edits.
- Params
- id (int), versionId (int)
List workflow variables.
- Params
- id (int)
Create a workflow variable.
- Params
- id (int)
Update a workflow variable.
- Params
- id (int), varId (int)
Delete a workflow variable.
- Params
- id (int), varId (int)
List workflow triggers.
- Params
- id (int)
Create a trigger.
- Params
- id (int)
Update a trigger.
- Params
- id (int), triggerId (int)
Delete a trigger.
- Params
- id (int), triggerId (int)
Rotate a trigger token.
- Params
- id (int), triggerId (int)