Actions7
- Credits Actions
- Users Actions
- Subscriptions Actions
Credits → Can Perform Lookup
AI-generatedSummary
Check if a specified user can perform a lookup by verifying their available credits with the middleware service.
Inputs
- Authentication — Select the authentication method to use, either None (no authentication) or Credentials (using stored credentials).
- Base URL — The base URL of the middleware service; used only if authentication is set to None. Defaults to https://glb-middleware.xeri.dev.
- User ID (required) — The numeric identifier of the user whose lookup capability is being checked.
Output shape
a JSON object indicating whether the user can perform a lookup (boolean or structured response)
The response is received from the middleware API endpoint /api/credits/can-lookup via POST with userId parameter. The operation handles multiple input items with results matched per item. Errors per item are returned if continue on fail is enabled.
Examples
Example 1: Checking lookup permission for a user
Set Authentication to None or Credentials, provide User ID, optionally update Base URL if no credentials are used, then run to receive lookup capability status.