API Key → Check
AI-generatedSummary
Validate the configured xR2 API key by sending a test request to the xR2 API and retrieve associated user information if the key is valid.
Inputs
None.
Output shape
a single JSON object containing the validation result and the username associated with the API key
No additional input parameters are required or optional for this operation. It sends a GET request to the /api/v1/check-api-key endpoint using the stored xR2 API credentials. On success, it returns the API response JSON. On error (such as authentication failure), it throws an enhanced error with detailed messages about possible causes and suggestions.
