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

# Get account details

> Returns the authenticated account, balance, premium status, and storage usage.



## OpenAPI

````yaml /openapi.yaml get /v1/account
openapi: 3.1.0
info:
  title: Videobase API
  version: 1.0.0
  description: >
    Manage Videobase accounts, uploads, folders, videos, thumbnails, and
    subtitles.


    All operations require a Videobase API key. Header authentication is
    recommended.
servers:
  - url: https://api.videobase.com
    description: Production
security:
  - ApiKeyHeader: []
  - ApiKeyQuery: []
tags:
  - name: Account
    description: Account details and reports.
  - name: Uploads
    description: Direct and remote upload workflows.
  - name: Folders
    description: Folder organization.
  - name: Videos
    description: Video metadata and presentation settings.
  - name: Subtitles
    description: Video subtitle tracks.
paths:
  /v1/account:
    get:
      tags:
        - Account
      summary: Get account details
      description: >-
        Returns the authenticated account, balance, premium status, and storage
        usage.
      operationId: getAccount
      responses:
        '200':
          description: Account details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
              example:
                email: developer@example.com
                balance: '12.45000'
                premiumExpire: '2026-12-31 23:59:59'
                isPremium: true
                storage:
                  total: Unlimited
                  used: 1048576
                  left: Unlimited
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    Account:
      type: object
      required:
        - email
        - balance
        - premiumExpire
        - isPremium
        - storage
      properties:
        email:
          type: string
          format: email
        balance:
          oneOf:
            - type: string
            - type: number
          description: Current account balance.
        premiumExpire:
          type:
            - string
            - 'null'
          description: Premium expiry in `YYYY-MM-DD HH:mm:ss` server time.
        isPremium:
          type: boolean
        storage:
          type: object
          required:
            - total
            - used
            - left
          properties:
            total:
              oneOf:
                - type: number
                  description: Total regular-account storage in KB.
                - type: string
                  const: Unlimited
            used:
              type: number
              description: Used storage in KB.
            left:
              oneOf:
                - type: number
                  description: Remaining regular-account storage in KB.
                - type: string
                  const: Unlimited
    Error:
      type: object
      required:
        - message
        - status
      properties:
        message:
          type: string
          description: Human-readable failure reason. Do not treat it as a stable enum.
        status:
          type: integer
          const: 500
  responses:
    Error:
      description: >-
        Application error. The current API uses HTTP 500 for authentication,
        validation, missing-resource, rate-limit, and server failures.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: File not found
            status: 500
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Recommended. Your 16-character Videobase API key.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: >-
        Legacy alternative. Prefer `X-Api-Key` because query strings are
        commonly logged.

````