cURL
curl --request GET \ --url https://api.leanmcp.com/api/projects/api-key/info \ --header 'Authorization: Bearer <token>'
{ "apiKeyId": "<string>", "name": "<string>", "scopes": [ "<string>" ], "userId": "<string>", "firebaseUid": "<string>", "lastUsedAt": "<string>", "expiresAt": "<string>", "isExpired": true }
Returns information about the API key being used for authentication
Enter your LeanMCP API key
API key information retrieved successfully