Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

SQL → Get Agent Profile

AI-generated

Summary

Fetches the Plug agent profile using a guided profile command or a supplied JSON-RPC command, over REST or Socket.

Inputs

  • Channel — Choose REST (default) or Socket for the command transport.
  • Input Mode — Guided mode builds the profile command. Advanced mode requires a Raw JSON-RPC Command object; the resolved client token is injected where supported.
  • Agent ID — Overrides the target agent ID; when empty, the credential's Default Agent ID is used.
  • Client Token — Overrides the client token; when empty, the credential's Default Client Token is used.
  • Additional Options — In guided mode, configure the timeout, API version, optional command metadata, server timing request, and maximum parallel input items.
  • Socket Options — When using Socket, configure stream buffer limits, pull window size, relay fast path, and server timing request.
  • Response Mode — Choose the output format, including aggregated JSON, a single item, chunk items, or the raw JSON-RPC envelope.
  • Include Plug Metadata — When enabled (default), include the __plug metadata object in the output.

Output shape

One or more n8n items containing the normalized profile command response; the selected response mode can affect the item shape.

The supplied source pack shows generic SQL command construction and output handling but omits the implementation bodies, so it does not establish the exact profile fields returned. Raw JSON-RPC mode returns the normalized RPC envelope.

Links

Discussion