Skip to content

REST API Connections

The built-in REST API connector reads HTTP JSON or CSV endpoints as if they were database tables. It needs no extra driver. You create it on the Connections page like any other connection and read from it with the SQL Input node.

Configure connection form for the REST API connector: base URL, authentication method, secret reference, endpoints, and advanced options for headers, parsing, and pagination

Options

OptionWhat it does
Base URLEvery endpoint path resolves against it
AuthenticationNone, API key header (configurable header name), API key query parameter (configurable name, default api_key), Bearer token, or HTTP Basic
EndpointsRelative paths declared on the connection. Each appears as a table in SQL Input
Custom headers and default query paramsSent with every request, for tenant headers, API versions, or fixed filters
Response format and records pathAuto, JSON, or CSV, plus a dot path such as data.items for APIs that wrap their rows
PaginationPage-number pagination: page and page-size parameter names, page size, a start page (0 for APIs that count from zero), and a maximum number of pages. The connector loops through the pages for you
Timeout and TLS verificationA per-connection request timeout, and a TLS-verify toggle for internal endpoints. The toggle is refused when CIAREN_CONNECTOR_BLOCK_PRIVATE_HOSTS is on

The authentication secret comes from the connection's secret reference (env:, keyring:, or file:) and is never stored. For the query-parameter style, it always replaces any same-named parameter left in an endpoint path or the default parameters.

Use it in a flow

  1. Add a SQL Input node and pick the API connection.
  2. Choose a declared endpoint, or switch to Custom request path and enter something like users?active=true.

Each run saves the response as a parquet snapshot like any other input, so runs stay reproducible. API connections are read-only: SQL Output does not list them.

Limits

The connector applies the same SSRF host guard as every other connector. It caps responses before parsing at 256 MiB per request, and also cumulatively across the pages of one paginated read. Whatever max_pages says, a read stops at 1000 pages. For larger extractions, filter or window the endpoint and split the read across runs.

See also