Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

Client Access → Get Client Token

AI-generated

Summary

Retrieve a client token for a specified Plug agent by its Agent ID, optionally including operation and pagination metadata in the response.

Inputs

  • Agent ID (required) — The unique identifier of the Plug agent for which to retrieve the client token.
  • Include Plug Metadata — Boolean flag to include the __plug object containing operation and pagination metadata in the output (default is true).

Output shape

A JSON object containing the client token details for the specified agent, with optional __plug metadata if requested.

The output includes the client token information as JSON and may contain the __plug metadata object with operation and pagination metadata when the Include Plug Metadata option is enabled. The operation requires a valid Agent ID string as input.

Links

Discussion