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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get current user

> Returns the authenticated user for the current bearer token or cookie session.



## OpenAPI

````yaml https://automate.ax/api/v1/openapi.json get /me
openapi: 3.1.1
info:
  title: Automate.ax API
  version: 0.0.0
servers:
  - url: https://automate.ax/api/v1
security:
  - bearerAuth: []
paths:
  /me:
    get:
      tags:
        - Session
      summary: Get current user
      description: >-
        Returns the authenticated user for the current bearer token or cookie
        session.
      operationId: getCurrentUser
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
          format: email
        emailVerified:
          type: boolean
        image:
          anyOf:
            - type: string
            - type: 'null'
        createdAt:
          type: string
          format: date-time
          x-native-type: date
        updatedAt:
          type: string
          format: date-time
          x-native-type: date
      required:
        - id
        - name
        - email
        - emailVerified
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Automate.ax user session bearer token.

````