HTTP request

Make one bounded HTTP request. Use this node for public APIs, private services reached through a bound connectivity service, ordered query APIs and signed requests. Node ID: http.request.

Request configuration

Setting Description Default
Method GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS GET
URL Public HTTPS URL, or an HTTP(S) private URL when a connectivity service is bound
Allowed origin Exact scheme, host and port for dynamic URLs. A request that sends credentials to a URL with no fixed origin needs it; see Authentication
Query Params Ordered key/value rows. Repeated keys are kept
Headers Ordered request-header rows
Authentication No auth, Bearer token, Basic, API key, Connection, AWS SigV4 or Signature No auth
Body None, JSON, Form encoded, Text or Raw None
Content type The media type a Raw body is sent under
Idempotency header Send the step's idempotency key in this header, such as Idempotency-Key
Fail on non-success status Fail on non-2xx responses instead of returning them as data On
Max response body (bytes) The largest response body the request accepts. See Response size 200,000

The node never follows redirects. A 3xx response succeeds with bounded redirect evidence, including whether the target still satisfies the configured origin policy. Following it takes a new request.

JSON and +json responses are decoded when possible. Response headers are always returned, with Authorization, Set-Cookie, Cookie and Location values redacted.

Idempotency header suits a service that recognizes a repeated request by a key. The key stays the same across the step's retries, so Retry on Failure can also cover timeouts and server errors. Your own header of that name wins.

Response size

A response body larger than Max response body fails the node with a response_too_large error before any of it is exposed. The default is 200,000 bytes (200 KB). Raise it on the node, up to 4,000,000 bytes (4 MB), when an endpoint can't be paged or filtered under the default. A larger value fails the save. The transport stops reading at the limit, so a refused response is never held in memory past it.

The error names the limit that was applied and, in details, the ceiling it can be raised to:

{"type": "response_too_large", "message": "HTTP response exceeded the 200 KB max_response_bytes limit",
 "details": {"max_response_bytes": 200000, "max_response_bytes_ceiling": 4000000}}

Three other limits sit around this one:

  • Connectivity-bound requests are capped at 700,000 bytes (700 KB). The request runs in a step container and hands its response back through the step's captured output, which the step runtime reads with a 1 MiB bound. The base64 encoding takes the rest. A larger Max response body works on direct requests and is lowered to that cap on any request that runs through a connectivity binding, public host or not. The error then says so: "…exceeded the 700 KB limit of the connectivity transport", with configured_max_response_bytes and connectivity_max_response_bytes in details.
  • Run history stores at most 256 KiB per step output. Within one uninterrupted run a larger body flows to downstream nodes in full, and only the run view keeps a truncated preview of response marked __truncated__. A run that suspends after this node (an approval, a wait, human input) resumes from that stored preview, so downstream nodes then read the preview. Extract what you need under Inputs and outputs, or reduce the body with a transform, before any suspending node.
  • Tools never carry this setting. A Tool call reads at the default, because the result of every Tool call is bounded to the same 200 KB after it runs. An agent or App that needs a larger body reduced calls a workflow instead, whose HTTP request node raises the limit and whose next step projects the body down. HTML text and link projection (body_text, links) runs on bodies up to 200 KB only.

Public and private destinations

Without a connectivity service, the destination must be a public HTTPS DNS hostname. Loopback, private, tailnet, IP-literal, credential-bearing and plaintext HTTP URLs are rejected.

To reach a private service or tailnet host, choose a connectivity service such as Tailscale under Send through in the node's Network section. Private RFC1918 addresses, 100.64.0.0/10 tailnet addresses, MagicDNS names and plaintext HTTP are then permitted. The request runs in an isolated network step beside that service. Declaring a service isn't enough: the runtime must supply the connectivity proxy contract.

When Allowed origin is set, every request must use that exact scheme, hostname and effective port. Paths and query strings may vary. Userinfo is always rejected. Allowed origin itself can't carry a path, query or fragment, and a request through a connectivity service can't carry a fragment.

Header and query rows

A row is an object with a name and a value:

{"key": "Accept", "value": "application/json"}

key is the canonical name and name is an accepted alias, so a row written by hand works either way. enabled is optional bookkeeping the row editor supplies: a row that omits it is sent, and only false turns a row off. All of these reach the wire:

{"key": "Accept", "value": "application/json", "enabled": true}
{"key": "Accept", "value": "application/json"}
{"name": "Accept", "value": "application/json"}

A row that names neither key nor name, or names one that isn't text (null, a number), is refused when the workflow or Tool is saved, naming the accepted shape. A row whose name is present but blank is the state the editor writes the moment you add a row. It saves and sends nothing.

A header row's value is text. A {"$secret": "NAME"} reference is a query-parameter value, and on a header row it's refused at save. Send a credential through Authentication instead (Bearer token, or API key for a custom header), which resolves it and keeps it out of run history.

The same shape is published as headers.items and query_params.items in the node's config_schema, so node_types answers it.

Request body and its media type

The body is one object naming its type and content:

{"type": "json", "content": {"title": "finding"}}

A json content may be an object (encoded for you) or a string you already encoded. The request declares the media type its own encoding produced:

Body type Content-Type sent
JSON application/json
Form encoded application/x-www-form-urlencoded
Text text/plain
Raw None, unless content_type names one
None None

A Content-Type row in Headers always wins, in any casing. For a Raw body, declare the media type on the body itself instead of adding a header row:

{"type": "raw", "content": "<order/>", "content_type": "application/xml"}

The declaration must be a real media type (application/xml, text/csv; charset=utf-8), or the save fails. Only a Raw body names one: content_type on any other type fails the save too. Changing the body type away from Raw drops the declaration.

