openapi: 3.0.3
info:
  title: Shoehorn Authentication API
  description: |
    Authentication status for CLI and programmatic clients.
  version: 1.0.0

servers:
  - url: https://shoehorn.example.com/api/v1
    description: Production

paths:
  /auth/cli/status:
    get:
      summary: Get authentication status
      description: Returns the current authentication state for CLI sessions.
      tags: [Authentication]
      responses:
        '200':
          description: Authentication status
          content:
            application/json:
              schema:
                type: object
                properties:
                  authenticated: { type: boolean }
                  user:
                    type: object
                    properties:
                      email: { type: string }
                      name: { type: string }
                      tenant_id: { type: string }
                  expires_at: { type: string, format: date-time }
