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

# List Sessions

> Lists active session metadata for the requesting actor. Token material is never returned, and sessions outside the actor scope are not disclosed.



## OpenAPI

````yaml /api-reference/customer-api.v1.openapi.json get /v1/admin/sessions
openapi: 3.1.0
info:
  title: Mount Thor Customer API
  version: v1
servers:
  - description: Mount Thor customer API edge
    url: https://api.mountthor.com
security: []
paths:
  /v1/admin/sessions:
    get:
      tags:
        - sessions
      summary: List Sessions
      description: >-
        Lists active session metadata for the requesting actor. Token material
        is never returned, and sessions outside the actor scope are not
        disclosed.
      operationId: list_customer_sessions
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerSessionListResponse'
          description: Active sessions for the requesting actor
        '401':
          description: Missing or invalid bearer token
        '403':
          description: Credential is missing account:read scope
        '429':
          content:
            text/plain:
              schema:
                type: string
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds before retry.
              schema:
                minimum: 1
                type: integer
      security:
        - api_key_bearer:
            - account:read
components:
  schemas:
    CustomerSessionListResponse:
      additionalProperties: false
      description: Compute session listing response.
      properties:
        customer_id:
          description: Stable UUID for the customer account.
          format: uuid
          type: string
        sessions:
          description: Active sessions visible to the requesting actor.
          items:
            $ref: '#/components/schemas/CustomerSessionListEntry'
          type: array
        tenant_id:
          description: Stable UUID for the tenant.
          format: uuid
          type: string
      required:
        - customer_id
        - tenant_id
        - sessions
      type: object
    CustomerSessionListEntry:
      additionalProperties: false
      description: |-
        One row of `GET /v1/admin/sessions`. Returns metadata only — never
        the session token, the SHA-256 digest, or any field that would let
        a reader re-use the session.
      properties:
        actor_type:
          description: |-
            `human`, `workload`, or `api-key`. Matches the underlying actor
            that minted the session.
          example: api-key
          type: string
        created_at:
          description: RFC 3339 timestamp when the session was created.
          example: '2026-05-25T17:30:00Z'
          type: string
        expires_at:
          description: RFC 3339 timestamp when the session expires.
          example: '2026-05-25T17:45:00Z'
          type: string
        id:
          description: Stable UUID for the session.
          format: uuid
          type: string
        last_used_at:
          description: Last successful use timestamp, if observed.
          example: '2026-05-25T17:42:00Z'
          type:
            - string
            - 'null'
        scopes:
          description: Scopes granted to the session.
          example:
            - compute:read
            - compute:write
          items:
            type: string
          type: array
        status:
          description: >-
            Session lifecycle state. Active sessions can authenticate compute
            calls.
          example: active
          type: string
        token_fingerprint:
          description: |-
            `sha256:` prefix + the first 16 hex digits of the token digest.
            Safe for display; not a credential.
          example: sha256:0123456789abcdef
          type: string
      required:
        - id
        - actor_type
        - token_fingerprint
        - scopes
        - status
        - created_at
        - expires_at
      type: object
  securitySchemes:
    api_key_bearer:
      bearerFormat: mthr_live_*
      description: Bearer scheme name used by typed customer admin operations.
      scheme: bearer
      type: http

````