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

# Load shared history

> Loads a shared history snapshot into a target session.

<Note>
  Shared history snapshots expire after 20 days.
</Note>


## OpenAPI

````yaml api-reference/openapi-latest.json GET /api/v1/shares/{conversation_history_id}/sessions/{session_id}
openapi: 3.1.0
info:
  title: Webless API
  description: >-
    Reference for the latest Webless API surface. New integrations should use
    the /api/v1 endpoints.
  version: v1
servers:
  - url: https://api.webless.ai
    description: Production Search API
security: []
paths:
  /api/v1/shares/{conversation_history_id}/sessions/{session_id}:
    get:
      tags:
        - Session API
      summary: Load shared history
      description: Loads a shared history snapshot into a target session.
      operationId: loadSharedHistoryV1
      parameters:
        - name: conversation_history_id
          in: path
          required: true
          schema:
            type: string
          description: The shared conversation history ID.
        - name: session_id
          in: path
          required: true
          schema:
            type: string
          description: The session ID that should receive the shared history.
      responses:
        '200':
          description: Shared history loaded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadSharedHistoryResponse'
        '404':
          description: Shared conversation not found or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    LoadSharedHistoryResponse:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
        session_id:
          type: string
        template_id:
          type: string
          enum:
            - mr
            - sr
    ErrorResponse:
      type: object
      properties:
        detail:
          oneOf:
            - type: string
            - type: array
              items: {}
        error:
          type: string

````