Actions
One HTTP call to one of your systems, which agents and workflow steps can make by name.
A model can decide that an order should be looked up or a case should be opened, but your system has to do it. An action is that bridge: one HTTP call to one of your endpoints, described well enough that an agent or a workflow step knows when to use it and what to fill in.
What an action is made of
- An endpoint and a method. A public HTTPS address (private and internal addresses are refused) and GET, POST, PUT, PATCH or DELETE.
- Parameters. What the model, or a workflow step, fills in: each has a name, a type (
string,number,booleanorenum), whether it is required, and a description that tells the model what it means. - A sensitivity.
readfor a lookup,writefor a call that changes something. - Credentials you never see again. Headers and a signing secret are write-only: they are sent with every call and never returned.
Keeping an action safe
| Setting | What it does |
|---|---|
requires_confirmation | A person approves each call. Leave it off for an action a workflow calls, because the workflow's Approval step already gates it. |
workflow_only | Only a workflow step can call it, never an agent or a visitor. |
compliance_mode | none, hipaa or pci. |
signing_secret | Every call carries X-Liya-Timestamp and an X-Liya-Signature HMAC, so your endpoint can verify it came from LiyaEngine and reject a replay. |
A switched-off action cannot be called by anything. Switch it off before deleting it if you are unsure which workflows use it.
Who uses actions
- An agent can call the actions you give it, as tools, when its goal needs them.
- A workflow calls one in an Action step, with its parameters mapped from earlier steps, and can put an Approval step in front of it.
- An action that changes data is where a guardrail policy can check parameters before the call and sanitize what comes back.
In the dashboard
Open Build → Actions to create an action, try it with sample parameters, switch it off, or delete it.
With the API
Everything is available at /v1/actions with a full-access API key; a read-only key can list and fetch, and a runtime key cannot reach actions at all. See the Actions API reference for every field, how to verify a signature, and the errors.