Endpoint
Get information about the currently authenticated user, including email, tier, available credits, and account creation date.
Authentication
This endpoint requires authentication via the X-API-Key header.
X-API-Key: ki_your_api_key_here
Response
The user’s registered email address.
The user’s subscription tier. Values: free, pro, enterprise.
Number of available credits remaining for the user’s account.
ISO 8601 timestamp of when the account was created.
Example Request
curl -X GET https://api.kaggleingest.com/api/auth/me \
-H "X-API-Key: ki_Xk2pL9mN4vQ7rT8sW1yZ3bC5dE6fG0hJ"
import requests
api_key = "ki_Xk2pL9mN4vQ7rT8sW1yZ3bC5dE6fG0hJ"
response = requests.get(
"https://api.kaggleingest.com/api/auth/me",
headers={"X-API-Key": api_key}
)
user_info = response.json()
print(f"Email: {user_info['email']}")
print(f"Credits remaining: {user_info['credits']}")
const apiKey = 'ki_Xk2pL9mN4vQ7rT8sW1yZ3bC5dE6fG0hJ';
const response = await fetch('https://api.kaggleingest.com/api/auth/me', {
headers: {
'X-API-Key': apiKey
}
});
const userInfo = await response.json();
console.log('Email:', userInfo.email);
console.log('Credits remaining:', userInfo.credits);
Example Response
{
"email": "[email protected]",
"tier": "free",
"credits": 10,
"created_at": "2026-03-01T14:30:00.000Z"
}
Error Responses
{
"detail": "Missing X-API-Key header. Get your key at https://kaggleingest.com/dashboard"
}
{
"detail": "Invalid API key"
}
Notes
- Use this endpoint to check your remaining credits before making requests
- The
created_at timestamp is in ISO 8601 format (UTC)
- Free tier accounts start with 10 credits