The media type is applied before the request is signed, so a signature and Connection signing cover the exact headers sent.

Ordered query parameters and secrets

Query rows stay in authored order, after any query already in the URL. Repeated keys aren't collapsed:

https://example.com/search?existing=1
artist_mbids=a
artist_mbids=b

The request is sent as:

https://example.com/search?existing=1&artist_mbids=a&artist_mbids=b

A query value can select a workspace secret. Its stored value is a reference to the secret, never plaintext. URL query values can use the exact reserved form:

https://example.com/flex?token={{ secret("FLEX_TOKEN") }}

Secret names use uppercase letters, digits and underscores and must start with a letter. The resolved value is URL-encoded, registered for run redaction and used only for the current request. Dry runs check the placeholder without reading the secret store.

Authentication

Choose one method. Every credential is a workspace secret, and plaintext tokens, passwords and keys aren't accepted. The method owns what it sends: its header or query parameter replaces a row with the same name. Each resolved credential, and everything built from it, is redacted from run history.

  • Bearer token sends Authorization: Bearer <token>. Store the raw token.
  • Basic sends Authorization: Basic <base64(username:password)>. The password is the secret.
  • API key sends the key under a header or query parameter name you choose, with an optional prefix (Token abc123).
  • Connection uses a Connection in this workspace and its provider-owned HTTP authentication contract.
  • AWS SigV4 uses an AWS Connection plus the signing service and optional region.
  • Signature signs the request with a workspace secret: HMAC-SHA256/512, or RSA/ECDSA with a PEM key. Choose what's signed and in what order (timestamp, method, path, query, body, header:NAME, literal:TEXT), the encoding, where the signature goes, an optional timestamp and nonce, an optional receive window, and an optional API key sent beside it. Preset loads a starting recipe. A new Signature starts from Custom. Binance-style (query signature) signs the query and sends X-MBX-APIKEY, and Header signature (timestamp + method + path + body) signs timestamp, method, path and body into a base64 header.

A signature covers the exact bytes sent on the wire, including the URL's existing query, authored rows in their order, the receive window and generated values.

Credentials need a fixed origin. A Bearer, Basic, API key or Signature method, a secret in the URL or query, or a credential header may only go to an origin you fixed. A fixed host with a templated path passes. A wired url has to stay on that host's origin, or the step fails with "This URL is outside the credential's fixed origin". A blank URL or a templated host needs Allowed origin, or the step fails at run time with "Choose a fixed URL or allowed origin before sending credentials". Connection and AWS SigV4 check their own provider-owned destinations.

Status handling

With Fail on non-success status on, a non-2xx response fails the node with a structured http_error that carries the status and retry timing when available. Redirects stay the evidence-only exception described above.

Turn it off when an error status is business data, such as an API that uses 400 to mean an empty search window. The node then succeeds for every HTTP status, so a downstream If step can branch on response.ok.

Transport failures, invalid destinations, timeouts, malformed proxy responses and responses above Max response body still fail regardless of this setting.

Inputs and outputs

The collapsed url, method, params and body input ports override their configured values when wired. Add input takes a value the URL, params, headers or body read as {{ name }}. Headers and authentication stay node configuration.

Output Description
response.status HTTP status code
response.status_text The status's reason phrase
response.ok true for 2xx, false otherwise
response.url The URL requested, with credentials masked
response.headers Response headers by lowercase name, sensitive values redacted
response.body Decoded JSON when applicable, otherwise the bounded response body
response.body_text, response.links An HTML page's readable text and links
response.redirect Evidence for a 3xx target, never automatic execution authority

Declared outputs under Inputs and outputs can extract and type fields beneath response for downstream nodes.

Per-item pacing

HTTP request runs once with whatever it receives, a list included. To send one request per item, set For each item to Each item in the Execution group. Every output then becomes a list with one value per item. For each item covers the cap, concurrency, pacing and failure handling.

Troubleshooting

A header or query row is missing from the request

  • Check the row carries key (or its alias name) as text.
  • Check the row's name isn't blank. A blank name saves and sends nothing.
  • Check enabled isn't false.

The server answers 415 Unsupported Media Type

  • Set the body type to JSON, Form encoded or Text so the request declares its media type, or name one with content_type on a Raw body.
  • A Content-Type header row overrides all of that, so check for one that disagrees with the payload.

Private URL is rejected

  • Choose the connectivity service under Send through.
  • Confirm the service is active and supplied the runtime proxy contract.
  • Match the URL's scheme, host and port to Allowed origin when one is set.

Authentication fails

  • Select workspace secrets rather than entering plaintext.
  • For a signature, compare what's signed, the encoding, and the timestamp, signature, receive-window and API-key names with the provider's documentation.
  • Confirm the selected Connection belongs to this workspace and permits the destination.

"Choose a fixed URL or allowed origin before sending credentials"

  • Set Allowed origin, or make the URL's host fixed. See Authentication.

Response is too large

  • Raise Max response body under Response options, up to 4 MB. The error's details.max_response_bytes is the limit applied and details.max_response_bytes_ceiling the most it can be.
  • On a connectivity-bound request the cap is 700 KB regardless of the setting. The error names the connectivity transport when that's what lowered it. Reach the endpoint publicly, or page it.
  • On a Tool the limit is the 200 KB default and can't be raised. Page the endpoint first: expose the query_params object, or a {{page}} slot in a fixed query row, so the caller requests each page. When a page still can't fit, run a workflow that reduces the body.
  • Otherwise request a narrower payload, use pagination, or filter at the API.

Timeout

  • Set Step timeout (ms) in the Execution group. Left blank, the step has 60,000 ms and the request itself waits 30 seconds. A value over 30,000 also becomes the request's wait, which never drops below 30 seconds.