GET
/v1/user/meFree · 0 creditsAccount & Credits
Inspect your developer account credentials, active tier, and remaining credit balance.
AuthenticationAuthorization: Bearer hyd_live_your_api_key_here
Base URLhttps://backend.hydrilla.ai
Overview
Inspect your developer account credentials, active tier, and remaining credit balance.
Response
Successful requests return the job object. Errors use the status codes below.
Authentication errors
401 — Invalid or revoked API key. 402 — Not enough credits.
curl -X GET https://backend.hydrilla.ai/v1/user/me \
-H "Authorization: Bearer hyd_live_your_api_key_here"import requests
res = requests.get("https://backend.hydrilla.ai/v1/user/me", headers={"Authorization": "Bearer hyd_live_..."})
print("Remaining credits:", res.json()["credits"])const res = await fetch("https://backend.hydrilla.ai/v1/user/me", {
headers: { "Authorization": "Bearer hyd_live_..." }
});
const me = await res.json();
console.log(`Credits remaining: ${me.credits}`);{
"user_id": "usr_94f8a120cb9e",
"email": "developer@studio.com",
"credits": 250,
"plan": "pro",
"key_prefix": "hyd_live_d81a..."
}Response fields
- user_id string
- email string
- credits number
- plan string
- key_prefix string
{
"error": "Unauthorized",
"message": "Invalid or revoked API key."
}