GET /v1/me
Get your account information and credit balance
Retrieve your account details, including your current credit balance, plan information, and usage.
GET https://pub.finetuning.ai/v1/me
| Header | Type | Required | Description |
|---|
X-API-Key | string | Yes | Your API key |
{
"data": {
"id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"email": "you@example.com",
"name": "Your Name",
"tier": "pro",
"limits": {
"monthlyGenerations": 2000,
"generationsUsed": 42,
"monthlyRemaining": 1958,
"packCredits": 10,
"totalRemaining": 1968,
"queueDepth": 2
}
}
}
| Field | Type | Description |
|---|
data.id | string | Your unique user ID (UUID) |
data.email | string | Account email |
data.name | string | Display name |
data.tier | string | Current plan tier |
data.limits.monthlyGenerations | number | Max generations allowed per month |
data.limits.generationsUsed | number | Generations used this month |
data.limits.monthlyRemaining | number | Monthly generations remaining |
data.limits.packCredits | number | Additional credits from purchased packs |
data.limits.totalRemaining | number | Total available generations (monthly + pack) |
data.limits.queueDepth | number | Number of generations currently in queue |
curl https://pub.finetuning.ai/v1/me \
-H "X-API-Key: ft_live_your_key_here"
| Code | Status | Description |
|---|
MISSING_API_KEY | 401 | X-API-Key header was not provided |
INVALID_API_KEY | 401 | API key is malformed, revoked, or does not exist |
INTERNAL_ERROR | 500 | Unexpected server error |