LightRAG icon

LightRAG

Query and manage LightRAG with optional live progress in n8n Chat

Custom Request

AI-generated

Summary

Send a request to a relative LightRAG API endpoint using the selected HTTP method, optional query parameters, and—when supported by the method—an optional JSON body. The node uses the configured LightRAG API credentials and returns the endpoint response as n8n items.

Inputs

  • Method — HTTP method: DELETE, GET, HEAD, PATCH, POST, or PUT. Defaults to GET.
  • Path (required) — Relative path on the configured LightRAG API base URL, such as documents/status_counts. Absolute URLs are rejected.
  • Query Parameters — Optional JSON object sent as URL query parameters; defaults to {}.
  • Request Body — Optional JSON object shown for DELETE, PATCH, POST, and PUT; defaults to {}. GET and HEAD requests do not send a body.

Output shape

One or more n8n items containing the API response.

Object responses are returned as item JSON; array responses are split into separate items, and primitive values are wrapped in a value field. Each output item is paired with its input item. Errors fail the operation unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion