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

# Get session

> Reads a session record. The `participant_token` is **never** returned on read — only at creation. Transcript and usage are delivered asynchronously via the session-update webhook. Scope `sessions:read`.



## OpenAPI

````yaml /api-reference/openapi.json get /sessions/{session_id}
openapi: 3.1.0
info:
  title: Lehar API
  version: v0
  description: >-
    Customer-facing REST API for the Lehar voice-AI platform. Platform-admin
    endpoints are intentionally excluded from this reference. Regenerate with
    `npm run sync:openapi`.
servers:
  - url: https://api.lehar.ai/ca/api/v0
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /sessions/{session_id}:
    get:
      tags:
        - Sessions
      summary: Get session
      description: >-
        Reads a session record. The `participant_token` is **never** returned on
        read — only at creation. Transcript and usage are delivered
        asynchronously via the session-update webhook. Scope `sessions:read`.
      operationId: get_customer_session_ca_api_v0_sessions__session_id__get
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
      responses:
        '200':
          description: Session record
          content:
            application/json:
              example:
                id: sessrow_01EXAMPLE
                session_id: session_01EXAMPLE
                customer_id: customer_01EXAMPLE
                user_id: user_01EXAMPLE
                user_name: Jane Operator
                agent_id: agent_sales_hi
                room_name: room_01EXAMPLE
                participant_identity: user_01EXAMPLE
                participant_name: Jane Operator
                dispatch_id: disp_01EXAMPLE
                livekit_url: wss://media.lehar.ai
                status: ended
                qualified: null
                metadata:
                  customer_id: customer_01EXAMPLE
                  user_id: user_01EXAMPLE
                  agent_id: agent_sales_hi
                  session_id: session_01EXAMPLE
                  call_type: web
                call_type: web
                started_at: '2026-05-22T10:00:00Z'
                ended_at: '2026-05-22T10:04:30Z'
                created_at: '2026-05-22T10:00:00Z'
                updated_at: '2026-05-22T10:04:30Z'
        '404':
          description: Not found
          content:
            application/json:
              example:
                error:
                  code: not_found
                  message: Session not found
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
    BearerAuth:
      type: http
      scheme: bearer

````