API Exposure Guide

Executing Actions

Triggering execution steps via REST endpoints dynamically generated from your module.

Executing Generated Actions (REST API)

Actions are pre-configured execution steps tied to a resource (e.g., “Deploy via SSH”, “Apply Terraform”).

  • GET /api/actions: Lists all available actions.
  • POST /api/actions/:module_id/:action_name: Triggers the compilation of an action. Passing required arguments via JSON payload generates and downloads a .tar.gz archive containing the executed context, rendered configurations, and a manifest.json for the requested runtime (e.g., docker, nix, bash).