Finetuning.aiFinetuning.ai

GET /v1/me

Get your account information and credit balance

Retrieve your account details, including your current credit balance, plan information, and usage.

Request

GET https://pub.finetuning.ai/v1/me

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour API key

Response

200 OK
{
  "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
    }
  }
}

Response fields

FieldTypeDescription
data.idstringYour unique user ID (UUID)
data.emailstringAccount email
data.namestringDisplay name
data.tierstringCurrent plan tier
data.limits.monthlyGenerationsnumberMax generations allowed per month
data.limits.generationsUsednumberGenerations used this month
data.limits.monthlyRemainingnumberMonthly generations remaining
data.limits.packCreditsnumberAdditional credits from purchased packs
data.limits.totalRemainingnumberTotal available generations (monthly + pack)
data.limits.queueDepthnumberNumber of generations currently in queue

Example

curl https://pub.finetuning.ai/v1/me \
  -H "X-API-Key: ft_live_your_key_here"

Errors

CodeStatusDescription
MISSING_API_KEY401X-API-Key header was not provided
INVALID_API_KEY401API key is malformed, revoked, or does not exist
INTERNAL_ERROR500Unexpected server error

On this page