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

# Get the current credential

> Identify the authenticated user and the credential in use. Returns the granted scopes and, for expiring credentials, the expiry time. The MCP server calls this to validate tokens before serving tool calls.



## OpenAPI

````yaml /openapi.json get /me
openapi: 3.1.0
info:
  title: OpenWhispr API
  version: 1.0.0
  description: >-
    Manage notes, folders, transcriptions, dictionary words, snippets, and usage
    programmatically, and transcribe audio files (beta).
servers:
  - url: https://api.openwhispr.com/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /me:
    get:
      tags:
        - Usage
      summary: Get the current credential
      description: >-
        Identify the authenticated user and the credential in use. Returns the
        granted scopes and, for expiring credentials, the expiry time. The MCP
        server calls this to validate tokens before serving tool calls.
      operationId: getMe
      responses:
        '200':
          description: The user and credential behind the request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      user_id:
                        type: string
                      credential_type:
                        type: string
                        enum:
                          - api_key
                          - oauth
                      scopes:
                        type: array
                        items:
                          type: string
                      expires_at:
                        type: string
                        format: date-time
                        nullable: true
                    required:
                      - user_id
                      - credential_type
                      - scopes
                      - expires_at
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key starting with owk_live_ (personal) or ow_wks_live_ (workspace —
        see space_id on the Notes/Folders endpoints below)

````