Skip to main content
GET
/
api
/
chats
/
api-key
/
info
Get current API key information
curl --request GET \
  --url https://api.leanmcp.com/api/chats/api-key/info \
  --header 'Authorization: Bearer <token>'
{
  "apiKeyId": "<string>",
  "name": "<string>",
  "scopes": [
    "<string>"
  ],
  "userId": "<string>",
  "firebaseUid": "<string>",
  "lastUsedAt": "<string>",
  "expiresAt": "<string>",
  "isExpired": true
}

Authorizations

Authorization
string
header
required

Enter your LeanMCP API key

Response

200 - application/json

API key information retrieved successfully

apiKeyId
string
name
string
scopes
string[]
userId
string
firebaseUid
string
lastUsedAt
string | null
expiresAt
string | null
isExpired
boolean