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

# Get session details

> Get the status, duration, and action count for a session.



## OpenAPI

````yaml /openapi.yaml get /v1/sessions/{sessionId}
openapi: 3.1.0
info:
  title: Glasswarp Platform API
  version: 1.0.0
  description: >
    Real-time visual access and native input control on Windows machines.

    See any screen. Control any PC. One API.


    ## Authentication


    All `/v1/*` endpoints require a bearer token:


    ```

    Authorization: Bearer gw_live_sk_...

    ```


    API keys are created in the [Console](/console/keys).

    Keys are scoped to your account and can access any rig with API access
    enabled.


    ## Base URL


    `https://signal.glasswarp.com`
  contact:
    name: Glasswarp
    url: https://glasswarp.com
  license:
    name: Proprietary
servers:
  - url: https://signal.glasswarp.com
    description: Production
security:
  - apiKey: []
paths:
  /v1/sessions/{sessionId}:
    get:
      tags:
        - Sessions
      summary: Get session details
      description: Get the status, duration, and action count for a session.
      operationId: getSession
      parameters:
        - name: sessionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Session details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Session'
        '404':
          description: Session not found
components:
  schemas:
    Session:
      type: object
      properties:
        session_id:
          type: string
          example: s_xyz789
        rig_id:
          type: string
        mode:
          type: string
          enum:
            - desktop
            - app
        status:
          type: string
          enum:
            - active
            - ended
            - failed
        started_at:
          type: string
          format: date-time
        action_count:
          type: integer
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: API key in the format `gw_(live|test)_sk_<hex>`

````