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

# Get session timeline

> Retrieve the full AI-generated timeline of what happened in a session, broken down by page with detailed activity summaries, behavior tags, and loading issue analysis.



## OpenAPI

````yaml GET /api/v1/sessions/{sessionId}/timeline
openapi: 3.0.3
info:
  title: Decipher API
  version: 1.0.0
  description: >-
    API for retrieving test run data from Decipher. Use your API key to
    authenticate requests.
servers:
  - url: https://api.getdecipher.com
    description: Production
security: []
paths:
  /api/v1/sessions/{sessionId}/timeline:
    get:
      summary: Get session timeline
      description: >-
        Retrieve the full AI-generated timeline of what happened in a session,
        broken down by page with detailed activity summaries, behavior tags, and
        loading issue analysis.
      parameters:
        - schema:
            type: string
            format: uuid
            description: The UUID of the session
            example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
          required: true
          description: The UUID of the session
          name: sessionId
          in: path
      responses:
        '200':
          description: Session timeline
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionTimelineResponse'
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Session or timeline not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
components:
  schemas:
    SessionTimelineResponse:
      type: object
      properties:
        object:
          type: string
          enum:
            - sessionTimeline
        sessionId:
          type: string
          format: uuid
        overview:
          type: string
          nullable: true
        tags:
          type: array
          items:
            $ref: '#/components/schemas/TimelineTag'
        pages:
          type: array
          items:
            $ref: '#/components/schemas/TimelinePage'
        loadingIssues:
          type: array
          items:
            $ref: '#/components/schemas/TimelineLoadingIssue'
      required:
        - object
        - sessionId
        - overview
        - tags
        - pages
        - loadingIssues
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - authentication_error
                - authorization_error
                - not_found_error
                - validation_error
                - rate_limit_error
                - api_error
            code:
              type: string
            message:
              type: string
            field:
              type: string
          required:
            - type
            - code
            - message
      required:
        - error
    TimelineTag:
      type: object
      properties:
        tag:
          type: string
        reasoning:
          type: string
      required:
        - tag
        - reasoning
    TimelinePage:
      type: object
      properties:
        page:
          type: string
        startTime:
          type: number
        endTime:
          type: number
        clickCount:
          type: number
        featuresUsed:
          type: array
          items:
            type: string
        activities:
          type: array
          items:
            $ref: '#/components/schemas/TimelineActivity'
      required:
        - page
        - startTime
        - endTime
        - clickCount
        - featuresUsed
        - activities
    TimelineLoadingIssue:
      type: object
      properties:
        description:
          type: string
        longDescription:
          type: string
        durationInSeconds:
          type: number
        timestamp:
          type: number
      required:
        - description
        - longDescription
        - durationInSeconds
        - timestamp
    TimelineActivity:
      type: object
      properties:
        startTime:
          type: string
        endTime:
          type: string
        summary:
          type: string
        userAction:
          type: string
          nullable: true
        userBehavior:
          type: string
          nullable: true
      required:
        - startTime
        - endTime
        - summary
        - userAction
        - userBehavior
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Use your Decipher API key as the bearer token.

````