Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

Client Access → List Access Requests

AI-generated

Summary

List access requests for a client, optionally filtering by request status and search text, with options for pagination and including metadata.

Inputs

  • Include Plug Metadata — Boolean to include operation and pagination metadata in the response under the __plug object; defaults to true.
  • Request Status — Filter access requests by their status: all, pending, approved, rejected, expired, or revoked; defaults to all.
  • Search — Optional text to search access requests, forwarded to Plug for filtering results.
  • Return All — Boolean to request all pages before returning; if false, only the specified page is requested.
  • Page — Page number to request when Return All is false; defaults to 1.
  • Page Size — Number of items per page when Return All is false; defaults to 50.

Output shape

a list of access request items, each representing a client access request, including optional metadata if requested

The output supports pagination if Return All is false; if Return All is true, all pages are aggregated into a single list. The __plug metadata object, if included, contains operation and pagination metadata.

Examples

Example 1: Fetch all approved access requests with metadata

Include Plug Metadata set to true; Request Status set to approved; Return All set to true; other parameters as default.

Links

Discussion