Account
Retrieve the current account
Returns account details, subscription info, usage statistics, and API key metadata for the authenticated user.
get/api/v1/me
Request
- Base URL: https://api.sudomock.com
- URL: https://api.sudomock.com/api/v1/me
- Auth: API key in header x-api-key
Response
Successful Response
Example response
{
"data": {
"account": {
"created_at": "2025-06-15T10:30:00Z",
"email": "user@example.com",
"name": "Acme Corp",
"uuid": "123e4567-e89b-12d3-a456-426614174000"
},
"api_key": {
"created_at": "2025-06-15T10:30:00Z",
"last_used_at": "2026-01-05T00:25:00Z",
"name": "Production Key",
"total_requests": 847293
},
"organization": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Acme"
},
"subscription": {
"billing_channel": "stripe",
"current_period_end": "2026-02-05T00:00:00Z",
"plan": "pro-25k",
"status": "active",
"tier": "pro"
},
"usage": {
"billing_period_end": "2026-02-01T00:00:00Z",
"billing_period_start": "2026-01-01T00:00:00Z",
"credits_limit": 50000,
"credits_remaining": 37153,
"credits_used_this_month": 12847,
"prepaid_balance": 0,
"prepaid_balance_currency": "USD"
}
},
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.