> ## Documentation Index
> Fetch the complete documentation index at: https://docs.videnly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Account Details

> Retrieves the account details of the authenticated user.

<Note type="warning">**Note:** This operation does not consume any account credits, but rate limits apply.</Note>

## 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

```json theme={null}
{
   "status": "success",
   "name": "John Doe",
   "email": "john.doe@example.com",
   "statusCode": 200,
   "usage": {
      "remainingCredits": 5
   },
   "requestCompletionTime": "50 ms",
   "timestamp": "2024-09-12T02:44:45.213Z"
}
```


## OpenAPI

````yaml GET /v1/user/account
openapi: 3.0.0
info:
  title: Videnly API
  version: 1.0.0
  description: API for managing video generation, queue, and user account details.
servers: []
security: []
paths:
  /v1/user/account:
    get:
      tags:
        - User
      summary: Retrieve account details
      description: Retrieves the account details of the authenticated user.
      operationId: getUserAccount
      responses:
        '200':
          description: Account details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  name:
                    type: string
                  email:
                    type: string
                  statusCode:
                    type: integer
                  usage:
                    type: object
                    properties:
                      remainingCredits:
                        type: integer
                  requestCompletionTime:
                    type: string
                  timestamp:
                    type: string
                    format: date-time
        '500':
          description: Server error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Use format `Bearer YOUR_API_KEY`.

````