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

# Get the current account

> Verifies the API key and returns identity, credits, tier, and account limits.



## OpenAPI

````yaml /openapi/galileo-v1.yaml get /v1/me
openapi: 3.1.0
info:
  title: Galileo API
  version: 0.1.0
  summary: Evaluate generated videos with Galileo.
  description: |
    Submit generated videos for visual-glitch and prompt-misalignment analysis.
    Evaluation jobs run asynchronously. Retrieve a job until its status reaches
    `completed`, `partial`, or `failed`.
  contact:
    name: Physion Labs support
    email: support@physionlabs.ai
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.physionlabs.ai
    description: Production
  - url: https://api-dev.physionlabs.ai
    description: Development
security:
  - bearerAuth: []
tags:
  - name: Platform
    description: Service health and account metadata.
  - name: Evaluations
    description: Submit videos and retrieve Galileo results.
  - name: Videos
    description: Upload a video once and reference it from evaluations.
paths:
  /v1/me:
    get:
      tags:
        - Platform
      summary: Get the current account
      description: >-
        Verifies the API key and returns identity, credits, tier, and account
        limits.
      operationId: getAccount
      responses:
        '200':
          description: Current account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    Account:
      type: object
      required:
        - object
        - id
        - email
        - name
        - tier
        - credits
        - unlimited
        - limits
      properties:
        object:
          type: string
          const: user
        id:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
          format: email
        name:
          type:
            - string
            - 'null'
        tier:
          type: string
        credits:
          type: number
        unlimited:
          type: boolean
        limits:
          $ref: '#/components/schemas/AccountLimits'
        api_key:
          $ref: '#/components/schemas/ApiKeySummary'
    AccountLimits:
      type: object
      required:
        - requests_per_min
        - window_sec
        - max_concurrent_jobs
        - rate_limits
      properties:
        requests_per_min:
          type: integer
          minimum: 0
        window_sec:
          type: integer
          minimum: 1
        max_concurrent_jobs:
          type: integer
          minimum: 1
        rate_limits:
          type: object
          required:
            - detect
            - generate
            - upload
          properties:
            detect:
              $ref: '#/components/schemas/RateLimitDefinition'
            generate:
              $ref: '#/components/schemas/RateLimitDefinition'
            upload:
              $ref: '#/components/schemas/RateLimitDefinition'
    ApiKeySummary:
      type: object
      required:
        - name
        - prefix
        - last4
      properties:
        name:
          type: string
        prefix:
          type: string
        last4:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
        quota:
          $ref: '#/components/schemas/RateLimitWindow'
    RateLimitDefinition:
      type: object
      required:
        - max
        - window_sec
      properties:
        max:
          type: integer
          minimum: 0
        window_sec:
          type: integer
          minimum: 1
    Error:
      type: object
      required:
        - type
        - code
        - message
        - request_id
      properties:
        type:
          $ref: '#/components/schemas/ErrorType'
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
        request_id:
          type: string
    RateLimitWindow:
      type: object
      required:
        - limit
        - used
        - remaining
        - reset_at
        - reset_in_sec
        - window_sec
        - unlimited
      properties:
        limit:
          type: integer
          minimum: 0
        used:
          type: integer
          minimum: 0
        remaining:
          type: integer
          minimum: 0
        reset_at:
          type:
            - integer
            - 'null'
          minimum: 0
        reset_in_sec:
          type:
            - integer
            - 'null'
          minimum: 0
        window_sec:
          type: integer
          minimum: 1
        unlimited:
          type: boolean
    ErrorType:
      type: string
      enum:
        - invalid_request_error
        - authentication_error
        - rate_limit_error
        - api_error
    ErrorCode:
      type: string
      enum:
        - invalid_body
        - unknown_model
        - missing_video
        - missing_prompt
        - prompt_too_long
        - invalid_glitch_types
        - video_too_long
        - invalid_video
        - not_found
        - not_implemented
        - insufficient_credits
        - missing_api_key
        - invalid_api_key
        - unauthenticated
        - rate_limited
        - concurrency_limit
        - internal_error
        - model_unavailable
        - model_output_invalid
        - model_timeout
        - run_abandoned
  responses:
    Unauthorized:
      description: The API key is missing, invalid, or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: The API encountered an unexpected error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Galileo API key
      description: Use a key created in the Playground. Keys begin with `gk_`.

````