API Reference
Retrieve Account Details
Retrieves the account details of the authenticated user, including name, email, and remaining credits.
GET
/
user
/
account
Note: This operation does not consume any account credits, but rate limits apply.
Retrieve Account Details
This endpoint retrieves the account details of the authenticated user, including their name, email, and the number of remaining credits.
Request
- Endpoint:
GET /user/account
- Authorization: Bearer token required
Response
A successful response will return the user’s account details and information about the remaining credits.
Example Response
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
status
string
name
string
The name of the user
email
string
The email address of the user
statusCode
integer
usage
object
requestCompletionTime
string
Time taken to complete the request
timestamp
string