Relay Request
relay_request · Nodes · Iot
Sends a request through Verdalia Relay.
Relay Request#
Send a signed JSON request to a Verdalia Relay API path.
Configuration#
connection — Verdalia Relay connection: pick one, or write a template such as
{{ input.connection_id }} that resolves to a connection id from input on each run. The node
fails, naming the template and what it resolved to, when the input has no value for it, the value
is not a connection id, no Verdalia Relay connection has that id, or that relay is offline.
method — GET, POST, PUT, PATCH, or DELETE. Default: POST.
path — Relay API path. Must start with /api/. A path that resolves to a computer-use route
(/api/computer/…, in any spelling: //, ., .., \ or percent-encoding) is refused before
anything is sent; agents reach computer use through the Relay computer-use tools.
query — Optional query parameters. Values support interpolation from input.
body — Optional JSON body. JSON payload supports interpolation and must parse after rendering.
Inputs#
input — JSON value used as interpolation context.
Output#
output
{
"status": 200,
"content_type": "application/json",
"headers": {},
"body": {}
}
The Relay client currently returns parsed JSON only, so status is fixed at 200 and headers are empty.
Inputs
inputRequired
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
connection | connection(verdalia_relay) | Yes | Verdalia Relay connection to use, or a template that resolves to a connection id from the node's input, such as {{ input.connection_id }} |
method | enum(GET, POST, PUT, PATCH, DELETE) | No | Relay API method |
path | string | Yes | Relay API path. Must start with /api/ |
query | array<record> | No | Optional query parameters |
body | tagged_union | No | Optional JSON request body |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |