Get user, credits...
GET/v1/auth/me
Returns the account that owns the API key, including its remaining credit balance. key and quota describe the calling key and its daily request quota.
curl -X GET "https://api.vocallab.net/v1/auth/me" \
-H "xi-api-key: YOUR_API_KEY"const response = await fetch('https://api.vocallab.net/v1/auth/me', {
method: 'GET',
headers: { 'xi-api-key': 'YOUR_API_KEY' }
});
const data = await response.json();import requests
response = requests.get(
'https://api.vocallab.net/v1/auth/me',
headers={'xi-api-key': 'YOUR_API_KEY'},
)
data = response.json()
Responses
200 OK
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"name": "John Doe",
"avatar_url": null,
"credit_balance": 4000,
"role": "user",
"key": {
"id": "0c6b1a2e-…",
"prefix": "vl_live_AbCdEfGh",
"name": "Production"
},
"quota": {
"dailyLimit": 1000,
"used": 12,
"remaining": 988,
"resetsAt": "2026-10-12T00:00:00.000Z"
}
}